> Date:         Mon, 21 Jan 2002 10:19:53 -0600
> From: James Robertson <[EMAIL PROTECTED]>
>
> I believe Sun has produced some support classes for serializing scene graphs,
> even though the J3D classes themselves aren't Serializable. I haven't
> explored this, but I recall hearing that they're part of the "Fly Through"
> demo application.  See...
> http://java.sun.com/products/java-media/3D/flythrough.html

In Java 3D 1.3 the scengraph io utilities have been broken out of J3D Fly and
are now located in the com.sun.j3d.utils.scenegraph.io package.

> >has anyone tried saving a scene into a file? im presently creating a
> >simple 3D drawing program but my problem is how to save them. it
> >wasnt as easy as putting the primitives, its appearance and Groups
> >into a vector and into a FileOutputStream since Nodes arent serialized.
> >can anyone suggest of an alternative to this?

com.sun.j3d.utils.scenegraph.io should do what you want.

-- Mark Hood

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