Michael,

Haven't tried this out but perhaps you could try:

new Vector4f(-1,0,0,0),
new Vector4f(0,-1,0,0));

in TexCoordGeneration.

Dirk

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, June 19, 2004 11:59 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Cone-Primitive and Texture

Hi,

I use a Cone-Primitive which was created using the flag
GENERATE_TEXTURE_COORDS. When I set a texture to this Cone ist has the
wrong orientation, its up side is down on the Cones wrap. That means I
have to turn the texture. I tried this using a TextureAttributes-Object
together with a Transform3D using a 180-degree rotation around x- or
z-axis. The strange thing is that this rotation distorted the texture.

So is there an other way to change the texture on this cone and to bring
its up side down?

Michael

--
http://www.3dchat.org - Welcome To The Unreal World
http://java3d.virtualworlds.de - The J3D Developers Ressource

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

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