At 27/01/2003 17:22:00, you wrote:
>
>
>Frederic Barachant wrote:
>
>>you should replace this line:
>>Texture tex2 = new TextureLoader("swbSmall.gif", "RGB", new 
>Container()).getTexture();
>>by
>>Texture tex2 = new TextureLoader("swbSmall.gif", null);
>>
>that's assigning a TextureLoader to a Texture - won't work.  Did you
>mean something else?
Oh, yes, sorry. i forgot to add the getTexture() method at the end.
Anyway, you should use this method, instead of the other one. should work the same, 
with less garbage.

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