[x3d-public] HAnim Winter and Spring: some progress

Andreas Plesch andreasplesch at gmail.com
Sun Sep 17 19:51:11 PDT 2023


The alternative was to code a simple maximum search which only  uses
pairs, implemented in a functional style with reduce for brevity.
Probably quite a bit slower but only needed when first processing the
node.

The x3dom.org automatic, nightly dev builds from the github repo
currently do not seem to work. So I put the dev builds for the current
x3dom repo on the github cdn at

https://andreasplesch.github.io/x3dom/dist/x3dom-full.js
https://andreasplesch.github.io/x3dom/dist/x3dom.js
https://andreasplesch.github.io/x3dom/dist/x3dom.css
https://andreasplesch.github.io/x3dom/dist/doc

I can probably maintain these for now for updates to the x3dom github repo.

The x3dom editor at

https://andreasplesch.github.io/Library/Viewer/index.html now uses the
github.io cdn for the dev version.
See https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/HumanoidAnimation/WinterAndSpring/Leif.x3d

The way jsdelivr works the files are also available as

https://cdn.jsdelivr.net/gh/andreasplesch/x3dom@gh-pages/dist/x3dom.js
etc.

-Andreas

On Sun, Sep 17, 2023 at 9:28 PM Joe D Williams <joedwil at earthlink.net> wrote:
>
> > The texcoordindex array is too large for the Math.max function which is used. There is a simple alternative.
>
> OK, are there any other limits? What is the alternative?
> thanks Andreas, I tried to get that one loaded in the
>
>
> -----Original Message-----
> From: Andreas Plesch <andreasplesch at gmail.com>
> Sent: Sep 17, 2023 8:50 AM
> To: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>
> Cc: Joseph D Williams <joedwil at earthlink.net>, Michalis Kamburelis <michalis.kambi at gmail.com>, Carol McDonald <cemd2 at comcast.net>, Katy Schildmeyer KS APPAREL DESIGN <katy at ksappareldesign.com>, X3D Public Mailing List (x3d-public at web3d.org) <x3d-public at web3d.org>
> Subject: Re: HAnim Winter and Spring: some progress
>
> Thanks for sharing.
>
> It turns out that none of the event utilities are listed in the x3dom
> documentation pages due to an oversight in the documentation
> generation but they are all supported.
>
> I looked at the Leif model and the problem it exposed was a limitation
> of the number of parameters (65536) a function can accept in the
> underlying javascript engine. The texcoordindex array is too large for
> the Math.max function which is used. There is a simple alternative.
> With that, the animation sequence works but shows graphical artefacts
> including white cubes.
>
> -Andreas
>
> On Sun, Sep 17, 2023 at 12:12 AM Brutzman, Donald (Don) (CIV)
> wrote:
> >
> > Joe, thanks for discussion and updates today.
> >
> >
> >
> > X3D Example Archives: Humanoid Animation, Winter And Spring
> > https://www.web3d.org/x3d/content/examples/HumanoidAnimation/WinterAndSpring
> >
> >
> >
> > Have updated Lief, Lily, Tufani, GrandKidsBox, and Test Cycle Time Start . These appear to work in view3dscene and X_ITE. Looks like X3DOM is missing TimeTrigger.
> >
> >
> >
> > https://doc.x3dom.org/author/nodes.html
> >
> >
> >
> > You need to fix Shape geometry that is direct child of HAnimJoint – invalid, not allowed, even if (sensibly) tolerated by some players.
> >
> >
> >
> > I can keep adding models and regularizing names – diff/merge with version control keeps the best and avoids losing the rest.
> >
> >
> >
> > Small adjustments are being applied to various tools as we go.
> >
> >
> >
> > Always appreciate for your efforts, steady as she goes.
> >
> >
> >
> > 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
> >
> >
>
>
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
>


-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list