Hi Rusty,

On 24/12/08 5:38 AM, Ryan Morris wrote:
I understand what you are saying about mapping to each vertex but I'm
unclear how you get the vertex arrays from a node (not a geod etc).

Only Drawables have vertices/normals/texcoords so you have to walk you way down the hierarchy from Node to Geode to Drawable.

And sadly it doesn't appear to me that TexGen has the ability to
"stretch" the image. Thanks again!

TexGen may not have it (not sure, it should be possible) but TexMat definitively has it, by using a scaling matrix. That should even work with modelled texcoords.

Merry Christmas everyone.
Cheers,
/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to