Your right it does not scale the normals. So the normal are no longer correct for the model once you scale it
See http://www.vis-sim.com/osg/osg_faq_1.htm#f19 ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com www.gordontomlinson.com www.PhotographyByGordon.com ____________________________________________________________________________ __ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of amit ben-david Sent: Friday, January 01, 2010 12:13 PM To: [email protected] Subject: [osg-users] PositionAndAttitudeTrabsform Hi, beginner question : i just used the PositionAndAttitudeTransform with setScale(0.1, 0.1, 0.1) to scale down an object in my scene graph. the object indeed scaled down but the light behaviour changed totaly from blue to white, like in specular highlights. for a different object it just colored everything differently. to my understanding scaling an object should not change normals or colors, and therefore the coloring should stay the same and not change that drastically. what am i missing ? Thank you! Cheers, amit ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22021#22021 _______________________________________________ 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

