0

I am writing a rather simple android game and I am implementing Open GL to draw a 3D cube that spins and I need to know where the user has clicked on the texture of the cube.

The texture is a simple square bitmap (100x100) that has a smaller square in the center. Can anyone give some pseudo code on how to tell where the ray correlates to the texture? Or at least point me in the right direction.

Clayton
  • 1
  • 1
  • http://android-raypick.blogspot.com/2012/04/first-i-want-to-state-this-is-my-first.html – Clayton Jul 01 '13 at 15:37
  • http://www.microsofttranslator.com/bv.aspx?&lo=TP&from=&to=en&a=http%3A%2F%2Fovcharov.me%2F2011%2F01%2F14%2Fandroid-opengl-es-ray-picking%2F – Clayton Jul 01 '13 at 15:38

0 Answers0