The problem i have (about which i wrote some time ago) concerns not
settin Texture in general, but rather setting Texture on the sides of
the Box. When u call getShape(int boxSide) function of Box class u can
then retreive GeometryArray. Then u can setTextureCoordinates (new
ones). And for some reason this function works incorrectly (it rotates
the texture). Moreover, texture transformation (that is texture rotation
via texture attributes) has no effect at all. I just can't figure out
where the problem is, since i can easily set new texture and it would
look correctly if only i don't change texture coordinates. In fact i'm
not very sure whether this operation correct at all (resetting texture
coordinates when Shape3D has been already created and initialized). I
doubt that anyone here tried to do this with Box primitive, but possibly
there is someone who occured similar problems.

Thanks for your help,

-=V=-

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