>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 (Normal) >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Importance: Normal >Date: Thu, 17 Jan 2002 08:01:49 -0600 >From: Alex Terrazas <[EMAIL PROTECTED]> >Subject: [JAVA3D] Change the size of Texture2D >To: [EMAIL PROTECTED] > >Hi gang- > >I am working on some code to extend Texture2D to >handle different types of video textures. I >cannot find any methods to change the size of >the Texture2D object after it is instantiated. > >Am I wrong? If it is true, then why? > > Yes, Texture2D is size fixed once it is initialized. You have to new another Texture2D if you would like a different size.
You may use a bigger Texture2D and change texture coordinate to achieve the effect. - Kelvin --------------- Java 3D Team Sun Microsystems Inc. =========================================================================== 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".
