OK, I am building an overhead 2D map editor. Basically it just uses an ortho setup, but I cant quite figure out how to zoom correctly. I have tried specifying new clipping planes with glOrtho(), but its always offset by a large amount [actually I think the cause is that I have the y-axis flipped] Another method I''d prefer to use is modifying the modelview matrix. Instead of messing with the projection matrix, I''m wondering if the same effect can be accomplished using glScalef() or something like it. I''d prefer it this way. I think I remember reading somewhere that there was an actual matrix you could multiply by to zoom [not an prebuilt openGL matrix, just a mathmatical matrix]. Any ideas? Thanks ~Dom C. Bueler?
Zooming in Ortho mode? Anyone, anyone?
2 replies to this topic