[x3d-public] Linear programming
Joe D Williams
joedwil at earthlink.net
Tue Feb 13 13:52:30 PST 2024
> 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
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.
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.
For many good reasons it is best to minimize the user code that generates and maintains your scene.
When we can define reliable linear operation, then we can do anytime we want.
Joe
-----Original Message-----
From: Extensible 3D (X3D) Graphics public discussion <x3d-public at web3d.org>
Sent: Feb 13, 2024 9:07 AM
To: Konstantin Smirnov <konstantin.e.smirnov at gmail.com>
Cc: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>, Extensible 3D (X3D) Graphics public discussion <x3d-public at web3d.org>
Subject: Re: [x3d-public] Linear programming
Hi Konstantin, thanks for your question.
May I suggest that offline creation or modification of X3D scenes is a good way to proceed when the problem space is unconstrained.
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.
* X3D Java Scene Access Interface Library (X3DJSAIL)
* X3D Java Scene Access Interface Library (X3DJSAIL) supports programmers with standards-based X3D Java interfaces and objects, all as open source.
* https://www.web3d.org/specifications/java/X3DJSAIL.html
* X3D Python Scene Access Interface Library (X3DPSAIL)
* The x3d.py Python X3D Package supports programmers with Python interfaces and objects for standards-based X3D programming, all as open source.
* https://www.web3d.org/x3d/stylesheets/python/python.html
* https://pypi.org/project/x3d
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.
Good luck with your work.
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 Konstantin Smirnov via x3d-public
Sent: Tuesday, February 6, 2024 10:09 AM
To: X3D-Public <x3d-public at web3d.org>
Cc: Konstantin Smirnov <konstantin.e.smirnov at gmail.com>
Subject: [x3d-public] Linear programming
If I want to include linear programming equations for scene optimizing, computing, how their complexity can be reduced?
Automated integrated script for solving linear programming combined with scene plotting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240213/fe625b86/attachment.html>
More information about the x3d-public
mailing list