¡@

Home 

2014/10/16 ¤W¤È 08:20:04

android Programming Glossary: nearcoords

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

gl float realY float screenHeight pickY float nearCoords 0.0f 0.0f 0.0f 0.0f float farCoords 0.0f 0.0f 0.0f 0.0f GLU.gluUnProject.. 2 0.0f mg.mModelView 0 mg.mProjection 0 viewport 0 nearCoords 0 GLU.gluUnProject screenWidth 2 screenHeight 2 1.0f mg.mModelView.. 0 viewport 0 farCoords 0 System.out.println Near nearCoords 0 nearCoords 1 nearCoords 2 System.out.println Far farCoords..

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

i mg.mModelView i projmatrix i mg.mProjection i mg.getCurrentState gl float realY float screenHeight pickY float nearCoords 0.0f 0.0f 0.0f 0.0f float farCoords 0.0f 0.0f 0.0f 0.0f GLU.gluUnProject screenWidth 2 screenHeight 2 0.0f mg.mModelView.. 0.0f 0.0f 0.0f 0.0f GLU.gluUnProject screenWidth 2 screenHeight 2 0.0f mg.mModelView 0 mg.mProjection 0 viewport 0 nearCoords 0 GLU.gluUnProject screenWidth 2 screenHeight 2 1.0f mg.mModelView 0 mg.mProjection 0 viewport 0 farCoords 0 System.out.println.. screenWidth 2 screenHeight 2 1.0f mg.mModelView 0 mg.mProjection 0 viewport 0 farCoords 0 System.out.println Near nearCoords 0 nearCoords 1 nearCoords 2 System.out.println Far farCoords 0 farCoords 1 farCoords 2 Plot the points in the scene nearMarker.set..