I'll chime in with a quick answer, Rick might have a better one.
Two issues:
The VRML scenegraph information is garbage collected if its not
needed(basically if a node is DEFed its saved). So you would need to turn
off that behavior.. . I think this can be done by making the SceneGraph a
global variable(there's a post in the archive about this... I can find it
if ya need it)
The second piece would be to look at writeX3D(BaseNode.writeX3D). Ya could
probably write a similiar writeVRML97.
What you are describing has been a back-burnered plan of mine for awhile.
It would be nice to have a program that folks could build off of to change
VRML files. I don't have the time currently to hack this together but I
can probably answer questions to help. And if ya complete it I'd encourage
ya to return it to the Open Source base that Sun has provided.
-Alan
On Friday, December 17, 1999 8:02 AM, Patrick GIORDANO
[SMTP:[EMAIL PROTECTED]] wrote:
> I would like to load a vrml file with the vrml class loader, add or
removes nodes and save the final scenegraph.
> How can i save the scenegraph ? Does a scenegraph saver exist ?
>
> Thanks
>
> Patrick Giordano
>
>
===========================================================================
> 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".