Hi,
I am wondering if somebody can help me with this problem -
I've tried to set a the texture within an instance of the Appearance class
for a Java3D object by using this:
Appearance floorApp=new Appearance();
TextureLoader loader=new TextureLoader("blue4.jpg",this);
floorApp.setTexture(loader.getTexture());
but when I run the Applet, there is no texture loaded on the object - just
a plain solid color that curiously enough matches closely to the main
color of the texture (The texture I used was a chequered patch of
alternating light and dark blue colours, and the solid color I ended up
seem to be the blend of the two). Could anyone tell me if I had done
something wrong?
JK - 26 Mar 2004 10:08 GMT
Have you set the texture coordinates in the geometry of the shape?
JK.
> Hi,
>
[quoted text clipped - 12 lines]
> seem to be the blend of the two). Could anyone tell me if I had done
> something wrong?