OK, I have cleaned this a little. Now I try to do the same but with this code:
gl.glOrthof(-near_height * ratio, near_height * ratio, -near_height, near_height, zNear, zFar); . . . Matrix.orthoM(orthoProjectionMatrix, 0, -near_height * ratio, near_height * ratio, -near_height, near_height, zNear, zFar); float pos3DdelPuntoInteres [] = new float [] {0.0f,0.0f,4.0f}; float acumulador[] = new float[4]; //remappedRotationMatrix is the modelView android.opengl.Matrix.multiplyMV(acumulador, 0, remappedRotationMatrix, 0, pos3DdelPuntoInteres, 0); android.opengl.Matrix.multiplyMV(posPantalladelPI, 0, orthoProjectionMatrix, 0, acumulador, 0); Log.e("IconoRenderer", "Posición del icono en la vista: (" + posPantalladelPI[0]/posPantalladelPI[3] + ", " + posPantalladelPI[1]/ posPantalladelPI[3] + ", " + posPantalladelPI[2]/posPantalladelPI[3] + ")"); I think the values posPantalladelPI[0]/posPantalladelPI[3], posPantalladelPI[1]/ posPantalladelPI[3] and posPantalladelPI[2]/posPantalladelPI[3] should be between -1 and 1. But not. The numbers are totally different. Please, got someone any clue? Thanks you very much. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en