[x3d-public] example model illustrating DEF/USE copy-by-sharing relationships (Brutzman, Donald (Don) (CIV))
John Carlson
yottzumm at gmail.com
Fri Aug 9 13:34:00 PDT 2024
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.
I will check out the new versions.
On Fri, Aug 9, 2024 at 3:20 PM Brutzman, Donald (Don) (CIV) via x3d-public <
x3d-public at web3d.org> wrote:
> Happy to apply these change suggestions, thank you Andreas.
>
>
> -
> https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html
>
>
> "Deep dive" computer science: rather than contrast between "pass by copy"
> or "pass by reference", am thinking we are closer to "pass by sharing".
>
>
> - Wikipedia: Evaluation strategy, pass by sharing
> - https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_sharing
>
>
> Have fun being an X3D copycat! 🙂
>
> all the best, Don
>
> --
>
> Don Brutzman Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
>
> Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
> +1.831.656.2149
>
> X3D graphics, virtual worlds, navy robotics
> https://faculty.nps.edu/brutzman
>
>
>
> ------------------------------
> *From:* x3d-public <x3d-public-bounces at web3d.org> on behalf of Andreas
> Plesch via x3d-public <x3d-public at web3d.org>
> *Sent:* Monday, August 5, 2024 4:54 AM
> *To:* X3D Graphics public mailing list <x3d-public at web3d.org>
> *Cc:* Andreas Plesch <andreasplesch at gmail.com>
> *Subject:* [x3d-public] example model illustrating DEF/USE
> copy-by-sharing relationships (Brutzman, Donald (Don) (CIV))
>
> Thanks for sharing this nice model.
>
> It took me a little to discover that it is necessary to keep the mouse
> button pressed down for the animation to occur. Perhaps "To animate,
> press objects with a pointing device" works a little better. Another
> option may be to switch to "isOver" and ".., hover ..".
>
> The UserMessage text could use the TextAppearance for consistency and
> since the theme is DEF/USE.
>
> Cheers, Andreas
>
> > Date: Mon, 5 Aug 2024 08:48:03 +0000
> > From: "Brutzman, Donald (Don) (CIV)" <brutzman at nps.edu>
> > To: "X3D Public Mailing List (x3d-public at web3d.org)"
> > <x3d-public at web3d.org>
> > Subject: [x3d-public] example model illustrating DEF/USE
> > copy-by-sharing relationships
> >
> > Dick Puk and I continue working steadily on specification Mantis
> issues. Latest is
> >
> >
> > *
> > DEF/USE labelling and functionality needs to be better specified for SAI
> and programming languages
> > *
> > https://www.web3d.org/member-only/mantis/view.php?id=690
> >
> > Towards this end, I build a new animation model that seems helpful.
> Feedback welcome.
> >
> >
> > *
> > X3D Example Archives: X3D4AM, X3D for Advanced Modeling, Animation, DEF
> USE Animation Example
> > *
> > Illustrate how USE nodes implement copy by reference, resulting in
> immediate changes when original DEF node is modified.
> > *
> >
> https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExample.x3d
> > *
> >
> https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/DEF_USE_AnimationExampleIndex.html
> > *
> > [cid:670f7613-98f3-4bef-8981-ee1b1d5d19c3]
> >
> > 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.
> >
> >
> > * Altova XMLSpy
> 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
> <https://www.altova.com/xmlspy-xml-editor>
>
> > *
> >
> https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/XMLSpyPrettyPrintSpacingTextViewSettings.png
> >
> > Have fun with X3D! ?
> >
> >
> > all the best, Don
> >
> > --
> >
> > Don Brutzman Naval Postgraduate School, Code USW/Br
> brutzman at nps.edu
> >
> > Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA
> +1.831.656.2149
> >
> > X3D graphics, virtual worlds, navy robotics
> https://faculty.nps.edu/brutzman
> >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.html
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: image.png
> > Type: image/png
> > Size: 40746 bytes
> > Desc: image.png
> > URL: <
> http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240805/d58c4ff4/attachment.png
> >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > x3d-public mailing list
> > x3d-public at web3d.org
> > http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> >
> >
> > ------------------------------
> >
> > End of x3d-public Digest, Vol 185, Issue 9
> > ******************************************
>
>
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> _______________________________________________
> 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/20240809/2d6e70f3/attachment-0001.html>
More information about the x3d-public
mailing list