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.

-Mike

On Mon, 2010-03-29 at 04:20 +0000, John Galt wrote:
> Hi,
> 
> I have loaded cow.osg into my scene graph as a Node. Say cowNode.
> 
> I want to scale it up and down in 3D. How do I go about if I want to scale it 
> down by different ratios along different axis?
> 
> Thank you!
> 
> Cheers,
> John
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=26238#26238
> 
> 
> 
> 
> 
> _______________________________________________
> 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