Actually it is attached to a scene becaues vrml files must contain only a
single node, the REFed or whatever node is a child to some other node
just like DEF would be... REF would be equivilant to switch { DEF node }
>
> Rather than introduce these "ghosts," why not create a node whose
> responsibility is to define subgraphs without having them affect
> rendering. For example:
>
> Definitions {
> DEF Car Separator { <stuff > }
> DEF Boat Separator { <other stuff> }
> ...
> }
>
> (You might notice that this is a lot a Switch node with a different
> name.)
I think it should be up to the browser how to handle these nodes,
there is no reason to explicitly tell the browser how it has to handle
these... It could create a structure with each of these nodes like your
proposed definitions... but it could also just keep track of pointers
to the nodes as the exist in other structures
-Nathan