Hi everybody:
I have read that there's no way to serialize java3d objects. I also have seen that there's a package in the utility pack that serialize core elements of the java3d api (com.sun.j3d.utils.scenegraph.io). But I need to serialize extensions of the core classes, so this idea is not useful.
It is useful, you just need to implement com.sun.j3d.utils.scenegraph.io.SceneGraphIO and following methods:
public void createSceneGraphObjectReferences( SceneGraphObjectReferenceControl refControl);
public void readSceneGraphObject(DataInput data)
throws IOException;public void restoreSceneGraphObjectReferences( SceneGraphObjectReferenceControl refControl)
public void writeSceneGraphObject(DataOutput data)
throws IOExceptionpublic boolean saveChildren()
Simple, isn't it ? :)
Artur
=========================================================================== 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".
