Camera设置viewMatrix和projectionMatrix,使用setViewMatrix和setProjectionMatrix不管用,原因可能是:

If you are setting your own view matrix then do not register a camera manipulator with the viewer, and avoid calling viewer.run() as it’ll attach one automatically, so just use an expanded frame loop. i.e.

viewer.realize();

while(!viewer.done())

{

Viewer.getCamera->setViewMatrix(viewMatrix);

Viewer.getCamera->setProjectionMatrix(projectionMatrix);

Viewer.frame();

}

更多相关文章

  1. Android下基于OpenGL的程序会发生纹理丢失的原因
  2. Android实现开机自启动及开机自启动失败原因
  3. imageButton被边框包围的原因、解决办法
  4. Android 5.0使用android:onClick属性出现崩溃的原因及解决方案
  5. android 工程里缺少 R.java 文件原因和解决方法
  6. 将服务器端字符读取至android的文本控件,换行符变成了黑方块的原
  7. Android build失败 原因总结:
  8. android 4.3之前的版本 播放hls获取不到总时长的原因

随机推荐

  1. android 添加预装的方法
  2. Android 6.0源码编译环境搭建
  3. Android Studio混淆错误:Missing class: j
  4. GitHub上优秀Android(安卓)开源项目
  5. 杂七杂八
  6. Android的Intent+uri应用实例
  7. Android开发主页框架搭建
  8. Android 如何删除短信
  9. android 按比例缩放图片(适屏)
  10. 【android】说说GestureDetector.OnGestu