I just use it in a stand alone application writing out my root bg to a file and then reading it back after closing and opening the application. I'm not familiar with networking so I'm not sure how you would do it, but you might send the file after writing it or maybe using SceneGraphStreamWriter and just sending over the stream?
--- kindy huang <[EMAIL PROTECTED]> wrote: > Hi Brandon, > > your message is helpful, while could you please tell > me more details about how to use > com.sun.j3d.utils.scenegraph.io? > > Are you using it in a standalone application or a > networked application? For ex. in client - server > mode,how to let server generate a scenegraph and > send > it to client by serializing it? > > Thanks! > Mian > > > > --- Brandon <[EMAIL PROTECTED]> wrote: > > 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". > > > __________________________________________________ > 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". ===== 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".
