> From: Selim Tuvi <[EMAIL PROTECTED]>
>
> Hi folks, as a beginner I have a question regarding textures. I am
> developing a tool that lets the user fly over a US map and analyze different
> weather events at any given time. I defined a quadarray that will represent
> the plane that the US map will be wrapped over. The problem is that the US
> image is quite big -- 2560x2880 pixels. And when I use the TextureLoader on
> it, the map doesn't appear on the plane. But if I resize the image to
> 1200x1350 then it works. Are there any limitations on the texture size or is
> there anything I need to specify on the plane object regarding texture
> properties?


Many graphics cards have a limit of 1024x1024 (or in your case perhaps
2048x2048) for the texture size.  You'll have better results if you break your
texture and your quad array into pieces so that the textures can be smaller.

If you expect that only a small piece of the texture will be displayed normally,
you may find even more benefit in breaking it into even smaller chunks, say
256x256 or 512x512. This will keep the texture and geometry that are off the
screen from slowing things down.

Doug Gehringer
Sun Microsystems

===========================================================================
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