Hi Sahex, On 23 January 2013 11:04, Josep <[email protected]> wrote: > I have been loading models into OSG with readNodeFile and setting > “setDataVariance” to STATIC. > > I have never had a problem with this. However, there are a couple of 3ds > models, that look just fine in Max that are being “modified” by OSG. I > debugged my app and found that if I do not set “setDataVariance”, does models > look fine, just like in MAX. > > What could be happening here? > Is there something a could be doing after in the scene graph that could mess > some meshes if set to STATIC?
Sounds like the Optimizer is being used, and is modify the scene graph using the DataVariance as guidance as to what it can optimizer and has to leave alone. It could also be that there is threading issue but this would only happen if you were dynamically modifying the scene graph. What the specific isssue is in your case one can't say as there really is too few specific details about what you are doing. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

