<div dir="auto">I’m familiar with Java’s “call by value” which might be used in X3dToJava.xslt (or any X3DJSAIL program) instead of using a USE attribute.  I believe the preference is to use USE.</div><div dir="auto"><br></div><div dir="auto">I will check out the new versions.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 9, 2024 at 3:20 PM Brutzman, Donald (Don) (CIV) via x3d-public <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Happy to apply these change suggestions, thank you Andreas.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<ul style="margin-top:0px;margin-bottom:0px;list-style-type:disc">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<div><a href="https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html" target="_blank">https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html</a></div>
</li></ul>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
"Deep dive" computer science:  rather than contrast between "pass by copy" or  "pass by reference", am thinking we are closer to "pass by sharing".</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<ul style="margin-top:0px;margin-bottom:0px;list-style-type:disc">
<li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<div>Wikipedia: Evaluation strategy, pass by sharing</div>
</li><li style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<div><a href="https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sharing" target="_blank">https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sharing</a></div>
</li></ul>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
Have fun being an X3D copycat!  🙂</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<div id="m_-2155775367149714226Signature">
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt">all the best, Don</span></p>
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt">--</span></p>
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt">Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a></span></p>
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt">Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149</span></p>
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt">X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" target="_blank">https://faculty.nps.edu/brutzman</a></span></p>
<p style="margin:0in;font-family:Calibri,sans-serif;font-size:11pt"><span style="font-family:"Courier New";font-size:9pt"> </span></p>
</div>
<div id="m_-2155775367149714226appendonsend"></div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:11pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-2155775367149714226divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(0,0,0)"><b>From:</b> x3d-public <<a href="mailto:x3d-public-bounces@web3d.org" target="_blank">x3d-public-bounces@web3d.org</a>> on behalf of Andreas Plesch via x3d-public <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
<b>Sent:</b> Monday, August 5, 2024 4:54 AM<br>
<b>To:</b> X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
<b>Cc:</b> Andreas Plesch <<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>><br>
<b>Subject:</b> [x3d-public] example model illustrating DEF/USE copy-by-sharing relationships (Brutzman, Donald (Don) (CIV))</span>
<div> </div>
</div></div><div dir="ltr">
<div style="font-size:11pt">Thanks for sharing this nice model.<br>
<br>
It took me a little to discover that it is necessary to keep the mouse<br>
button pressed down for the animation to occur. Perhaps "To animate,<br>
press objects with a pointing device" works a little better. Another<br>
option may be to switch to "isOver" and ".., hover ..".<br>
<br>
The UserMessage text could use the TextAppearance for consistency and<br>
since the theme is DEF/USE.<br>
<br>
Cheers, Andreas<br>
<br>
> Date: Mon, 5 Aug 2024 08:48:03 +0000<br>
> From: "Brutzman, Donald (Don) (CIV)" <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>><br>
> To: "X3D Public Mailing List (<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>)"<br>
>         <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>
> Subject: [x3d-public] example model illustrating DEF/USE<br>
>         copy-by-sharing relationships<br>
><br>
> Dick Puk and I continue working steadily on specification Mantis issues.  Latest is<br>
><br>
><br>
>   *<br>
> DEF/USE labelling and functionality needs to be better specified for SAI and programming languages<br>
>   *<br>
> <a href="https://www.web3d.org/member-only/mantis/view.php?id=690" id="m_-2155775367149714226OWAe37acdb8-1960-8a1d-61e2-956fdc60d0fe" target="_blank">
https://www.web3d.org/member-only/mantis/view.php?id=690</a><br>
><br>
> Towards this end, I build a new animation model that seems helpful.  Feedback welcome.<br>
><br>
><br>
>   *<br>
>  X3D Example Archives: X3D4AM, X3D for Advanced Modeling, Animation, DEF USE Animation Example<br>
>   *<br>
> Illustrate how USE nodes implement copy by reference, resulting in immediate changes when original DEF node is modified.<br>
>   *<br>
> <a href="https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExample.x3d" id="m_-2155775367149714226OWA1e4f6cd6-b73e-1487-4f39-202d01be6a56" target="_blank">
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExample.x3d</a><br>
>   *</div>
<div style="font-size:11pt">> <a href="https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html" id="m_-2155775367149714226OWAf826614f-1c43-6166-55e7-440b319ff561" target="_blank">
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html</a></div>
</div><div dir="ltr"><div style="font-size:11pt"></div></div><div dir="ltr"><div style="font-size:11pt">>   *<br>
> [cid:670f7613-98f3-4bef-8981-ee1b1d5d19c3]<br>
><br>
> Incidentally I used both XMLSpy and X3D-Edit to create the model, which was interesting and effective.  Also updated all the catalog files for X3D Examples Archive to make such tasks even easier.  Meanwhile found a setting in XMLSpy that aligns handling of
 whitespace with X3D Canonical Form, which is what we use in version control and diffing and XML security and X3D Binary.  Pretty simple adjustment: use 2 spaces instead of tabs for indentation.<br>
><br>
><br></div></div><div dir="ltr"><div style="font-size:11pt">
>   *   Altova XMLSpy <a href="https://www.altova.com/xmlspy-xml-editor" id="m_-2155775367149714226OWAe629d216-b6f5-0e80-91a4-78fe451a3fea" target="_blank">
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.altova.com%2Fxmlspy-xml-editor&data=05%7C02%7Cbrutzman%40nps.edu%7C6021b1c85e4b4913076608dcb5458e99%7C6d936231a51740ea9199f7578963378e%7C0%7C0%7C638584558553788479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C40000%7C%7C%7C&sdata=D9Hy%2BpaBBPNaeMiKvZoomvU7ZEK%2BTuHi%2B%2BZg8Oig2Wo%3D&reserved=0</a></div></div><div dir="ltr"><div style="font-size:11pt"><br>
>   *<br>
> <a href="https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/XMLSpyPrettyPrintSpacingTextViewSettings.png" id="m_-2155775367149714226OWA8d9cf6ff-2d56-229b-4a47-452352975211" target="_blank">
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/XMLSpyPrettyPrintSpacingTextViewSettings.png</a><br>
><br>
> Have fun with X3D!  ?<br>
><br>
><br>
> all the best, Don<br>
><br>
> --<br>
><br>
> Don Brutzman  Naval Postgraduate School, Code USW/Br        <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br>
><br>
> Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA    +1.831.656.2149<br>
><br>
> X3D graphics, virtual worlds, navy robotics <a href="https://faculty.nps.edu/brutzman" id="m_-2155775367149714226OWAe636738f-21d9-73c3-3f9c-2861b2c9ce70" target="_blank">
https://faculty.nps.edu/brutzman</a><br>
><br>
><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.html" id="m_-2155775367149714226OWAba9c57b1-2d1b-4970-bb69-e2206a461fc3" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.html</a>><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: image.png<br>
> Type: image/png<br>
> Size: 40746 bytes<br>
> Desc: image.png<br>
> URL: <<a href="http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.png" id="m_-2155775367149714226OWA74e7a721-f1dd-2434-8828-5de173d951f9" target="_blank">http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.png</a>><br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> x3d-public mailing list<br>
> <a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
> <a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" id="m_-2155775367149714226OWAdd50fd74-f7d2-70f4-3412-85897bcaa725" target="_blank">
http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> End of x3d-public Digest, Vol 185, Issue 9<br>
> ******************************************<br>
<br>
<br>
<br>
--<br>
Andreas Plesch<br>
Waltham, MA 02453<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" id="m_-2155775367149714226OWA6b29ce2d-0a34-7915-d3ac-dd13f5d61f62" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a></div>
</div>

_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>