you can also use the pseudo loader .. try osgviewer
cow.osg.(0.5,0.5,0.5).scale

-Nick


On Mon, Mar 29, 2010 at 9:03 AM, Ulrich Hertlein <[email protected]>wrote:

> On 29/03/10 16:37 , Mike Wozniewski wrote:
> > Attach the cowNode under a transform node. eg, a
> > PositionAttitudeTransform. Say PATnode.
> >
> > Then, PATnode->setScale(osg::Vec3(x,y,z)) allows you to scale
> > independently for each axis.
>
> ... and make sure you set GL_RESCALE_NORMAL or GL_NORMALIZE in the active
> StateSet to
> normalise the normals.  (see include/osg/Transform)
>
> /ulrich
> _______________________________________________
> 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

Reply via email to