Re: bizarre node in sample AllNodes.wrl
steve ([email protected])
Wed, 3 May 1995 19:28:50 GMT0BST
> 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.
>
> 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. So I
> don't think this is legal VRML. (Having this sort of capability is
> the really strong argument for using a HotJava-oid model for our
> browsers, but that's another discussion...)
This IS spec'd in the VRML spec (1.0) and is supported in the QvLib
parser - what your browser does with it is a different matter!
>>-------------------------------------<<
Steve Ghee ( [email protected] )
Director of Technology
Division Ltd
19 Apex Court
Woodlands
Almondsbury
Bristol, UK
BS12 4JT
Tel : +44 1454 615554
Fax : +44 1454 615532
>>-------------------------------------<<