Search code examples
android3dtranslatecube

Android 3d Translates


I'm just starting to learn android programming and I want to ask you good people out there if there is a way to achieve the CSS3 Translates in android. I am aware of the TranslateY and TranslateX functions in android but I don't see any translateZ. I'm actually trying to create a 360 panorama application. Thanks!


Solution

  • you can use method glTranslatef to move the viewpoint. Take a look on example code on how glTranslatef is done here.