Hi,

Thanks for your answers. I've done some further tests on my 3D scene. So the 
Line intersections takes about 20ms in a 460k triangles scene for me. I tried 
to enable Kdtree. I just put :


Code:

osgDB::Registry::instance()->setBuildKdTreesHint(osgDB::ReaderWriter::Options::BUILD_KDTREES);



And Magic! It now takes about 0.8 to 1 ms. Definitly what I want for a real 
time app :D

Thank you!

Cheers,
Romain Charbit

------------------------
Romain Charbit

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11580#11580





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

Reply via email to