Hi Mike,
position-setScale(osg::Vec3(0.01,0.01,0.01));
When you use scale in a Transform, the geometry's normals also get
scaled. The normals are used to compute lighting, so it's normal
(geez, bad pun) that lighting is wrong.
You just need to tell OpenGL to rescale normals:
Thank you!
it works!!
Cheers,
Mike
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19414#19414
___
osg-users mailing list
osg-users@lists.openscenegraph.org
now a screenshot
AdapterWidget for QT
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19419#19419
attachment: nice.jpg___
osg-users mailing list
osg-users@lists.openscenegraph.org
3 matches
Mail list logo