I am very new to this JOGL .
I am runing on linux os and JDK1.4
in JGears.java demo ,
if (javaImage != null) {
g.drawImage(javaImage, sp, getHeight() - javaImage.getHeight() - sp, null);
if (openglImage != null) {
g.drawImage(openglImage, sp, getHeight() - openglImage.getHeight() - sp, null);
}
- This is normal java 2D software rendering .Why two javaImage and openglImage required when both are draw using drawImage?.
- How GLJPanel will enable openGL image rendering ?I looked at paintComponent but didn’t get much information.
- I commented the paintComponent of GLJPanel but still able to draw the images ?Just wanted to know how
openGL accelartion is performed ? - Is there any demo which will comapre normal Java 2D image draw and open GL hardware accelarted image draw performance .