Reputation: 63
iam new to android opengl es programming. I have learned to create 3d objects and to view them on screen using APIDemos in android sdk. but, i cannot understand the projection call glFrustumf(..) and how to set up the camera. I will be pleased if any one explains how the glFrustumf(..) works.
Upvotes: 1
Views: 1014
Reputation: 4470
Chapter 3 of the OpengGL Red Book has a very good explanation on how to set up a camera and its view frustum in OpengGL.
I would also suggest that you experiment with the Nate Robins OpenGL tutorials, especially with the projection tutorial:
Upvotes: 2