In order to get correct shading results, you have to create correct normals.
There is also a smoothing visitor which you could try:
osgUtil::SmoothingVisitor sm;
model->accept(sm);
cheers
Sebastian
Hi,
you are right. In the code it is set to flat but I have also tried to set to
SMOOTH but I never see difference between results. With the smooth setting I
still see the face edges
...
Thank you!
Cheers,
Geoffroy
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50858#50858
_______________________________________________
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