Hi Daniel
> 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"
Hmm well whether you have a different version to mine or something is
quite fishy.
Because If I look at this code fragment here, it works :
public void importScene(URL filename,boolean setClipplanes,
boolean fitOnScreen, boolean getCamera)
throws IOException{
Scene newScene = null;
int filetype = checkFilename(filename);
if (filetype != -1) {
switch(filetype) {
case FILE_3DS :
Loader3DS loader3ds = new Loader3DS();
try {
newScene = loader3ds.load(filename);
} catch (Exception ex) { throw new
IOException(ex.getMessage()); }
loader3ds = null;
break;
case FILE_OBJ :
ObjectFile loaderobj = new ObjectFile();
try {
newScene = loaderobj.load(filename);
} catch (Exception ex) { throw new
IOException(ex.getMessage()); }
loaderobj = null;
break;
case FILE_LWS :
Lw3dLoader loaderlws = new Lw3dLoader();
try {
newScene = loaderlws.load(filename);
} catch (Exception ex) { throw new
IOException(ex.getMessage()); }
loaderlws = null;
break;
}
try {
if (newScene == null) {
throw new IOException("Unknown error in loaded scene");
}
.
.
.
.
.
EOF,
J.D.
--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)
===========================================================================
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".