Y Axis inverted on vertex output

Posted by Yonathan Klijnsma on Game Development See other posts from Game Development or by Yonathan Klijnsma
Published on 2012-12-04T20:16:01Z Indexed on 2012/12/05 5:33 UTC
Read the original article Hit count: 173

Filed under:
|
|
|

I've got my project running and somehow it seems my vertex y components are inverted. 10 in the positive on Y goes down and 10 negative on the Y axis goes up.

I can't find anything with the initialization and I am not doing any negative scaling in the view matrix. I've never had something like this happen before, does anyone have some tips or things to look for ?

How I am sending verteces to the GPU ( Currently intermediate mode ) glVertex3f( x_pos_n, 10, z_pos );

I am using CG in the project but even without shaders the Y axis seems to be inverted.

© Game Development or respective owner

Related posts about opengl

Related posts about math