Hi guys (and girls ;)) This afternoon I tried to write code that calls ShapeDrawable::setColor() twice in a row (the actual way things are written is that I have a default color for my ShapeDrawable that I overwrite if a test is true, hence the 2 calls in a row).
These 2 calls in a row make my rendering loop become suddenly much longer. This only happens when the argument in the 2 calls are different (if the argument is the same the rendering speed keeps being fast). Anyone has an idea of what is going on? I tried to have a look on the forum, googling or reading the doco but could not find anything obvious... Thank you! Cheers, Antoine ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35411#35411 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

