Hello jp
it works fine! Thank you. But when I load a osg-file, I don't have this
problem. What is the reason?
Cheers
Martin
Am 08.03.2010 09:23, schrieb J.P. Delport:
Hi,
your normals are being scaled with the geom. You can put something in
the stateset to rescale normals. I think, but check it up,
GL_NORMALISE will do, but you can also use GL_RESCALE_NORMALS if you
are using same scaling for all axes.
If you can't find osg code for this, ping the list again.
jp
Martin Großer wrote:
Hello,
when I load a STL-file and I scale this geometry up, it is black and
when I scale down it is white. It seems that is a problem with the
lighting.
Any ideas, what is my mistake?
Cheers
Martin
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org