[x3d-public] Proto field default value question

Joseph D Williams joedwil at earthlink.net
Sat Jun 6 09:06:48 PDT 2020


Something ignored if something default? 

Please use the last value you get, which is the value used in the instance, if given.
If I read this right, what you said is that you are ignoring the instance value if there is a default value in the proto?
Actually, if that is so, something is missing in our ability to prototype. 
The main idea is that, for the x3d user, the proto can be used just like any x3d concrete node instance. 
So, the instance is either the same, or it is different. The user expects to be able to set initial values for appropriate fields of the instance. 

Anyway, the proto is not like a DEF/USE, which seems easy, until you start actually systematically solve problems with questions like what happens to the USE when you change the DEF, or what if you purposefully provide another, same name DEF in the same context, and use solutions that tend toward very tolerant processing. 

Hey, the proto is how we make our own nodes. That is the way it has always been and the best tools provide the highest functionality protos. For example how can we develop hanim Joint and Site, improving sensors, and even extend hanim deformable mesh like animations? Bigness in protos with scripts and childlike protos, and import/export weird and wonderful data, is required for user to actively augment the standard nodes and adjust those fields. 

And really, it is so wonderful to expose realistically usable protos to the web. Hey, if a proto cannot instance itself, is it really a proto?
Bridge the great gap between the great vrml/x3d plugins and the joyfully evolving xmlization and domification of realtime interactive x3d. 
  
Thanks to All,
Joe


From: Andreas Plesch
Sent: Friday, June 5, 2020 12:50 PM
To: X3D Graphics public mailing list
Subject: Re: [x3d-public] Proto field default value question

Probably I missed something. Anyways, in my x3dom efforts the node
field value is always ignored if there is a default value in the
ProtoInterface.

-Andreas

_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200606/869e764c/attachment.html>


More information about the x3d-public mailing list