[osg-users] obj normals
Vincent Bourdier
vincent.bourdier at gmail.com
Fri Mar 7 01:22:02 PST 2008
Hi ,
I don't know if an easy way exist, but you can get your normalArray and
"correct" it... but you have to know exactly the vertices number to get
normal and invert it...
Vincent.
2008/3/7, lorenzo bronzin <lorenzo.bronzin at vi-grade.com>:
>
> hi robert,
>
>
> loading a wavefront .obj file is there a way to make the plugin
> consider the normals to be all on the same side/direction/orientation?
> As far as I understand they are built considering the order the vertexes
> define
> a face, so if two adiacent faces are described with clockwise vertexes
> and counterclockwise
> vertexs, they'll have opposite normals, and so different shading.
> Or is there a way to make(as in blender) the object double-sided?
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080307/c4ea6135/attachment.htm
More information about the osg-users
mailing list