[osg-users] osgUtil::IntersectionVisitor slow with huge geometry

Gianni Ambrosio g.ambrosio+osg at gmail.com
Tue Jul 18 06:58:54 PDT 2017


Thanks Jordi for the fast reply.
I will try with Kdtrees. In fact USE_FLOAT_CALCULATIONS does not help much.

I have one more issue.
As you can see in my previously attached example, after mouse picking, I basically set:

geometry->dirtyDisplayList();
geometry->getColorArray()->dirty();

Those methods are pretty fast but in fact I have a delay of about one second on my PC (some seconds on other PCs) before seeing the picked triangle with a different color. Is there an obvious reason for that delay?


Regards,
Gianni

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







More information about the osg-users mailing list