Sign in to follow this  
Ikee

OpenGL Problems with getting opengl 3.2 to draw

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this