Josh Richmond wrote: > What about adding a MINIMISE_SHARED_GROUPS flag that does not
> share any node that is not USEd? i guess that would require a > multi-pass parser, eh? Hm. What about a NO_SHARED_GROUPS flag with the > caveat that you can't use EAI, Scripting, USE or ROUTES? Selfishly it > would work for me. :-) Yeah, multi-pass parser is the thing I'm baulking at currently. I can see that in some stage in the future we will probably have to go that way anyway. :( The shared groups stuff - well we're looking at the things like LOAD_BEHAVIORS. Our problem is " what is the definition of behaviour when applied to VRML". For any other file format, this is quite trivial. For us it isn't. Is a script a behaviour or not? Do inlines could as behaviours or not? We then have other aspects of the runtime system like routing. Nominally (which is the way Sun's code works, but ours doesn't) routing can be implemented without a Java3D behaviour to drive it. Effectively the system is event driven. Write to one node and it passed the values to its output and so forth. So just doing something like changing a transform's translation value can still trigger executable changes in the scene graph without ever having a behavior to start with. Another aspect that we have to deal with is inlines. In VRML you can include whole files of other content. The loader interface has no concept of this nested structure. The standard flags don't support it, and we have other issues to accompany that - asynchronous loading. Inlines might be loaded, but to do it properly you need a separate behavior to load the inlined content. And so on.... -- Justin Couch http://www.vlc.com.au/~justin/ Freelance Java Consultant http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".
