Log in or register to post comments

3d animations for Iphone

August 8, 2011 - 6:26am #1

I am working on playing 3d animations in Augmented Reality for iphone after marker detection.
Please, anyone help me through this.

Re: 3d animations for Iphone

August 10, 2011 - 12:09am #3

BTW - For OpenGL 2.x, you'd need to consider use of the shader program, either adapting the loaded one or loading one specific to your needs.

Re: 3d animations for Iphone

August 8, 2011 - 9:12am #2

Hi Sandeep,

renderFrameQCAR is where you'd implement your animation, after the 'for loop' that draws the trackables. You'd need to implement the animation controller yourself. Take note of the way that the context for trackables is setup (the code between "// Load the projection matrix" and "// Draw object") so that the object appears at the correct orientation and scale within the camera view.

How to do 3D animation with OpenGL is not a topic for this forum - there are many great resources elsewhere on the internet to assist you.

An alternative is to use Unity - see the support in our web-site which shows how to respond to tracking events ("Getting Started - Unity Extension" : "Mastering Advanced Topics"). Animating objects in Unity is also out of scope of this forum, but well documented by Unity and on the internet.

Log in or register to post comments