[osg-users] readNodeFile model not visible through a semi-transparent box

2009-07-11 Thread Gotthard, Petr
Hello, I have troubles visualizing a 3D model (e.g. an aircraft) loaded using the readNodeFile() function when this model is inside a semi-transparent box. I create the semi-transparent box, set alpha value and enable blending by state-->setMode(GL_BLEND, osg::StateAttribute::ON); state--

[osg-users] How to fix normals of Text3D?

2008-08-23 Thread Gotthard, Petr
Hello, the osgtext3D example (OpenSceneGraph 2.6.0) seems to have the normals of the side-surface pointing in the same direction as the front-surface normals. The side-surface does not get shaded correctly and has the same color as the front-surface of the 3D text. Is there a way how to fix the n