Fixing opengl object in camera view

edited May 2014 in Android Mode

Hello!

I'm working on an Android application which uses opengl. Within the 3d environment, I have two elements: a camera(...) (with eyex eyey etc) and an image object (image(..)). My camera's orientation is linked to the device's gyroscope data. Is there a way to lock the image object into view such that it is unaffected by the camera's orientation change? Is it dooable vua some combination of translation and rotation of the image object to match the camera's movement? Is there any other way to do it? Thanks!

Answers

  • Answer ✓

    Have you tried to use PeasyCam?

  • Hello PhiLho!

    Thank you for taking a look at this post. I've ended up using a mixture of begin/endCamera(), push/popMatrix() and translations to do the trick.

Sign In or Register to comment.