To answer my own question, turned out that I needed to give the size when
calling Texture2D constructor. The java3d guide (tutorial) was not doing
this so I assumed that TextureLoader was taking care of the size.
-Tachio
On Thu, 21 Jan 1999, Tachio Terauchi wrote:
> Hi,
>
> I'm having trouble applying a texture to a QuadArray object. Basically,
> what happens is that textures do get mapped to the object but in a very
> distorted way. I'm loading a 256x256 texture and applying it to a flat
> rectangular surface. I am wondering if I did something wrong while
> setting up the texture coordinates.
>
> -Tachio
>
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/