OpenGL ES programming

Put your problem here if it does not fit any of the other categories.

OpenGL ES programming

Postby yhbae » Tue Oct 26, 2010 6:50 pm

I have been following some examples of Open GL ES programming. So far, I have been able to create a cube and rotate it around axis.

I am still reading about OpenGL ES but I cannot seem to get an answer to this question - how do I move my camera around? Basically, I'd like all objects I define to be static and render the screen so that a person is moving around the objects. Is there such a concept as "moving the camera" in OpenGL ES? Or should I be applying transform matrix on the entire scene (which sounds crazy!)

Thank you. :)
yhbae
Junior Developer
Junior Developer
 
Posts: 16
Joined: Tue Oct 19, 2010 8:13 pm

Top

Re: OpenGL ES programming

Postby Chitra » Fri Nov 12, 2010 7:59 am

Hey U just find the below link for step by step lessons about OpenGL...

http://insanitydesign.com/wp/projects/n ... oid-ports/
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Re: OpenGL ES programming

Postby jonbonazza » Mon Nov 15, 2010 7:18 pm

every frame, you need to get the touch coordinates and transform the camera appropriately.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests