Hi,Paul,:)
 Thank you for your help. The GENERATE_TEXTURE_COORDS capability is a
Geometry.Primitives field. I have problem with geometries that are not
primitives (for example the ColorCube class).My main problem is that I'm
loading wavefront .obj files and I want to paste textures on these
imported objects. However, I get an ArrayOutOfBoundsException everytime
I try to setTextureCoordinate. I get the exact same error when trying to
apply textures to the ColorCube class, so I figured if I solve the
problem with the ColorCube I've solved the problem with the .obj files.
So far I have not been able to do it. Any help would be greatly
appreciated

Paul Burger wrote:
> 
> Hi,
> 
> I received the same error when I tried to attach a texture to a sphere...I
> solved that error by setting the object's capability with
> Sphere.GENERATE_TEXTURE_COORDS
> 
> I hope this helps
> 
> paul burger
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to