Hi

I really start to wonder If anyone ever tried projective textures and had
success. I'v read through the specifications and learnt that J3D1.3
introduced TexCoordGeneration.TEXTURE_4 and TexCoord4x for projective
texturing. So far so good. But nothing in the specification tells me what
the outcome texture will be is it 2D or 3D? Do I have to specify a 3D
texture to get this working or can I also use a 2D texture? Meaning S/Q
T/Q and not S/Q T/Q R/Q (Q is the fourth texture coordinate). In my
examples as soon as I switch on TexCoordGeneration.TEXTURE_4 my
Texturecoordinate before set as TEXTURE_2 seem to get completly
out of the hand. Even  when I set WRAP as Boundary-conditions for my
Texture I don't see a thing.  Which leads to following conclusion. Either
all the texturecoordinates  calculated are lying on one boundary or
somewhere down below some errors are produced (which I don't get any
notice of).

So If anyone has a working sample for this feature I would greatly
appreciate some hints. Otherwise I see the only way out to calculate the
texcoordinates myself through software and not taking use of the T&L
hardware acceleration.

EOF,
 J.D.

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