3/9/2023 0 Comments Lwjgl 2 vs 3![]() Can c++ opengl really perform better than the Java bindings? Maybe I am just doing stupid stuff in my code, but still want to ask for the community's experience.Īnd that's why I am considering rewriting the entire thing in c++. I stole optimization ideas and such, but I never could get even close to the c++ speeds. In the internet I found that glfw (which is integrated in lwjgl) has a method called glfwLoadTexture2D, but it looks like it is only available in the C++ version of glfw. New OpenGL and OpenCL additions as well as some important MacOSX fixes. Later, I decided to integrate a path tracer into the thing, I noticed that with using more buffers and other communication with the GL API, I was feeling more and more the lack of pointers and the overall unsuitability of Java for low-level stuff.Īlso, when I tried optimizing the path tracer, I found another person who had done the same algorithm, but in c++ and got twice the performance (I ran it on my machine). LWJGL 2.8.3 Monday, January 23rd, 2012 First release in the new year. ![]() Since I had just started learning Java at school and did other projects in it, decided to use LWJGL for the purpose. ![]() Some time ago I began making a graphics helper/game engine to learn openGL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |