JPCSP render the object as 'one sided' while real PSP probably render is as two-sided mesh, so you get missing body parts & lighting problems. Is there any way to support a two sided material applied to a geometry ?
Note :
By default, two-sided lighting is disabled, and OpenGL uses front material parameters to light all primitives. Therefore, using a face value of GL_FRONT affects parameters for all primitives.
When two-sided lighting is enabled (GL_LIGHT_MODEL_TWO_SIDE), OpenGL uses front material parameters to light front faces and back material parameters to light back faces. Applications typically specify GL_FRONT_AND_BACK for face (unless using two-sided lighting).
OpenGL also reverses normals for back-facing primitives before calculating lighting values. Though uncommon, two-sided lighting is useful in some rendering situations. (source : http://flylib.com/books/en/2.789.1.43/1/ )
Note :
By default, two-sided lighting is disabled, and OpenGL uses front material parameters to light all primitives. Therefore, using a face value of GL_FRONT affects parameters for all primitives.
When two-sided lighting is enabled (GL_LIGHT_MODEL_TWO_SIDE), OpenGL uses front material parameters to light front faces and back material parameters to light back faces. Applications typically specify GL_FRONT_AND_BACK for face (unless using two-sided lighting).
OpenGL also reverses normals for back-facing primitives before calculating lighting values. Though uncommon, two-sided lighting is useful in some rendering situations. (source : http://flylib.com/books/en/2.789.1.43/1/ )
βIn the end.. What I've done! Best of the best vengeance is bettering myself. So I'm breaking my limits! This is it...β β Claudius Zephyros
_________________________________________________
_________________________________________________