[osg-users] ViewerBase::frame() method slow after changing the color of a geometry

Gianni Ambrosio g.ambrosio+osg at gmail.com
Fri Jul 21 03:32:39 PDT 2017


Thanks Lionel and Robert for the quick reply.

I tried what Lionel suggested but in fact the geometry generation is much more slow now.
Anyway, since I suspected that "dirtyDisplayList()" is the cause of the delay, I tried to remove that line but without it I cannot see the new color.
Now, is "dirtyDisplayList()" really required for what I need or is there a different call should I use just to see the triangle with the updated color?

Thanks,
Gianni

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







More information about the osg-users mailing list