[osg-users] Lighting problem in obj and 3ds format
Hi, I have a few models made in 3D Studio and when I try to display someone in osgviewer or in my own application based on OSG library I get incorrect result. The lighting on surface has only two state - full enlightened or benighted. I get the same result with model exported as obj format. Is there any problem with normals,etc.? Can you test one of my model? You can download it from http://decibel.fi.muni.cz/~flasar/zidle.zip . Thank you for your help, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Lighting problem in obj and 3ds format
Hi Jan, Quoting Jan Flasar [EMAIL PROTECTED]: application based on OSG library I get incorrect result. The lighting on surface has only two state - full enlightened or benighted. I get the same result with model exported as obj format. Is there any problem with normals,etc.? As far as I can tell the normals aren't normalized properly (length != 1). But apart from that there are some bugs/omissions in the obj loader. I'm submitting fixes to Robert. Cheers, /ulrich ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org