Original Post
Im writing a 3D modeller as part of my final year project. Im using the MFC with OpenGL for rendering the 3d models. The problem is with the setting up of the viewports, to get them to look in the correct direction (eg. Top, Front, Left).
I''ve tried to use various glRotatef(..) to rotate the view correctly in each of the viewports OnDraw() member of the viewports classes. But this obviously isn''t working correctly
Lately i thought of using a camera class to achieve this, but the viewports become more screwed up than before.
Please Help,
Thanks,
Keith