Mirror image!?!!?
Sup everybody... I''m having a problem. Everything I render with OGL is appearing horizontally mirrored. I don''t wanna post a billion lines of code, but can anybody think of something right off hand that would cause this? I''ll tell you now, (10,10) appearing on the left side of the display is really freaky...
Hi there, I''m AnCcE, and you''d be too if you weren''t somebody else.
Hi there, I''m AnCcE, and you''d be too if you weren''t somebody else.
Once only things in the upper 50% of the screen where rendered. I had f***** up my model view matrice. (tried to multiply my camera matrice with it)
Ries
are you looking at stuff from behind?
try inverting the Z of your camera (simple, maybe even wrong, but worth a passing thought )
try inverting the Z of your camera (simple, maybe even wrong, but worth a passing thought )
Remember to call glLoadIdentity() every time you begin rendering something new
Make sure you are using the correct matrix, make sure you havent pushed/popped to/from the wrong stack etc.
Ensure that you are using GL''s coordinate system.
-Mezz
Make sure you are using the correct matrix, make sure you havent pushed/popped to/from the wrong stack etc.
Ensure that you are using GL''s coordinate system.
-Mezz
If you have used glOrtho() check that you have entered the right values, if not, all kinds of strange things can happen.
Snale+--My humble and superior homepage
I just realized what I did wrong... This was a very stupid mistake. Okay I was looking down the positive Z-axis from the origin. Therefore X was reversed. Fixed it by negating all my Z-coordinates on my models and looking down the -Z axis.
Hi there, I''m AnCcE, and you''d be too if you weren''t somebody else.
Hi there, I''m AnCcE, and you''d be too if you weren''t somebody else.
Hi there, I''m AnCcE, and you''d be too if you weren''t somebody else.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement