<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 29, 2016 at 9:01 AM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">>>>     b. Usage examples are often helpful for illustrating goals at this stage of design.<br><p dir="ltr">
>><br>
>><br>
>> Since no internal computations are possible, usage would be limited. There is still a class of useful templates: variations of color, dimensions (eg., an arrow macro), perhaps timesensor/interpolator/route animation macros, perhaps shaders with parameters, probably many others.<br>
><br>
><br>
> Simple examples (even prior to any implementation effort) are helpful - sort of like unit testing and test-driven development motivations, it is tricky to properly implement something new if you can't define what success looks like.</p>
<p dir="ltr">Universal Media Materials would be a basic example. As an enhancement a Macro could have a 'shine' parameter which allows tweaking of the default shininess of the material if provided.</p></div></blockquote></div>I made a quick arrow macro to illustrate how I would use such a node.<br><br><a href="http://andreasplesch.github.io/x3dv4/test/Macro.html">http://andreasplesch.github.io/x3dv4/test/Macro.html</a><br></div><div class="gmail_extra">and<br><a href="http://andreasplesch.github.io/x3dv4/test/ArrowMacro.x3d">http://andreasplesch.github.io/x3dv4/test/ArrowMacro.x3d</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Andreas<br></div></div>