… is jogl the right hammer?
Basically, I have a 2D renderer written in Java2D for all kinds of schematics and maps (not quite GIS) that we use a lot. One of the features we’d like to play with is the following;
Say we have a small map rendered in 2D of a geographical area. Scattered across this maps we have “values” we track that are defined at different levels across the map.
What I’d like to do is rotate the map a bit, (or let users rotate the map) say like an isometric version of it. Then have the values that are contained in the map be represented by 3d lines (maybe normalized) that graphically show what values are higher than the others. At one point, I might even want to create a mesh with these values, but for now imagine they are just cylinders that project from the 2d map.
So if I understand jogl well enough, the apporach should be to somehow grab the rendered image from my JComponent that draws maps (this is easy) and then load that image as a texture on a square surface.
When I redraw the image, I update the texture.
Does this make sense or am I making my life more complicated? I seem to remember some library out there, maybe for Java3D that would let you project the drawing of a JComponent onto a 3D surface. I may have imagined this
Is jogl the right technology for this, or should I look at something more high level. For this functionality, which seems fairly simple, it seems jogl is a good fit.
Any ideas, opions? Thanks!