Android opengl-es查看问题.所以在openGL中,摄像头和视图的默认位置是0,0.如何设置视图和摄像机,使其与计算机屏幕坐标基本相同,顶部为0,0.我调用了gl.glOrthof(-screenWidth/2,ScreenWidth/2,-ScreenHeight/2,ScreenHeight/2).但我认为这是错误的.我还需要设置相机来查看整个区域.我不确定如何使用gl.glFrustumf来完成这项任务.
android opengl-es coordinates
android ×1
coordinates ×1
opengl-es ×1