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,
>
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/me
Hi,
What you do say does make sense, I was still
accessing the textures as files, not URLs. However now
I had sorted this I'm still having a little trouble!
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
Hi Karl,
- make sure you don't silently catch an Exception; the exception could give you
a hint of what is going wrong
- assure the permissions for accessing the image files are set properly,
otherwise you wan't get access to them.
- assure you load them from the appropriate url with appropriate
I am struggling to allow textures within my 3D applet
within my browser.
I have looked at other applets containing textures,
but the HTML code is no different. Do I need to place
the textures anywhere different, at the moment they
are in the same folder as the class file, and html
file.
I think
Hi,
I've created an applet that I want to place within a
webpage, however when the page loads up none of the
colours or textures or showing up correctly. The
programs output is in greyscale, without any textures.
Does anyone know why this is happening? any
suggestions would be great.
Thanks
KP