I've sorted out the problem now, although I think
there must be a nicer way of doing it.

I am calling methods get() and set() to load the URL
of the texture files and to set them onto the correct
geometry.

Thanks for all the help!
KP

 --- Georg Rehfeld <[EMAIL PROTECTED]> wrote: >
Dear Karl,
>
> > I can access textures that are loaded within the
> main
> > class, however I have other classes that need to
> load
> > textures, when I try to do this I can't reference
> a
> > variable form my main to my other classes.
> Something
> > about non-static to static problem...
>
> Don't use static vars/members in your main class.
> Have a method
> to load textures in your main class to be called by
> the other
> classes.
>
> regards
>
> Georg
>  ___   ___
> | + | |__    Georg Rehfeld      Woltmanstr. 12
> 20097 Hamburg
> |_|_\ |___   [EMAIL PROTECTED]           +49 (40)
> 23 53 27 10
>
>
===========================================================================
> 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".

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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".

Reply via email to