Re: bizarre node in sample AllNodes.wrl
Gavin Bell ([email protected])
Wed, 3 May 1995 09:26:28 -0700
On May 3, 11:19am, Mark Waks wrote:
> Subject: Re: bizarre node in sample AllNodes.wrl
> David Lewis asks about this node:
> > # Test reading an extender node (twice, for luck)
> > Squid {
> > fields [SFFloat size, MFVec2f spotCenters]
> > size 12.3
> > spotCenters [ 0 0, 1 1, 2.1 3.2]
> > }
>
> This is clearly an extension. Open Inventor (which VRML sort of
> evolved from) allows you to add new sorts of nodes to your graph --
> the "fields" field says what kind of data belongs in it, and it's
> assumed that you have a C++ module that describes what to do with it.
An excellent description of "unknown" or "extender" nodes.
> As far as I know, we do *not* have this capability in VRML currently;
> even if we add it, I suspect that the form may be different.
Did you fall asleep before reading the end of the spec? This extensibility
feature is in there near the end.