Yes, yes, yes. It's a bug of the object loader. Though it doesn't affect
the work of the class (that is the model would be loaded anyway if it
doesn't use any external resources itself). The bug is that during base
URL construction they use File.separator as a separator, which is a
wrong thing to do. I can send u the corrected source code (or a class
file) if u want. The problem is that u will have to distiribute the
whole package (not only the file that contains error), since it (error
file) has references to the other classes in the same package, which are
not public ones. I posted the corrected code some time ago. Hope Java
guys would correct this problem in the next release of Java3D.

vladimir

Jose Monzon wrote:
>
> hi!
>
> I have a problem with method:
>
>             Scene load(java.net.URL url)
>
> For example, i try this code:
>
>       ObjectFile f = new ObjectFile(... ... ...);
>       Scene s = load(new URL(http://www.blabla.com/blaba/blabla.obj");
>
> Appletviewer return a error about LOAD method:  ERROR SETTING BASE URL: NO
> PROTOCOL:
>
> I don't know what is happening...
> Please, 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".

--
             -=V=-
>~~~~~~~<=============>~~~~~~~<
Join in Java community now!
http://javacafe.virtualave.net/
>~~~~~~~<=============>~~~~~~~<

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