Znalazłem ostatnio na forum jak robić siatkę trójkątów w gmaxie
http://www.eu07.pl/forum/viewtopic.php?t=972&highlight=trawa Wszystko ok ale przy włączaniu wyświetla mi się Unrecognized command: 57.8431
log:
...
glLineWidth(1.0f);
glPointSize(2.0f);
glLightModelfv(GL_LIGHT_MODEL_AMBIENT,ambientLight);
glLightfv(GL_LIGHT0,GL_DIFFUSE,diffuseLight);
glLightfv(GL_LIGHT0,GL_SPECULAR,specularLight);
glLightfv(GL_LIGHT0,GL_POSITION,lightPos);
glEnable(GL_LIGHT0);
glEnable(GL_COLOR_MATERIAL);
glColorMaterial(GL_FRONT, GL_AMBIENT_AND_DIFFUSE);
glMaterialfv( GL_FRONT, GL_AMBIENT_AND_DIFFUSE, whiteLight );
glEnable(GL_LIGHTING);
glFogi(GL_FOG_MODE, GL_LINEAR);
glFogfv(GL_FOG_COLOR, FogColor);
glFogf(GL_FOG_START, 1000.0f);
glFogf(GL_FOG_END, 2000.0f);
glEnable(GL_FOG);
Font init
Font init OK
Sound Init
Loading - texture: textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
Scenery atmo definition
Scenery light definition
Unrecognized command: 57.8431
Co się z tym dzieje. Z góry dziękuję.