H Tolga,

On 8 October 2012 08:09, Tolga Yilmaz <[email protected]> wrote:
> is there any example that compares ray tracing performance in ms between 
> kdtree and normal implementation with osg? i remember some time i found such 
> an example and modified it, but couldnt find that code now.

There isn't any example that address this right now.  You could
modified the osginterstion example to add a command line option for
enabling the build of kdtree's and then use it as a benchmarking tool.

When developing the KdTree support I did plenty of benchmarking but I
never truned these tests into a OSG example and don't have the code
anymore unfortunately - I do lots of prototype/testing so don't tend
to keep all the tests around.   From my experience KdTree's help most
when the scene graph is composed of large osg::Geometry meshes - here
it can be 10 to 1000's of times faster, if the scene graph is already
very fine grained with many small osg::Geometry meshes then the
difference is much smaller.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to