So I’m working on a project that requires a heightmap to be rendered topographically using this method: https://forums.tigsource.com/index.php?topic=9859.0 I’m going to use OpenGL for this, because it’s a simple framebuffer, how hard could it be? :
The requirements are that it must render to a swing BufferedImage so I can scale, and manipulate it through a UI later. Using OGL 2.0 with shaders for the calculating the texturecoords.
I may use LWJGL 2 because of the documentation on making AWT images from OGL, then have worker thread containing the OpenGL context.
Is there any way for getting AWT images from LWJGL 3? I’ve googled around and all I can find is on 2, which is looking pretty attractive as of right now. I read somewhere that there was no planned AWT implementation of 3, so I may migrate to 2.