Aha!
Thanks mates!
So that is how I have to do! Then I understand.
Thanks alot and for this very quick answer!
Best regards
Fredrik

-----Ursprungligt meddelande-----
Från: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Jeremy Booth
Skickat: den 15 januari 2004 15:21
Till: [EMAIL PROTECTED]
Ämne: Re: [JAVA3D] How to apply More than one Texture to a Shape3D?


Fredrik Andersson said:
> Now when the geometry is done, I also want to apply different textures
> to different surfaces of the Shape3D.

Hi
  You can't do it like that, the texture is applied to the Appearence
which is applied to a whole shape3D, if any of your geometries share the
same texture (say both sides share the same texture but with different
texture coords to mirror the texture) then those geometries can be in
the same shape3d, but otherwise it can't be done. You might be able to
do something really nasty with multitexturing, but I would certainly
class that as a hack, just create multiple shape3ds and return a
branchgroup with them all in instead of a shape3d.

HTH

Jeremy

--

Homepage: http://www.computerbooth.com/
Codepage: http://www.newdawnsoftware.com/

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