[osg-users] Searcing for raytracer implementation based on OSG

Ulrich Hertlein u.hertlein at sandbox.de
Tue Oct 9 16:46:47 PDT 2007


Hi Adrian,

Quoting Adrian Egli <3dhelp at gmail.com>:
> i am working on a KD-Tree based line intersection test. First result are
> quite better, event for the cow object with 5804 and passed 1000.0 lines
> trought the object with 2 real intersection we have just to check against 33
> triangles instead of all (5804).
>...
> TrianglesChecks=5804
> Total Bench Time: 0.209096s
>...
> TrianglesChecks=33
> Total Bench Time: 0.0879453s

Interesting stuff. I assume you're doing some initial pass to build the kd-tree?
If so, how long does that take and is the setup time included in the total time?

Thanks,
/ulrich



More information about the osg-users mailing list