Hi Aitor,
I'm also having some strange problems with the light or something like
that because I only see the textures from the back of the human figure.
If I see the figure from the front everything is black... It's strange
because when I had only a single geometry everything was ok and I have
not set anything about lights after that... Maybe it could be a problem
with the normals but if I remove the normal array from the geometries
the problem is still there. Do you know what could be happenning?
Did you copy the other arrays from the original Geometry object to the
new one(s)? The normal array and color arrays need to be copied, and
normalBinding and colorBinding need to be set to BIND_PER_VERTEX.
Actually, I think just cloning the original Geometry object, removing
any PrimitiveSets it had, and then adding new ones would work best,
least chance to make a mistake copying things yourself.
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org