<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: Aptos, sans-serif; font-size: 14.6667px; white-space: normal; float: none; display: inline;">> Adding a Script node with ECMAScript source can then produce further modifications to the designed scene at run time, perhaps in response to user interaction </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: Aptos, sans-serif; font-size: 14.6667px; white-space: normal; float: none; display: inline;"> </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: Aptos, sans-serif; font-size: 14.6667px; white-space: normal; float: none; display: inline;">and in many cases, using x3d logical and utility nodes intimate user interactions can be performed without internal scripts. Mainly, employ x3d Scene Access Interface to transact with the User's scene by internal and host scripting. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">For experience generating scenes and animations, please look at X3D HAnim, maybe using X3DEdit. In this case the basic default animation scheme uses sets of realtime or interaction event-driven linear interpolators operating in a specific node hierarchy. This drives the skeleton hierarchy which in turn generates motion to skeleton and skin geometry elements. Also there may be several HAnim models along with personal and environmental accessories in the same scene having some individual and some shared activities and interactions. The demand for realism is high. Often the individual skeleton and skin models are different yet it is desired that some novel and some declared behaviors be shared, so complex time, sensor, and geometry transformations may be required. </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">For many good reasons it is best to minimize the user code that generates and maintains your scene. </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">When we can define reliable linear operation, then we can do anytime we want. </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;">Joe</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: Extensible 3D (X3D) Graphics public discussion <x3d-public@web3d.org><br>Sent: Feb 13, 2024 9:07 AM<br>To: Konstantin Smirnov <konstantin.e.smirnov@gmail.com><br>Cc: Brutzman, Donald (Don) (CIV) <brutzman@nps.edu>, Extensible 3D (X3D) Graphics public discussion <x3d-public@web3d.org><br>Subject: Re: [x3d-public] Linear programming</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<!-- [if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!-- [if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt;">Hi Konstantin, thanks for your question.</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;">May I suggest that offline creation or modification of X3D scenes is a good way to proceed when the problem space is unconstrained.</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;">The following two libraries are reasonably mature and can be used with other programs for generating X3D models. They are designed to exactly match the X3D Architecture with strongly typed node and field relationships. Strong typing for careful construction means that it is relatively hard to produce an invalid model. Careful authoring with useful values remains a critical skill, of course.</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">X3D Java Scene Access Interface Library (X3DJSAIL)</span></li>
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">X3D Java Scene Access Interface Library (X3DJSAIL) supports programmers with standards-based X3D Java interfaces and objects, all as open source.</span></li>
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">https://www.web3d.org/specifications/java/X3DJSAIL.html</span></li>
</ul>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">X3D Python Scene Access Interface Library (X3DPSAIL)</span></li>
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">The x3d.py Python X3D Package supports programmers with Python interfaces and objects for standards-based X3D programming, all as open source.</span></li>
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;">https://www.web3d.org/x3d/stylesheets/python/python.html</span></li>
<li class="MsoListParagraph" style="margin-left: 0in; mso-list: l0 level1 lfo1;"><span style="font-size: 11.0pt;"><a href="https://pypi.org/project/x3d">https://pypi.org/project/x3d</a></span></li>
</ul>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;">If further refinements are desired at run time, then the first step is still to figure out what the basic scene structure might be. Adding a Script node with ECMAScript source can then produce further modifications to the designed scene at run time, perhaps in response to user interaction.</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;">Good luck with your work.</span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';"> </span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';">all the best, Don</span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';">-- </span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';">Don Brutzman Naval Postgraduate School, Code USW/Br brutzman@nps.edu</span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';">Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149</span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt; font-family: 'Courier New';">X3D graphics, virtual worlds, navy robotics https://faculty.nps.edu/brutzman</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<div style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0in 0in 0in;">
<p class="MsoNormal"><strong><span style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;">From:</span></strong><span style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"> x3d-public <x3d-public-bounces@web3d.org> <strong>On Behalf Of </strong>Konstantin Smirnov via x3d-public<br><strong>Sent:</strong> Tuesday, February 6, 2024 10:09 AM<br><strong>To:</strong> X3D-Public <x3d-public@web3d.org><br><strong>Cc:</strong> Konstantin Smirnov <konstantin.e.smirnov@gmail.com><br><strong>Subject:</strong> [x3d-public] Linear programming</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">If I want to include linear programming equations for scene optimizing, computing, how their complexity can be reduced? </p>
<div>
<p class="MsoNormal">Automated integrated script for solving linear programming combined with scene plotting</p>
</div>
</div>
</div>
</div>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>