He Paul, >Hi Andreas, > >This should be possible. The saveChildren=False flag just >stops the IO system from automatically saving the children. >You should be able to save whatever you like to the IO stream >when your implementation of the SceneGraphIO interface methods >are called.
This is of cause possible... But I have to write my own State class for Appearance, and this is painfull ! This class allready exsist in com.sun.j3d.utils.scenegraph.io (AppearanceState), can I use it DIRECTLY ? It's very boring to write all this out.writeInt(int), out.writeFloat(float) .... stuff > >Rgds > >Paul > >On Sat, 2002-09-14 at 10:56, Andreas Jerke wrote: >> Hi, >> >> I have a scenegraph in which I want >> some children not to be saved (black box) >> but SOME descendants of this black box objects: >> >> (Example) >> >> --BG (saveChildren=true) >> : >> myTG (saveChildren=false, is Black Box) >> : >> SHAPE3D >> : >> APPEARANCE --> want to save this ! >> >> >> Is it possible to read/write the single APPEARANCE object >from/to the >> stream in myTG ? >> >> >====================================================================== >> ===== >> 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". > >=============================================================== >============ >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". > =========================================================================== 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".