[x3d-public] possibly missing items from X3D Object Model

yottzumm at gmail.com yottzumm at gmail.com
Thu Mar 9 16:09:31 PST 2017


Here are some parent/child relationships and related methods that were hand created from the X3D Resource JSON Examples and are overlaid on top of those generated from the X3D Object Model.  These may be missing from the Object Model and should not be there, or they may just not be generated from the object model properly—see ROUTE.  Please advise how to generate from the Object Model, or add to Object Model and advise how to generate from the Object Model.  Thanks, John!

Field children were addressed in a previous message, but should be addressed here as well.

Syntax: 

“Parent” : {
	“Child” : “addMethod”,
…

Here it is:


let mapToMethod2 = {
        "Scene" : {
                "ROUTE" : "addChild",
                "IMPORT" : "addChild",
                "EXPORT" : "addChild",
                "ProtoDeclare" : "addChild",
                "ExternProtoDeclare" : "addChild"
        },
        "Billboard" : {
                "ROUTE" : "addChild"
        },
        "Anchor" : {
                "ROUTE" : "addChild"
        },
        "Switch" : {
                "ROUTE" : "addChild"
        },
        "Transform" : {
                "ProtoInstance": "addChild",
                "ROUTE": "addChild",
                "IS": "setIS",
                "ExternProtoDeclare" : "addChild",
                "IMPORT" : "addChild",
        },
        "Group" : {
                "ProtoInstance": "addChild",
                "ExternProtoDeclare": "addChild",
                "ProtoDeclare": "addChild",
                "ROUTE": "addChild",
                "IS": "setIS"
        },
        "Shape" : {
                "ProtoInstance": "setGeometry"
        },
        "ImageTexture" : {
                "IS": "setIS"
        },
        "Material" : {
                "IS": "setIS"
        },
        "Appearance" : {
                "IS": "setIS"
        },
        "HAnimJoint" : {
                "Transform" : "addChild"
        },
        "HAnimHumanoid" : {
                 "HAnimViewpoint": "addViewpoints",
       },
        "ComposedShader" : {
                "field" : "addField",
        },
        "ProtoBody" : {
                "ROUTE" : "addChild",
                "ProtoDeclare" : "addChild"
        },
        "Script" : {
                "field" : "addField",
                "IS": "setIS"
        },
        "Text" : {
                "IS": "setIS"
        },
        "GeoLocation" : {
                "ROUTE" : "addChild",
                "ExternProtoDeclare" : "addChild"
        },
        "MetadataSet" : {
                "ProtoInstance" : "setMetadata"
        }
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170309/c7fb0b68/attachment.html>


More information about the x3d-public mailing list