Hi, First of all, english is not my mother tongue, so excuse my faults.
I developped an icon with osg, which is an image, facing the camera whatever is placed the camera and has the same size on the screen whatever is the distance from the camera. The problem is that the icon is sometimes blinking when I change the distance of the camera from the icon. The icon is a MatrixTransform containing a geode which is a Billboard. The billboard contains a quad which is textured with the image I want to display. The billboard make the image always facing the screen. The matrixTransform has a method accept(osg::NodeVisitor& nv) which change the size of the billboard by changing the bounds of the quad when the distance of the camera comparing to the icon change. I think the problem is that I change the bounds of the quad at the same time the viewer read these bounds. I would like to lock the access to these bounds while I'm changing them but I don't know how to do that. Thank you for your answers. If you need more informations, or a part of the code, I would be glad to tell you. Cheers, Adrien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15084#15084 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

