Roy Duffy wrote:

Hi all.
Java3D reports the max-supported-texture-size as 2048x2048 on my machine
using the following:

java.util.Map propMap = canvas.queryProperties();
Integer texMaxWidth = (Integer) propMap.get("textureWidthMax");
Integer texMaxHeight = (Integer) propMap.get("textureHeightMax");

but if I use pure OpenGL it reports it as 1024x1024 on the same machine
using glGetIntegerv(GL_MAX_TEXTURE_SIZE, ..).

I thought this was purely a hardware issue, so I'm surprised that the
values are different on the same machine.
Does anyone have any idea why this would be so?
Thanks for any help.


There are two possibilities:

(1) You are using DirectX version of Java3D which the driver
     report different max. texture size from OpenGL.
(2) You are using OpenGL version of Java3D which select a different
     OGL pixelFormat for rendering from your pure OGL apps.
     The driver may return different max. texture size depending
     on the memory requirement of pixelFormat.

In any case this is a driver issues.

- Kelvin
------------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to