I just use
com.sun.j3d.utils.scenegraph.io.SceneGraphFileReader
and
com.sun.j3d.utils.scenegraph.io.SceneGraphFileWriter.
They seem to work pretty good except for textures.
When I write a shape3d with a texture and then load
it, the colors on the texture change. Then when I
write and load again they change more. They continue
to change, but in a pattern ... weird. Anyways, the
thing you have to be carefull about is capabilities.
You need a lot of capabilities set to write.

--- Ma TSeng Shiao <[EMAIL PROTECTED]> wrote:
> use the package
> com.sun.j3d.utils.scenegraph.io
> or better,
> com.sun.j3d.utils.scenegraph.io.retained
>
> there are streams for serializing j3d objects, you
> can get the api using
> javadoc from the source files
> they work for anything except morph nodes (that's
> the last problem I had
> ;) )
>
> i'm in a hurry, but i'll get you more detail
> tomorrow if no one else
> replies you...
>
> zaskwach
>
>
> On Fri, 28 Feb 2003 13:02:06 -0600, "Nick Stark"
> <[EMAIL PROTECTED]> said:
> > I was just wanting to know if there was an easy
> way of serializing
> > Shape3Ds
> > without having to extend the Shape3D class as well
> as the classes of all
> > non-serialized member variables of Shape3D.  I'm
> just taking a stab out
> > here...I'm pretty sure that a 'quick' way doesn't
> exist, but I'd love to
> > hear if it does.
> >
> > Thanks,
> > Nick
> >
> >
>
===========================================================================
> > 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".
> >
> --
>   Ma TSeng Shiao
>   [EMAIL PROTECTED]
>
> --
> http://www.fastmail.fm - A fast, anti-spam email
> service.
>
>
===========================================================================
> 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".


=====
See you later,


Brandon
-------------------------------
"Don't take it too seriously it's just life we'll win in the end."  Superchic[k]

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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