Java2D and JOGL

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Java2D and JOGL

Chinnaswamy
Hi All,
         I have  a graphical application using java2D where I have to draw thousands of primitives whose real coordinates (World coordinates)  have been already transformed to screen coordinates and then using this screen coordinates of the primitives, they are written on a buffered Image and draw the composed image.

From the performance point of view, I am trying to use JOGL where the the coordinate transformation sequences are OBJECT - WORLD - CAMERA - SCREEN where the Screen coordinates are used for rendering. If I have screen coordinates directly available as I obtained in my java2D application,  what set-up/command lines, I should use in init and display methods of GLEventListener interface or methods of GLAutoDrawable interface.  Your advice / guidance is highly appreciated.

Thanks in advance.

Chinnaswamy

I