Hi

I'm not 100% sure but this looks very likely to a bug to me.
Which relates to my projective texture problems mentioned
already last week. Projective textures work fine by using
TexCoord4f (I've tested this thanks to Raj's suggestion).
But when I use automatic texture generation.

For example OBJECT_LINEAR, setting the planes like following:

S = (1,0,0,0)
T = (0,1,0,0)
R = (0,0,0,0)
Q = (0,0,10,0)

And I have a QUAD with the Coordinates

X    Y    Z
-----------
-1,  1, 0.1
 1,  1, 0.1
 1, -1, 0.1
-1, -1, 0.1

Everything looks fine when I set TexCoordGeneration.TEXTURE_COORDINATE_2

but things get completly screwed when I set
TexCoordGeneration.TEXTURE_COORDINATE_4

Normaly I would think I will get following texture coordinates for the
vertices

1

S = -1
T = 1
R = 0
Q = 1

meaning S/Q and T/Q S/1 and T/1 so no difference to TEXTURE_COORDINATE_2

2

S = 1
T = 1
R = 0
Q = 1

3

S = 1
T = -1
R = 0
Q = 1

4

S = -1
T = -1
R = 0
Q = 1

But I get a completly different Image as with
TexCoordGeneration.TEXTURE_COORDINATE_2


WHY?????


--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (mirror)

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