user1573344
user1573344

Reputation: 63

opengl es projection and camera in android

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

Answers (1)

mrucci
mrucci

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.

the view frustum

I would also suggest that you experiment with the Nate Robins OpenGL tutorials, especially with the projection tutorial:

projection tutorial

Upvotes: 2

Related Questions