Hello,

I have a 3ds model(http://195.14.170.84/test.zip) there
"culled" faces should be front side, not back.
( static void init(void)... glCullFace(GL_BACK); )

(Also I tested this model with 3d max.
  3D Max shows model fine )

player.c has code:
    if( mat->two_sided )
        glDisable(GL_CULL_FACE);
    else
        glEnable(GL_CULL_FACE);

I think that after glEnable(GL_CULL_FACE)
should be defined "culling" face side.

I was trying to eliminate this problem, but I had failed..

Changing glCullFace(GL_BACK) to the glCullFace(GL_FRONT)
http://195.14.170.84/test.zip model looks ok, but other models not.

Also I noticed that changing face points direction 
(player.c: for i = 2 i != -1; --i) also solves 
defined problem. 

Maybe it as any attribute in the material
which defines culling side?

Tomas







-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to