Jonathan Richard schrieb:
I Stephan, is it other call to do between the calling of
drawable->dirtyDisplayList() and the calling of the sceneView->Draw()?
I tried it and it is still not working. The color are not updated. I
tried drawable->setSupportsDisplayList(false) too and I have the same
result. Thank you for your help.
My update color function is called between the cull and the draw call.
You should call the color-function before cull and draw. Some general
tips: try increasing the loglevel of your app (setNotifyLevel), and/or
try to save your scene as .osg and inspect the output, if your new
colors are written out, or, even better, show us some more code.
I do change color of my geometries all the time and had no problems.
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/