Class MaterialModulatorPrototypeExpanded

java.lang.Object
X3dForWebAuthors.Chapter14Prototypes.MaterialModulatorPrototypeExpanded

public class MaterialModulatorPrototypeExpanded extends Object

Provide example for expansion of a MaterialModulator as regular X3D nodes, rather than a ProtoDeclare/ProtoInstance combination. MaterialModulator mimics a Material node and modulates diffuseColor field as an animation effect.

Related links: Catalog page MaterialModulatorPrototypeExpanded, source MaterialModulatorPrototypeExpanded.java, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title MaterialModulatorPrototypeExpanded.x3d
description Provide example for expansion of a MaterialModulator as regular X3D nodes, rather than a ProtoDeclare/ProtoInstance combination. MaterialModulator mimics a Material node and modulates diffuseColor field as an animation effect.
creator Don Brutzman, John Carlson, Roy Walmsley
created 2 July 2016
modified 20 October 2019
subject X3D prototype expander, IS/connect, Script inputOutput field
Image MaterialModulator.png
reference MaterialModulator.x3d
reference JSON prototype expander https://github.com/coderextreme/X3DJSONLD
TODO Create corresponding web page describing Prototype Expander design.
TODO Create stylesheet converter matching this Prototype Expander design pattern.
TODO Add external ROUTEs to original example as a further test case for Prototype Expander design.
reference https://github.com/coderextreme/X3DJSONLD/blob/master/PrototypeExpander.js
reference https://github.com/coderextreme/X3DJSONLD/blob/master/ServerPrototypeExpander.js
reference X3D Tooltips: ProtoBody https://www.web3d.org/x3d/content/X3dTooltips.html#ProtoBody
reference 4.4.4.3 PROTO definition semantics https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/concepts.html#PROTOdefinitionsemantics
reference [x3d-public] Prototype Expander, Question on design of instance expansions: http://web3d.org/pipermail/x3d-public_web3d.org/2016-July/004982.html
identifier https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/MaterialModulatorPrototypeExpanded.x3d
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet (version control) which is used to create Java source code from an original .x3d model.