|
-
March 18th, 2006, 04:17 AM
#2
Re: OpenGL window in MFC dialog with DB
I've noticed that you commented out glLoadIdentity(), but haven't seen any code setting up your transformation matrixes. Please recall that coordinates transformations pass through both modelview & projection matrixes. Use glMatrixMode() to choose them and set your transformations either by loading precomputed matrixes, or by setting the identity and applying OpenGL supported transformations (glTranslate, glRotate, glScale).
Regards,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|