Mar 06, it's starting to work .. almost back

(L) [2006/03/06] [ector] [Mar 06, it's starting to work .. almost] Wayback!

It's the KD-bunny!


[IMG #1 ]


Started this thing a couple of days ago, things are finally kind of starting to work...


KDtree is still a 0.5-split, not adaptive at all so yes it sucks.


What I can't figure out is why I've got all these triangle shaped holes in the mesh, if I just brute force raytrace it it's solid. I guess something is wrong with either traversal or kd-tree construction....


Also, from some angles I'm getting totally weird bendy behaviour in the KD-vision. Haven't figured that one out yet...
[IMG #1]:Not scraped: https://web.archive.org/web/20061004013356im_/http://www.dtek.chalmers.se/~tronic/ray/kdbunny.png
(L) [2006/03/06] [ector] [Mar 06, it's starting to work .. almost] Wayback!

Haha, found the bug, a problem with the box-tri intersector of course...


[IMG #1 ]


Oh, and hi everyone [SMILEY Smile] Found this forum through Devmaster. Easily the most interesting such special-purpose forum I've seen... tbp, phantom, you're doing very cool stuff.
[IMG #1]:Not scraped: https://web.archive.org/web/20061004013356im_/http://www.dtek.chalmers.se/~tronic/ray/kdbunny2.png
(L) [2006/03/06] [tbp] [Mar 06, it's starting to work .. almost] Wayback!

Welcome ector, and gratz for those early renders.
(L) [2006/03/06] [Phantom] [Mar 06, it's starting to work .. almost] Wayback!

Are you already using packet tracing, or is that a very low poly bun?
_________________
--------------------------------------------------------------

Whatever
(L) [2006/03/06] [ector] [Mar 06, it's starting to work .. almost] Wayback!

It's a 1000 poly bunny, although I only lose 1FPS going to a 10000 poly one...


Running on a Pentium-M 1.6Ghz laptop.


Compiled with VS2005, all optimizations on, codegen set to SSE2. No packet tracing, just regular C++. And a really crappy KD-tree compiler [SMILEY Smile]
(L) [2006/03/06] [ector] [Mar 06, it's starting to work .. almost] Wayback!

Dunno if anyone cares, but here's the 16000 poly version... speed is okay I guess for such a crappy kd-tree.


EDIT: actually I later found another KD-construction bug, fixing that bumped the framerate to 4 fps!


[IMG #1 ]
[IMG #1]:Not scraped: https://web.archive.org/web/20061004013356im_/http://www.dtek.chalmers.se/~tronic/ray/rabbitinthematrix.png

back