Fiasco,
The call to setURLBase() should be passed a String not a URL (you have
it typed as setBaseUrl() - I'm assuming that is just a typo in your
e-mail).
As for more informative error messages {grin}... sure... get Sun to
provide more informative errors (*joke*). But seriously, ok, I'll look
at the code to see if I can have it spit out some better error messages.
- John Wright
Starfire Research
Fiasco wrote:
>
> Here's my code
>
> try {
> Loader3DS modelLoader = new Loader3DS();
> modelLoader.setDetail(2);
> modelLoader.setBaseUrl( new
> URL("http://localhost/jbuilder/TargetWare/f86sabre/" ) );
> scene = modelLoader.load( new
> RL( "http://localhost/jbuilder/TargetWare/f86sabre/" + geometryfilename ) );
> } catch () {}
>
> When I run it I get a very unhelpfull
> Malformed URL trying to make texture URL
> error message. Would be nice if this error message included the URL that
> was trying to be created.
>
> Is it something wrong in my code above?
>
> Fiasco
>
> ===========================================================================
> 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".