Hi all

This is my first attempt with this Email group so please be nice!

I have been looking at Java 3D for a few months now and having to learn it all
from scratch is interesting to say the least!  I have been looking at ways to
import VRML into a java scene and then be able to use the objects imported
etc.  I have been using the sun loader "vrml97.jar" and importing these files
etc.

import com.sun.j3d.loaders.vrml97.VrmlLoader.*;
import com.sun.j3d.loaders.vrml97.*;
import com.sun.j3d.loaders.Scene;

I have had a few problems reading in some VRML models with this so I decieded
to investigate XJ3d as there seamed to be tonnes of talk about it on this
mailing list.  So I have downloaded the exe file from the super guys at XJ3D
and proceeded to follow the instructions for set up.  I feel I have this done
succesfully as the XJ3D browser will run and import a VRML file (well some) I
then thought I would try and see how the VRML importing was achieved and
looked at the "Loader.java" file for an example.

The problem is that when I try to compile that file the compiler can not find
a package which I am buggered if I can work out what it is supposed to be or
where it may be located.  the message is:

--------------------Configuration: j2sdk1.4.0_01 <Default>--------------------
C:\j2sdk1.4.0_01\x3d\examples\loader\LoaderDemo.java:36: package
org.web3d.j3d.loaders does not exist
import org.web3d.j3d.loaders.VRML97Loader;

Any of you knds Sirs out there help me with this as I have spent all morning
looking at how to import VRML using the newer loaders produced by XJ3D but my
head is about to explode!

I have included on my classPath all these Jar files recomended by the install
notes.

For compilation:
j3d-org.jar
xj3d-j3d.jar

For Running:
xj3d-common.jar
xj3d-render.jar
xj3d-parser.jar
xj3d-runtime.jar
xj3d-script-base.jar
xj3d-core.jar
xj3d-sav.jar
uri.jar
j3d-org.jar
xj3d-j3d.jar

Please Help

C YA cocker :)

Philip J Colbert
Software Engineer
RCID, Bruce Building
University of Newcastle Upon Tyne
NE1 7RU
Phone 0191-2225306
Fax 0191-2225833
This e-mail, including any attached files, may contain confidential and privileged 
information for the sole use of the intended recipient(s). If you are not the intended 
recipient, please note that any circulation or copying of this e-mail is strictly 
prohibited. If you have received this e-mail in error please contact the sender by 
reply e-mail and delete all copies of this message.

The RCID makes every effort to ensure that this e-mail and any attachments are sent 
virus free. However it is the responsibility of the recipient to perform any checks 
they deem necessary.

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