Nehe Linux Port

BlitzMax Forums/OpenGL Module/Nehe Linux Port

Akat(Posted 2005) [#1]
im wondering why my 3d object looks like zbuffering showing it wrong.. i mean the same Nehe tutorial i did on GeForce FX 5200 n its working fine, but when i port the same codes to my Linux machine its seems like the normal of the faces not showing the right direction... is it something to do with the way we create the vertex, i mean clockwise or counter?? or because of my card? (btw, home = GFx 5200, office = Gfx 5600, the latest driver for Linux 7676) what's still wrong here... sorry for my bad english, hope u guys understand


TeraBit(Posted 2005) [#2]
You could reverse the order of the vertices using:
For normal:
glFrontFace GL_CCW

or
For Flipped:
glFrontFace GL_CW

to test it.


Akat(Posted 2005) [#3]
still the same man... *sigh*


Chris C(Posted 2005) [#4]
I've seen the same problem strangely an executable compiled with win32 blitzmax will work fine under wine...

very odd...


Akat(Posted 2005) [#5]
yup.... i never try with wine yet.. if its ok wine thats must be OpenGL module probs for Linux then