[Plib-devel] specular exponent in 3ds files
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-02-02 18:44:39
|
Hi, Wings3d, an excellent 3d modeling application, can export to 3ds. If I read the 3ds file into plib, specular lighting is horrible. This is caused by the fact that GL_SPECULAR is set to 1,1,1,1 whereas GL_SHININESS is the OpenGL default 0.0 This gives ugly results. I think that the wings3d exporter is at fault here, by specifying the specular colour, but NOT the specular exponent. Plib's 3ds loader does not seem to encounter shininess data in the file. Should this be handled in some smart way by plib, or would you think this is strictly a wings3d issue? For what it's worth: SGI's OpenGL|Performer renders 0.0 exponents for 1,1,1,1 specular without artefacts by presumably disabling specular light for 0.0 exponents. Bram |