smhykcll's picture


what is the Glu.gluPerspective() version of OpenTk? i didnt find it.Any Advice?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jbhunter's picture

Look into using the Matrix4 method CreatePerspectiveFieldOfView

Matrix4 matrix = Matrix4.CreatePerspectiveFieldOfView(fovRadians, width/height, zNear, zFar);
GL.MultMatrix(ref matrix);

Hope that helps

Enthused_Dragon's picture

Nice, this is a big help. :-D