Hi Alexey, Loaded models are perfectly valid, and most users are okay with per-vertex normals. However, you seem to need a different representation. I don't have code to share witch would generate per-face normals, but this is quite straightforward. Look at the Newell method to generate normals. Or look at osgModeling, but I think it's a per-vertex basis too (however you can choose between different algorithms if I remember well).
Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ----- "Alexey Chernov" <4er...@gmail.com> a écrit : > Thank you, Sukender, > > But can you suggest to some universal way to get valid model from 3DS > in OSG? For example, is it possible to calculate normals in PER FACE > mode. What's the common way to workaround problems with 3DS-imported > models in OSG? > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=41236#41236 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org