I have a simple Square with openGL es 1 and Android 1.5. The square is
painted on the center of the screen.
I want that when the user press on the screen, or moves the finger on
the screen, the square get's moved to that position. For do this i
tryed with GLuUnProject, i tryed to obtain the
You coordinates are wrong for the screen/window coordinates, but how
do you know that those are not the object coordinates?
Daniel
On 7 November 2011 16:34, saex elpablos...@gmail.com wrote:
I have a simple Square with openGL es 1 and Android 1.5. The square is
painted on the center of the
I haven't ever used gluUnProject() myself but unless your geometry is
glued right to the near plane I'm pretty sure it's wrong to pass zero
for your window space Z. Unless you have special knowledge of your Z
I guess you'll need to read that value from the depth buffer.
On Mon, Nov 7, 2011 at
3 matches
Mail list logo