[osg-users] Lighting problem in obj and 3ds format

Ulrich Hertlein u.hertlein at sandbox.de
Thu Oct 11 19:43:44 PDT 2007


Hi Jan,

Quoting Jan Flasar <flasar at fi.muni.cz>:
> 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



More information about the osg-users mailing list