Hi Murat,

> Can I export a Java3D scene to VRML? The reason I want to do this is the
> GUI that is available in VRML software.

Please check my exporter function of CyberVRML97 which can export
the following Java3D nodes to the VRML nodes.

  AmbientLight (PointLight)
  Appearance (Appearance)
  Background (Background)
  Billboard (Billboard)
  BranchGroup (Group)
  DirectionalLight (DirectionalLight)
  ExponentialFog (Fog)
  Group (Group)
  IndexedTriangleArray (IndexedFaceSet)
  IndexedQuadArray (IndexedFaceSet)
  LineArray (IndexedLiseSet)
  LineStripArray (IndexedLiseSet)
  LinearFog (Fog)
  Material (Material)
  PointLight (PointLight)
  PointArray (PointSet)
  Shape3D (Shape)
  SpotLight (SpotLight)
  Switch (Switch)
  Text3D (Text)
  Texture2D (PixelTexture)
  TransformGroup (Transform) (*1)
  TriangleArray (IndexedFaceSet)
  TriangleFanArray (IndexedFaceSet)
  TriangleStripArray (IndexedFaceSet)
  QuadArray (IndexedFaceSet)
  View (Viewpoint)

The following sample export a branch node of Java3D into a VRML file.

  import cv97.j3d.*;
   ....................
  BranchGroup j3dBranchGroup = .......
  VRML97Saver saver = new VRML97Saver();
  saver.setBranchGroup(j3dBranchGroup);
  saver.save("j3dworld.wrl");

I would like to improve the exporter function. Please tell me
your suggestions or problems. :-)

-----------------------------------------------
Satoshi Konno
http://www.cybergarage.org
[EMAIL PROTECTED]

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