> From: Dean Iverson <[EMAIL PROTECTED]>
>
> In our application we load multiple VRML files to place in our 3D editor.
> Most of the textures in these files are the same.  I looked at the VRML
> source and traced the texture loading back to a Toolkit.getImage() call.
> Does anybody know if this call will keep track of which textures have been
> loaded by the application?  More importantly, are textures reused if they
> were loaded by a previous VrmlLoader.load() call?

I don't think that Toolkit.getImage() will cache it results, although it might.

It is possible to add a caching mechanism to the VrmlLoader, but it does not
exist yet.  Contact me directly if you are interested in working on this.  It
should not be to difficult, but you'll have to make changes to the VrmlLoader.

Doug Gehringer
Sun Microsytems

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