Hi,

I recompiled the org.web3d.j3d.loaders.BaseLoader class changing the
class used for the load_mgr attribute inside the method "Scene
load(InputSource is)". It was using the MemCacheLoadManager class and
I changed it to use the SimpleLoadManager class. Otherwise I did
something wrong, the cache problem continues. Could you please tell me
if there is another class to change? I also removed the class
MemCacheLoadManager from the package to make sure that it was not
being used (some exception will be thrown if this class was need), and
no exception happened.

Nevertheless, does anyone knows how to wait the textures to be loaded
so that I could show the Canvas 3D just after all textures are
completely loaded? By now, I am loading my VRML model and it is being
visible a few seconds without the textures.

Thanks.

Best Regards.

Flavio Gonzaga



On Mon, 24 Jan 2005 09:38:14 -0800, Justin Couch <[EMAIL PROTECTED]> wrote:
> Flavio Gonzaga wrote:
>
> > Is there a way to delete the cache or force reloading all files? If
> > true, could you please tell me the way?
>
> Not that I can think of. The file loading system is abstracted from the
> file access system. The file loader doesn't know whether the file access
>  system is caching or not. All it does is request the file from the
> access system.
>
> Right now, we're too far into the final throws of the M10 release cycle
> to make any modifications to the codebase to allow for this. However, if
> you want to modify the source and recompile a single file, then you can
> turn off caching completely by substituting a different file manager. Go
> to the loader class that you're using, and look for the
> "MemCacheLoadManager". Change that to "SimpleLoadManager", recompile,
> and you'll have a loader that does not do any caching at all.
>
> --
> Justin Couch                         http://www.vlc.com.au/~justin/
> Java Architect & Bit Twiddler              http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
> -------------------------------------------------------------------
>       Programming is essentially a markup language surrounding
>       mathematical formulae and thus, should not be patentable.
> -------------------------------------------------------------------
>
> ===========================================================================
> 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".
>

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