Hello Frank,

Frank Güttler wrote:
I would like to wrap textures on a simple Box, attached to a ShapeDrawable.

Adjusting the appropriate StateSet doesn't seem to function. Is there any trick?

No, there's no special trick. Texture coordinates are generated automatically so all you have to do it provide a texture in the StateSet.

What results are you getting?
Did you check 'osgshapes.cpp'? It shows a textured Box.

Cheers,
/Ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to