Dani,
If you look at the javadoc provided with our loader you'll see the
load() method for using a URL is:
load(java.net.URL inURL); // NOT load(String)
So proper usage would be something like:
URL url = new URL("http://www.yoursite.com/models/testfile.3ds")
Scene s = loader.load(url);
You are passing a string NOT a URL.
- John Wright
Starfire Research
Daniel Moscoso wrote:
>
> I have already tried this, but although the method load() is provided with an URL as
>parameter, it doesn't work. It is specified in the javadoc:
> "Loading from a URL is not supported at this time"
>
> Dani
>
>
>--------------------------------------------------------------------------------------------------------------------------
>
> Hi Daniel
> >
> > I'm trying to load 3ds models from applets using the Starfire 3ds loader. They are
>loaded fine from Netscape, but I have a problem with IE. If I try to load them like
>this:
> > Loader3ds loader = new Loader3ds();
> > Scene s = loader.load("models/testfile.3ds");
> Hmm the second line looks not like an URL loading to me.
> Try something like this
>
> Scene s = loader.load(getCodeBase(),"models/testfile.3ds");
>
> EOF,
> J.D. (aka GTC)
>
> --
> Jmark2k+1 (http://www.antiflash.net/jmark)
> Test the performance of your PC online!
>
> ===========================================================================
> 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".
>
> --
>
> Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn
>Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben,
>informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das
>unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you are not
>the intended recipient (or have received this e-mail in error) please notify the
>sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or
>distribution of the material in this e-mail is strictly forbidden.
>
> ===========================================================================
> 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".