you need to edit the .lws file with any text editor and remove the absolute
path for each lwo file upto the name of the lwo.

e.g

LoadObject E:\Java\project\battle\left dockingbay.lwo
becomes

LoadObject dockingbay.lwo

the lwo file should be in the same directory as the lws file

good luck

Sean

----- Original Message -----
From: Anders Breivik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 5:40 PM
Subject: [JAVA3D] Lightwave Loader problem with Java3D


> Hi,
>
> Can anyone help me with the following problem:
>
> Everything works fine when I use the Viewer class in
jdk1.2.1/demo/java3d/Lightwave to view the example Lightwave scene
"ballcone.lws". However, when I try to create  my own scenes (*.lws files)
> in Lightwave (version 5.5), these do not work with the Viewer. A stack
overflow error occurs followed by (what looks like) an infinite loop:
>
> C:\jdk1.2.1\demo\java3d\Lightwave>java Viewer yellowBox.lws
> Exception in thread "main" java.lang.StackOverflowError
>         at
com.sun.j3d.loaders.lw3d.LwsObject.getQualifiedFilename(Compiled Code
> )
>         at
com.sun.j3d.loaders.lw3d.LwsObject.getQualifiedFilename(Compiled Code
> )
>         at
com.sun.j3d.loaders.lw3d.LwsObject.getQualifiedFilename(Compiled Code
> )
>         at
com.sun.j3d.loaders.lw3d.LwsObject.getQualifiedFilename(Compiled Code
> )
>         at
com.sun.j3d.loaders.lw3d.LwsObject.getQualifiedFilename(Compiled Code
> .......etc,etc.
>
> Does anyone know the cause of this problem?
> Hope to hear from you...
>
> Andy.
>
>
===========================================================================
> 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