Hi all, I'm trying to create a simple, planar figure, covered by two rectangular textures, one on each face. For now I couldn't find a better way than creating two geometries very close to each other and fill each one with a different texture.
It looks fine while the geometry doesn't change too much, but if I displace the vertices the two geometries start to overlap which result in an ugly mix of the two textures. And I can't do anything about it because of the complex deformation of my object... So I had this idea : is there a way to display different textures on each side of a single geometry? With osg::Geometry::setTexCoordArray maybe?? If not, I could get by with the normals of my geometries... Is there a way to get the normals of a vertex array, as vectors? An if not, how to achieve this simple effect, of a two-sided geometry with different images on each side?... :? Thank you! Cheers, Ku ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30428#30428 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

