JOGL Jar runs fine on my development machine, but slowly on others? Even if they have better hardware

久未见 提交于 2019-12-11 19:30:09

问题


I am currently messing around with JOGL and JBullet with some success. I'd like to share what I've created with my friends. I created a jar file and a .bat to open it with the argument -Dsun.java2d.noddraw=true. The jar runs perfectly on my machine. It opens and runs on my friends system and my laptop, but at an extremely low frame rate. What is the cause of this and how can I fix it?

Also for some reason it loads the wrong textures for some objects, again only when ran on another system. They are both Windows 8.1 x64 systems. The graphics drivers of all systems are up to date as well. This is really disconcerting because i want to be able to distribute this program.


回答1:


I was using GLJPanel instead of GLCanvas. GLJPanel is lightweight and doesn't support more complex rendering. This was driving me crazy for the longest time.



来源:https://stackoverflow.com/questions/20897544/jogl-jar-runs-fine-on-my-development-machine-but-slowly-on-others-even-if-they

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!