Well I have been playing around with MultiTexturing all day and have
found several
interesting problems. Here are my conclusions:
My initial test system was a PIII with a GeForce card from NVIDIA. I
modified the
MultiTextureTest app that comes with the java3d distribution to include
the source you sent me.
I have Java3D 1.2
FCS release and Java2 1.3 release installed. I found a couple of
problems.
It appears that hardware accelerated multitexturing is not supported
correctly if at
all.
The first texture layer is displayed correctly but the other layers are
not. In fact
what is really weird is that on other 3D cards (HP FX6, ATI, 3dLabs)
that do not
support hardware multi-texturing, the texturing is correct (probably
because java3D
is doing the multi-passes), but the geometry appeared distorted as
though some of the
coordinates were changed!!
I have included the test app as an attachment.
If you try this app on several different 3D cards, you will see that on
a card that
doesn't support multi-texturing, the geometry itself is being rendered
or built
incorrectly but the textures are correct. However, on a card that DOES
support
accelerated multi-texturing (a'la GeForce), the geometry is correct but
not the
texturing.
I can also send a picture if that would help.
Andrew Barras
multitest.zip