Hi Ku, well, you will only see one side of the face at a time - front or back. So to not go very complex, you can add cull callback where based on the face normal you change the texture and the uvs. I think this can work
-Nick On Mon, Aug 2, 2010 at 1:18 PM, Ku Krapox <[email protected]> wrote: > Hi Nick, > > If you mean using osg::Geometry::setTexCoordArray, that's what I was doing > until now, but I can't anymore since I want to put 2 textures on a single > Geometry AND show different parts of them... > > But if this is not possible without modifying the geometry, I could get by > with a simple method to put half of an image into a texture, which I'd > display completely. This seemed easier to me, but I don't know if it is > doable and how to do it? > > Thanks for any advice! > > Cheers, > Ku > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=30472#30472 > > > > > > _______________________________________________ > 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

