>> I am loading an object stored in a VRML97 file. I just need a Shape3D
>> instance that reflects the loaded object. This way I could get to the
>> object's geometry with the instance's Shape3D.getGeomtery method.

Take a look at http://tintoy.ncsa.uiuc.edu/~srp/java3d/vrml.html
It explains how to use VRML and Java3D together. In short, if you use
"getNamedObjects" you can access any VRML Node by name. This will give
you the Java3D TransformGroup. The children of this TransformGroup
contain the geometry. In my experience the j3dvrml97 loader will
generate Shape3D objects for each VRML Group. The geometry contained in
the Shape3D object e.g. is a TriangleArray for an IndexedFaceSet.
I hope this helps.
Jan
--
-----------------------------------------------------------------
    _/_/_/ _/  _/        Jan Boehm
   _/_/_/    _/   _/_/   Institut fuer Photogrammetrie
  _/_/_/ _/ _/_/ _/ _/   Universitaet Stuttgart
 _/_/_/ _/ _/   _/_/     Geschwister-Scholl-Str. 24
          _/   _/        D-70174 Stuttgart
-----------------------------------------------------------------
Tel : +49-711-121-4110   Email : [EMAIL PROTECTED]
Fax : +49-711-121-3297   WWW   : www.ifp.uni-stuttgart.de
-----------------------------------------------------------------

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