Login  Register

Re: Lighting on .OBJ Model after import

Posted by Demoscene Passivist on Apr 13, 2011; 2:49pm
URL: https://forum.jogamp.org/Lighting-on-OBJ-Model-after-import-tp2816340p2816389.html

Sounds like u have forgotten to export/import normals and/or texture coordinates for ur model. Glut generates those for u automatically.

U have to explicitly export normals/texture coordinates when u export from e.g. blender. If the problem lies in ur loader u may have a look at my implementation here: WavefrontObjectLoader_DisplayList.java