Original Post
When my car is moving right OpenGL says it moving in the negative X Direction? I thought this way was always positive?
quote:
Original post by Thunder_Hawk
This would be true if you rotate the y axis by 180o.
Hope that helps a bit.![]()
_____________________________
And the Phoenix shall rise from the ashes...
--Thunder_Hawk -- ¦þ
______________________________
quote:
Original post by Khaydarian
Or, something else entierly. Or, cosmic rays refelcting off the atmosphere of Venus and flipping a bit in you''re RAM. Without more information, I really can''t tell you.
Of course, my money''s on the cosmic rays.
--Khaydarian
quote:
Original post by Khaydarian
Ok, I''m detecting a lot of confusion in here. The way I see it, there are two distinct (and mutally exclusive) possibilities here:
1) You''ve somehow rotated the scene 180 degrees, or you''re looking at it from the other direction (-z instead of positive). This was suggested by Thunder_Hawk above.
2) You''ve got you''re model saved wrong: it assumes a left handed coordinate system (like Direct3D) instead of a right handed coordinate system (like OpenGL), or vice versa. This was suggested by sark.
If it was 1), odds are your car went backward the first time you tried it, and you added a negative somewhere to fix it. If it was 2), you probably got a car model from somewhere that was saving them with the opposite axes. Or, it could be a problem with the way you''ve set up the projection or modelview matricies. Or, something else entierly. Or, cosmic rays refelcting off the atmosphere of Venus and flipping a bit in you''re RAM. Without more information, I really can''t tell you.
Of course, my money''s on the cosmic rays.
--Khaydarian
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more