Login  Register

Re: JOGL Textures Hogging Memory

Posted by elect on Aug 10, 2016; 7:15am
URL: https://forum.jogamp.org/JOGL-Textures-Hogging-Memory-tp4037027p4037042.html

JimmyNeutron wrote
Well, with modern OpenGL, it is difficult to find a decent example of the basics. All the examples I find are either A) Not for Java/JOGL, or B) Include more than just a simple JOGL program. I often end up having to download a few additional Java libraries just to get the example code to run. I don't know, maybe modern OpenGL is JOGL really is that complicated, or maybe the examples just do more than they need to.

Basically, I'm having a hard time getting modern OpenGL working because I can't find a good example of how it's done.

As for the textures, I'm not sure how the BufferedImage could be part of the problem, since the BufferedImage scope is only the image loading method.

I have a couple of projects that might intest you:

- Hello Triangle, a couple of samples using using just jogl without any additional dependency. There is an hello triangle and texture, both in gl3 and gl4

- jogl-samples, it's the jogl porting I made from the original ogl-samples of g-truc, they show almost all the whole opengl world. A couple of additional libraries is needed

- modern jogl examples is the jogl porting of one of the best opengl tutorial out there. Again additional libraries