<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9029478393701083123</id><updated>2012-02-16T13:08:21.472-05:00</updated><category term='project update ply revise alpha'/><category term='blog launch'/><category term='scooters vacation fall excited texture pass GPU ray intersection'/><category term='merge PLY initiated'/><category term='kay kajiya bvh bunny excited'/><category term='bunny bounding box normals fix problem luebke'/><category term='movie ply bvh traversal update'/><category term='project abstract'/><title type='text'>BVH Assisted Ray Tracing</title><subtitle type='html'>Project progress blog for CIS665 GPU Programming and Architecture final project.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-3047019753303435693</id><published>2008-05-20T20:14:00.002-04:00</published><updated>2008-05-20T20:38:10.875-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movie ply bvh traversal update'/><title type='text'>BVHallelujah</title><content type='html'>&lt;p align="center"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-43fd8d671e1794" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v2.nonxt2.googlevideo.com/videoplayback?id%3D0043fd8d671e1794%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331666433%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D1607E6DAA35169FBDB5870EDBB9152AB542C2AC9.6310870866207F8954A88120922DAE2099D8FC3A%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D43fd8d671e1794%26offsetms%3D5000%26itag%3Dw160%26sigh%3DCvaAgwA81_DbRsBO5p8VLmol4C4&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v2.nonxt2.googlevideo.com/videoplayback?id%3D0043fd8d671e1794%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331666433%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D1607E6DAA35169FBDB5870EDBB9152AB542C2AC9.6310870866207F8954A88120922DAE2099D8FC3A%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D43fd8d671e1794%26offsetms%3D5000%26itag%3Dw160%26sigh%3DCvaAgwA81_DbRsBO5p8VLmol4C4&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;/p&gt;&lt;br /&gt;In the previous episode, our BVH traversal still had some issues in which much of the culling was not taking place.  This made the traversal very inefficient and resulted in pretty, but slow bunnies.  In fact, the high resolution bunny we had would not even load because the computer ran out of steam.  After some further work, we were able to fix those issues which turned out to be some stupid logic errors.  We are now able to run our high resolution bunny faster than the low resolution bunny ran before (~4 fps).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-3047019753303435693?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=43fd8d671e1794&amp;type=video%2Fmp4' length='0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3047019753303435693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3047019753303435693'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/bvhallelujah.html' title='BVHallelujah'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-5996051360012496081</id><published>2008-05-08T22:42:00.002-04:00</published><updated>2008-12-09T12:34:22.506-05:00</updated><title type='text'>The Bunny Is In The House</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_9WAfaftI_FE/SCPFJRWks2I/AAAAAAAAACY/DNKfwawvzt8/s1600-h/happyraytracedbunny2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5198215157983261538" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 284px; CURSOR: hand; HEIGHT: 292px; TEXT-ALIGN: center" height="256" alt="" src="http://3.bp.blogspot.com/_9WAfaftI_FE/SCPFJRWks2I/AAAAAAAAACY/DNKfwawvzt8/s320/happyraytracedbunny2.JPG" width="254" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_9WAfaftI_FE/SCO7UBWks1I/AAAAAAAAACQ/syF4FIbuhWk/s1600-h/happyraytracedbunny1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5198204347550577490" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 294px; CURSOR: hand; HEIGHT: 302px; TEXT-ALIGN: center" height="244" alt="" src="http://2.bp.blogspot.com/_9WAfaftI_FE/SCO7UBWks1I/AAAAAAAAACQ/syF4FIbuhWk/s320/happyraytracedbunny1.JPG" width="197" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;We finally have a ray traced bunny!!!!  The red bunny rendered above contains ~16000 polygons and was ray traced in 0.04 seconds.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-5996051360012496081?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/5996051360012496081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=5996051360012496081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/5996051360012496081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/5996051360012496081'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/bunny-is-in-house.html' title='The Bunny Is In The House'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_9WAfaftI_FE/SCPFJRWks2I/AAAAAAAAACY/DNKfwawvzt8/s72-c/happyraytracedbunny2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-3279944904457797228</id><published>2008-05-05T01:14:00.003-04:00</published><updated>2008-05-08T22:48:28.724-04:00</updated><title type='text'>Profiles, wow</title><content type='html'>So we just found out about earlier today that we've wasted countless hours dancing around the most inane cg errors all because we were using a very outdated profile (working from the homework 1 code on my laptop). The profile we were using didn't support while or for loops, min/max calls, or even tex2d!!! The only way we finally found out this was the problem was when Gary walked by and we complained to him that we spent most of our time debugging cg line by line with out a complier due to an "cg compile error" crash at runtime.&lt;br /&gt;&lt;br /&gt;He told us about the "cgc" command line debugger and now we're finally able to fly through cg code like we should have been doing weeks ago. Now we're working with fp40 and things are going well.  Stocked up on Red Bull and candy from WaWa =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-3279944904457797228?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/3279944904457797228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=3279944904457797228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3279944904457797228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3279944904457797228'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/profiles-wow.html' title='Profiles, wow'/><author><name>DuMaiKe</name><uri>http://www.blogger.com/profile/06210307270805450383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://2.bp.blogspot.com/_ed8E2ik2cqw/Sw_-ZJLAcpI/AAAAAAAAAB4/evhsFsZaWr0/S220/horde_white.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-2068983976971912865</id><published>2008-05-02T23:50:00.002-04:00</published><updated>2008-05-02T23:53:39.283-04:00</updated><title type='text'>More cg problems</title><content type='html'>We're still hammering out little cg errors. It's really frustrating to have the concepts for BVH trees and raytracing so solidly planned out, and get continually bogged down by cg compile errors. We're regretting our decisions to implement in cg now. CUDA definitely would have been easier to work with. Unfortunetly we wanted maximum portablity and to be able to follow the paper as best as possible. It doesn't seem worth it anymore. =(&lt;br /&gt;&lt;br /&gt;At the moment all our textures seem to be passing okay. There seem to be some problem with simple cg calls our main kernel is making to other cg helper kernels. Specifically our Intersection test. There doesn't seem to be any good reason why it shouldn't work. We'll keep debugging it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-2068983976971912865?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/2068983976971912865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=2068983976971912865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2068983976971912865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2068983976971912865'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/more-cg-problems.html' title='More cg problems'/><author><name>DuMaiKe</name><uri>http://www.blogger.com/profile/06210307270805450383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://2.bp.blogspot.com/_ed8E2ik2cqw/Sw_-ZJLAcpI/AAAAAAAAAB4/evhsFsZaWr0/S220/horde_white.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-8346376772139745550</id><published>2008-04-28T20:31:00.000-04:00</published><updated>2008-05-02T23:46:00.345-04:00</updated><title type='text'>Stuck on some CG stuff</title><content type='html'>So we've put the CPU side of this project to rest. We've tested our BVH tree to death CPU side, but things aren't synching up on the cg side. We struggled for a couple of days just getting our cg code to compile. Apparently there's a problem having cg that doesn't know the number of loop iteration in a while loop while compiling. Now that that's sorted out we are working on calculating the ray intersections on the GPU side.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-8346376772139745550?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/8346376772139745550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=8346376772139745550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/8346376772139745550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/8346376772139745550'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/stuck-on-some-cg-stuff.html' title='Stuck on some CG stuff'/><author><name>DuMaiKe</name><uri>http://www.blogger.com/profile/06210307270805450383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://2.bp.blogspot.com/_ed8E2ik2cqw/Sw_-ZJLAcpI/AAAAAAAAAB4/evhsFsZaWr0/S220/horde_white.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-2057957320932933562</id><published>2008-04-24T17:45:00.002-04:00</published><updated>2008-04-27T19:03:33.336-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scooters vacation fall excited texture pass GPU ray intersection'/><title type='text'>Journey to the GPU - Part I of 0</title><content type='html'>Having finished with most of the CPU aspect of the project, we started work on transfering the BVH and ray data to the GPU via textures.  We had to review the necessary steps to convert and pass the data as textures and ran into a few roadblocks in trying to do so.  Fortunately, we were able to figure most of the issues out.  Currently we believe we have correctly passed the data, but are not really sure how to effectively test it.  The next step we will then tackle will be formulating and coding the ray intersection test on the GPU based on the paper [1].  Hopefully this will go smoothly so we can move on to getting the results and outputting them to the screen asap.  We are still excited.&lt;br /&gt;&lt;br /&gt;[1] &lt;span style="font-family: Arial;"&gt;“A Comparison of Acceleration Structures for GPU Assisted Ray Tracing” by Niels Thrane and Lars Ole Simonsen.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-2057957320932933562?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2057957320932933562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2057957320932933562'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/journey-to-gpu-part-i-of-0.html' title='Journey to the GPU - Part I of 0'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-1949001392771253460</id><published>2008-04-22T21:26:00.000-04:00</published><updated>2008-12-09T12:34:22.868-05:00</updated><title type='text'>Bunnys of the world</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_ed8E2ik2cqw/SBvgywbYSrI/AAAAAAAAAAQ/dp0MTnFJ4Oc/s1600-h/Untitled2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5195993757699820210" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_ed8E2ik2cqw/SBvgywbYSrI/AAAAAAAAAAQ/dp0MTnFJ4Oc/s320/Untitled2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;We've trying to make sure the textures we are sending to the cg program are set up right. They include textures containing data for the bvh tree, the ray origins, the ray directions, and the best hits so far per ray. To test them we map them to bunnies before we send the textures. Some of them seem to work, some seem to pass okay but color the bunny wrong, and some crash program...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-1949001392771253460?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/1949001392771253460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=1949001392771253460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1949001392771253460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1949001392771253460'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/05/bunnys-of-world.html' title='Bunnys of the world'/><author><name>DuMaiKe</name><uri>http://www.blogger.com/profile/06210307270805450383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://2.bp.blogspot.com/_ed8E2ik2cqw/Sw_-ZJLAcpI/AAAAAAAAAB4/evhsFsZaWr0/S220/horde_white.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_ed8E2ik2cqw/SBvgywbYSrI/AAAAAAAAAAQ/dp0MTnFJ4Oc/s72-c/Untitled2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-7885594946069871285</id><published>2008-04-21T16:53:00.003-04:00</published><updated>2008-12-09T12:34:22.953-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kay kajiya bvh bunny excited'/><title type='text'></title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_9WAfaftI_FE/SAz-646zvnI/AAAAAAAAACI/3-xMzGnuaMw/s1600-h/bunnybbox2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5191804758116253298" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_9WAfaftI_FE/SAz-646zvnI/AAAAAAAAACI/3-xMzGnuaMw/s320/bunnybbox2.JPG" border="0" /&gt;&lt;/a&gt; We have fully completed the creation of the BVH tree using the top-down approach described in [Kay/Kajiya 1986].  The results look very convincing after testing with many simpler cases.  The above shows our Stanford bunny with correctly applied axis aligned bounding volumes.  We now will start the part of the project where we transfer the BVH tree via texture to the GPU.  We are excited.&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;[Kay/Kajiya 1986] Timothy L. Kay, James T. Kajiya: Ray Tracing Complex Scenes, ACM Computer Graphics, Volume 20, Issue 4, p. 269-278, 1986, ACM Press, New York, USA&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-7885594946069871285?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/7885594946069871285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/7885594946069871285'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/we-have-fully-completed-creation-of-bvh.html' title=''/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9WAfaftI_FE/SAz-646zvnI/AAAAAAAAACI/3-xMzGnuaMw/s72-c/bunnybbox2.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-1361598780424776639</id><published>2008-04-16T18:40:00.004-04:00</published><updated>2008-12-09T12:34:23.091-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bunny bounding box normals fix problem luebke'/><title type='text'>BVH Problems</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_9WAfaftI_FE/SAaCYIN3wlI/AAAAAAAAACA/7gHf32cSp8Y/s1600-h/bunnybbox.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5189978971625210450" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_9WAfaftI_FE/SAaCYIN3wlI/AAAAAAAAACA/7gHf32cSp8Y/s320/bunnybbox.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;We have finally fixed our problem with our normals. It turns out our PLY point indexing was incorrect, thereby causing our normals calculation to output faulty results. We laboriously traced our indices of our simple bunny in order to find the error.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;We conducted research on different implementations of BVH trees and have created a root bounding box that works. We are currently unsure as to which is the most effective way to perform the subdivision of geometry. We will therefore continue with our research on possible approaches. We will look into surface area heuristics as recommended by Mr. Luebke from NVidia.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-1361598780424776639?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1361598780424776639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1361598780424776639'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/bvh-problems.html' title='BVH Problems'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_9WAfaftI_FE/SAaCYIN3wlI/AAAAAAAAACA/7gHf32cSp8Y/s72-c/bunnybbox.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-6964891188953860027</id><published>2008-04-03T11:59:00.002-04:00</published><updated>2008-04-03T12:03:44.133-04:00</updated><title type='text'>PLY Loaders specifics</title><content type='html'>The PLY loader we wrote currently only reads in files in ascii format. There are tools out there to convert the binary PLY files into ascii ones, but they're the type of tools that are ill-documented and consist of a lot of source files you have to put together yourself, so integrating those is a back-burner step.&lt;br /&gt;The stanford bunny comes in ascii PLY at varying degrees of fidelity, so he's our current test object.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-6964891188953860027?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bvhraytracing.blogspot.com/feeds/6964891188953860027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9029478393701083123&amp;postID=6964891188953860027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/6964891188953860027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/6964891188953860027'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/ply-loaders-specifics.html' title='PLY Loaders specifics'/><author><name>DuMaiKe</name><uri>http://www.blogger.com/profile/06210307270805450383</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://2.bp.blogspot.com/_ed8E2ik2cqw/Sw_-ZJLAcpI/AAAAAAAAAB4/evhsFsZaWr0/S220/horde_white.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-4665695192593949524</id><published>2008-04-02T22:05:00.002-04:00</published><updated>2008-04-02T22:08:33.726-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='merge PLY initiated'/><title type='text'>Debug Applet Initiated</title><content type='html'>We have been able to merge the PLY loader with the OpenGL output window.  Currently the shaders are simply spitting out the input data, but at least we are getting objects rendered.  Our next step will be to finalize the ray tracing algorithm and apply to the debug app.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-4665695192593949524?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/4665695192593949524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/4665695192593949524'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/debug-applet-initiated.html' title='Debug Applet Initiated'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-3688410555287431111</id><published>2008-04-01T19:11:00.005-04:00</published><updated>2008-04-01T19:20:00.074-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project update ply revise alpha'/><title type='text'>Project Update</title><content type='html'>&lt;a href="http://imgs.xkcd.com/comics/matrix_transform.png"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://imgs.xkcd.com/comics/matrix_transform.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;We are currently making progress towards our alpha build of the project. We have thoroughly researched the background information involved in creation of the ray tracer and the bvh trees. The PLY loader is fully implemented, although the further details of its implementation will be revealed later. The OpenGL debug window has also been completed more or less. We will meet in the near future to combine the two modules. We will also revise our schedule based on advice provided to us by a previous student who worked on a similar project.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-3688410555287431111?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3688410555287431111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/3688410555287431111'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/04/project-update.html' title='Project Update'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-4685065967362369889</id><published>2008-03-20T00:48:00.000-04:00</published><updated>2008-12-09T12:34:23.282-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='project abstract'/><title type='text'>Project Abstract</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_9WAfaftI_FE/R-HuA6x6d9I/AAAAAAAAAB0/SrZGzycowl4/s1600-h/untitled.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_9WAfaftI_FE/R-HuA6x6d9I/AAAAAAAAAB0/SrZGzycowl4/s320/untitled.bmp" alt="" id="BLOGGER_PHOTO_ID_5179682745998800850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="text-indent: 0.3in;"&gt;&lt;span style="font-family:Arial;"&gt;Ray tracing is the rendering technique of shooting multiple rays into a scene from the point of view of the camera. In a modest view port this involves hundreds of thousands of rays shooting and even reflecting off surfaces. Each ray then needs to be tested against every object (or object component) in the scene for an intersection to find the closest intersection to the ray.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-indent: 0.3in;"&gt;&lt;span style="font-family:Arial;"&gt;Our project suggests a speed up of this technique by shooting the rays in parallel, and instead of testing all the rays against each triangle in the scene; we propose that the geometry is ordered in a bounding volume hierarchy (BVH) as described in “A Comparison of Acceleration Structures for GPU Assisted Ray Tracing” by Niels Thrane and Lars Ole Simonsen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-indent: 0.3in;"&gt;&lt;span style="font-family:Arial;"&gt;The BVH will be composed of geometry enclosed in axis aligned bounding boxes (AABB) that will be constructed in a top down approach from the scene input. The BVH Tree will be represented as a texture, and each ray as well as the BVH Texture will be passed to the GPU for processing. The result will be the intersection for each ray, which will be processed by the main program and rendered in OpenGL to be a realistic scene.&lt;/span&gt;&lt;/p&gt;*Photo from "Ray Tracing on a Stream Processor" Purcell, T. Standford : 2004&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-4685065967362369889?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/4685065967362369889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/4685065967362369889'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/03/project-abstract.html' title='Project Abstract'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9WAfaftI_FE/R-HuA6x6d9I/AAAAAAAAAB0/SrZGzycowl4/s72-c/untitled.bmp' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-1446696785103006774</id><published>2008-03-20T00:28:00.000-04:00</published><updated>2008-03-20T00:33:29.350-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blog launch'/><title type='text'>Blog Launch</title><content type='html'>This is the blog for our CIS665 GPU Programming and Architecture final project.  The project consists of creating a GPU-based ray tracing application which incorporates a bounding volume hierarchy to further improve rendering efficiency.  In future posts, we will provide updates on our progress with the project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-1446696785103006774?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1446696785103006774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/1446696785103006774'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/03/blog-launch.html' title='Blog Launch'/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-9029478393701083123.post-2312141573355721816</id><published>2008-03-19T23:27:00.000-04:00</published><updated>2008-05-02T23:40:42.246-04:00</updated><title type='text'></title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9029478393701083123-2312141573355721816?l=bvhraytracing.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2312141573355721816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9029478393701083123/posts/default/2312141573355721816'/><link rel='alternate' type='text/html' href='http://bvhraytracing.blogspot.com/2008/03/sexy.html' title=''/><author><name>chenj7</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
