Jump to content
  • Advertisement
Sign in to follow this  
Ikee

OpenGL Problems with getting opengl 3.2 to draw

This topic is 3008 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I've been having troubles getting OpenGL 3.2 to work. Source: http://www.pasteall.org/12061 My shaders compile the program link, I know the cube is correctly setup(tried to draw it with glBegin()) and the colors work. My matrices return this:
Projection matrix:
0: 2.41421   4: 0         8: 0         12: 0
1: 0         5: 2.41421   9: 0         13: 0
2: 0         6: 0         10: -1.002   14: -0.2002
3: 0         7: 0         11: -1       15: 1

ModelViewMatrix:
0: -1        4: 0         8: 0          12: 30
1: 0         5: 0.57735   9: 0          13: 30
2: 0.57735   6: 0.57735   10: 0.57735   14: 30
3: 0         7: 0         11: 0         15: 1
The different variables in the shader also have id's so they are recognized. Hope someone is able to help. - Ikee

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!