Search code examples
androidopengl-es3daugmented-realitygraphics2d

Understand android.graphics.Camera object in Android


I am developing an Android AR app for my bachelor's Thesis.

I found the Camera class in package android.graphics (sdk link: http://developer.android.com/reference/android/graphics/Camera.html) and I didn't understand what the method dotWithNormal()?

Do you have any tutorial in which this object is used?


Solution

  • It's very useful for manipulating the Matrix attached to a Canvas, in particular for doing clever 3D effects without OpenGL.

    This 3D flip effect uses it, IIRC.