Fergus,
An LWS file references the LWO file and adds some additional things
(hierarchy, transforms, cameras, lights, etc.). The Sun Lightwave loader
does load an LWO file but (I believe) only after loading the LWS file that
references it. It should be relatively straightforward to create a
"generic" LWS file (they are ascii) which would use identity transforms,
lights, etc.
The other thing to keep in mind is that the loader is for an earlier
version of Lightwave--not the current one.
--Mark
At 10:36 AM 9/4/2001, you wrote:
>Isn't Java's Lightwave loader (com.sun.j3d.loaders.lw3d.Lw3dLoader)
>supposed to handle LWO files? The J3D.org listing says LWO, but it seems
>like it only works with LWS files - all the LWO ones I've tried give me
>'Exception parsing file: java.io.IOException: Bad String Token (wanted
>LWSC, got
>FORM: Token[FORM], line 1
>java.io.IOException: Bad String Token (wanted LWSC, got FORM: Token[FORM],
>line
>1
>at com.sun.j3d.loaders.lw3d.TextfileParser.checkString(TextfileParser.ja
>va:156)
>
>Is there any way to get it to import LWO files?
Mark Ferneau 240-462-6262 (cell)
Director of Adv. Technology 801-437-4608 (efax)
Xtivia Technologies, Inc. 301-279-5703 (home office)
[EMAIL PROTECTED] http://www.xtivia.com/
[EMAIL PROTECTED] (wireless email)
===========================================================================
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".