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

Adrian Egli 3dhelp at gmail.com
Wed Oct 10 00:19:25 PDT 2007


KD-Tree...[5804:1000]
KD-Tree Build Time      =       0.0550397s
Intersection Time       =       0.0336411s                  <- KD Tree
Triangles Checks        =       33
Intersection Time <osg> =       0.331938s               <- OSG intersection
visitor
Total Bench Time: 0.423215s



2007/10/10, Ulrich Hertlein <u.hertlein at sandbox.de>:
>
> 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
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071010/d254997a/attachment-0003.htm>


More information about the osg-users mailing list