I've tried JOGL

I love JOGL.
I only had to make a insignificant amount of changes in order to convert from J2D -> JOGL.

I love AWT/GLCanvas being used in harmony, it makes GUI’s in GL apps easier under a BorderLayout(I love centering the GLCanvas and surrounding it by my GUI).

My problem?
No OGL 2.0 support, I’m trying to enable ARB_none_power_of_two, under Ati’s drivers you must disable mip mapping otherwise it will go into a software loop.

Ati’s hardware doesn’t do hardware ARB_none_power_of_two.

Long story short, the GL2.0 ARB extension doesn’t exist.

When is GL 2.0 going to be incorporated in JOGL?

If ATI won’t expose the function pointer you can’t use it. It sounds like they won’t explicitly support it on older cards. You can complain to ATI but you are probably out of luck. JOGL supports GL2.

As far as I know, none of the ATI cards support the NPT extension. Theres some thread about this over in the opengl.org forums. People were complaining because they were claiming OGL 2.0 compliance whilst not actually exposing some of the extensions that are part of the spec. The argument could be made the the NPT extension is more a cosmetic one than anything else, you can always stretch the texture or fiddle around with UV coords or similar workarounds.

D.

-edit-

actually, the newest drivers apparently do expose the extension, but you can’t use MipMaps or tiling without being thrown into software
ARB_texture_non_power_of_two as the OP pointed out. However, these drivers were only released about 3 or 4 days ago.

-edit-

The “ARB_texture_non_power_of_two” isn’t in JOGL.
I couldn’t find it anywhere or any of it’s variations.

[quote]The “ARB_texture_non_power_of_two” isn’t in JOGL.
I couldn’t find it anywhere or any of it’s variations.
[/quote]
The extension GL_ARB_texture_non_power_of_two doesn’t define any enumerated values or new functions, so it doesn’t affect JOGL’s API. In order to use it, you should call gl.isExtensionAvailable(“GL_ARB_texture_non_power_of_two”) to see whether it’s available.

[quote]actually, the newest drivers apparently do expose the extension, but you can’t use MipMaps or tiling without being thrown into software
[/quote]
Are you sure they expose it? We have two R300s here and both don’t have it. It would be very wrong if they did.

The contract is this: If the ARB_npot extension is present, with any GL version, you can freely use NPOT textures and they’d be hardware accelerated. Else if GL2.0 is present, you can still use NPOT textures (with normalized texcoords), but you’ll have to treat them as rectangle textures (no mips, etc). AFAIK, no ATI card currently exposes the extension.

What about GL.GL_TEXTURE_RECTANGLE_EXT?
I use this in my app and it works perfectly (except for mipmapping).
The only thing I don’t know if this is hardware-accelerated. What is a good way to see if something is done in hard-/software?

[quote]What about GL.GL_TEXTURE_RECTANGLE_EXT?
I use this in my app and it works perfectly (except for mipmapping).
The only thing I don’t know if this is hardware-accelerated. What is a good way to see if something is done in hard-/software?
[/quote]
My Ati Catalyst v4.80 with a Radeon 9600pro card doesn’t support this extension, unfortunately: “GL_ARB_texture_rectangle”

However, there are newer drivers out there; I’ve read the Catalyst v5.30 thing supports OpenGL 2.0 ? I’ll have to check it.

I’ve use GL_TEXTURE_RECTANGLE_EXT with both Radeon 9600 and X800 and it seemed fast to me. See an example here:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1098038144

[quote]I’ve use GL_TEXTURE_RECTANGLE_EXT with both Radeon 9600 and X800 and it seemed fast to me. See an example here:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1098038144
[/quote]
So cool. Thanks for the hint. Even my ATI with old driver supports this:
gl.isExtensionAvailable(“GL_EXT_texture_rectangle”);

According to:
http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_rectangle.txt

[quote]Functionally identical to EXT_texture_rectangle and NV_texture_rectangle extensions shipping (implemented in Mac OS X version 10.1, NVIDIA’s Release 10 drivers, ATI drivers, and Mesa).
[/quote]
So it’s the same like my “missing” “GL_ARB_texture_rectangle”…

Does anybody know aprox. when the GL_EXT_texture_rectangle made its way into the ATI Cataylist drivers? I could be wrong, but last time (6++ months ago) it hasn’t been there on my card+driver.

Thanks to Kiler for the thread.