Hi,
carnibirdy wrote: > > For now, I'm still blocked with OSG. > I want to map the same texture to the 6 faces of a cube. > > I made a Geometry called "cube" and 6 DrawElementsUInt called "face1/2/.../6". > > I don't know how to setTexCoords to each QUADS. > I thought about making 6 Geometry so I can use a same vertice several times > but I can't find any method able to link them into a cube as a single > geometry. > > Is there any other solution? > Look at this: http://faculty.nps.edu/jasullivan/osgtutorials/ carnibirdy wrote: > > Maybe I can do it with shaders but with so few experience I can't see the > possibilities they bring. > It depends on what you want to do. It seems to me you don't want to do it this way. Cheers, Max ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15893#15893 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org