[X3D-Ecosystem] X3DOM - Help - HAnim Not Working

Bergstrom, Aaron aaron.bergstrom at und.edu
Fri Aug 29 05:48:15 PDT 2025


Doh!

Vince, I just realized… I skipped right over Leonard’s email.

The North Dakota nice in me says that you both deserve a UND t-shirt and an ‘I (heart) North Dakota’ hat! You know… for each of your t-shirt and hat collections.
😃

I appreciate everyone who helped out and provided advice. This has been driving me nuts for several months.

Aaron

From: Bergstrom, Aaron
Sent: Friday, August 29, 2025 1:46 AM
To: X3D Ecosystem public discussion <x3d-ecosystem at web3d.org>
Cc: vmarchetti at kshell.com
Subject: RE: [X3D-Ecosystem] X3DOM - Help - HAnim Not Working

Looks like I owe Vince a UND t-shirt, an ‘I (heart) North Dakota’ hat, and $3.23.

I think the main problem was that I was not using the ‘Full’ version of X3DOM (aka x3dom-full.js). As such the HAnim nodes were not defined.

Once I swapped out the ‘x3d-full.js’ and the ‘x3dom.css’ files/links suggested by Vince, it all started to work. Check out the links below.

  *   With textures as actual files - https://vr.csgrid.org/x3dom/conan-animated.html
  *   With textures as DataURIs - https://vr.csgrid.org/x3dom/conan-animated2.html
There is some weirdness with the CommonSurfaceShader… but the debugger says something about missing tangents or something. I’m planning on exporting Tangents in the future anyway. Not a big deal.

This makes me happy.

@Vince – Thanks!

Aaron

From: X3D-Ecosystem <x3d-ecosystem-bounces at web3d.org<mailto:x3d-ecosystem-bounces at web3d.org>> On Behalf Of Vincent Marchetti via X3D-Ecosystem
Sent: Thursday, August 28, 2025 8:05 PM
To: X3D Ecosystem public discussion <x3d-ecosystem at web3d.org<mailto:x3d-ecosystem at web3d.org>>
Cc: vmarchetti at kshell.com<mailto:vmarchetti at kshell.com>
Subject: Re: [X3D-Ecosystem] X3DOM - Help - HAnim Not Working

Aaron

Leonard beat me to it on the hanimhumanoid not being defined. I think that is a problem with the development diet of x3dom that your file uses. I have tried modifying your file to load a different distribution of x3dom, and also adding the trick of putting in a colored background I see the following:

< Screenshot removed; Postmaster nixed it >

That is the Conan in silhouette , you also see the x3dom debug console made visible by mouse clicking the canvas and hitting the “d” key.

Further examination of this debug console shows we’re getting the following warnings, again this is with a different x3dom version than you are invoking:

INFO: No Texture URL given, searching for <img> elements...
INFO: No Texture URL given, searching for <img> elements...
INFO: No Texture URL given, searching for <img> elements...
WARNING: Unrecognised X3D element <multitexturetransform>.
WARNING: Fallback to inefficient multi-index mode since creaseAngle=0.
WARNING: Fallback to inefficient multi-index mode since creaseAngle=0.
WARNING: Fallback to inefficient multi-index mode since creaseAngle=0.
INFO: No Texture URL given, searching for <img> elements...
INFO: No Texture URL given, searching for <img> elements...
INFO: No Texture URL given, searching for <img> elements...
INFO: No Texture URL given, searching for <img> elements…

Which leads me to the thought that this (presumably earlier) x3dom version doesn;t know about the multitexturetransform nor the data URL you are using for the textures.

Incidentally, the x3dom file I am using above is
    <script type='text/javascript' src='https://www.x3dom.org/download/dev/x3dom-full.js'> </script>
    <link rel='stylesheet' type='text/css' href='https://www.x3dom.org/download/x3dom.css'></link>

I am attaching a much truncated file which shows both the script and link elements as well as the background node I added.

Vince Marchetti


< attachment removed, postmaster nixed it >

On Aug 28, 2025, at 8:07 PM, Web3D WebServices via X3D-Ecosystem <x3d-ecosystem at web3d.org<mailto:x3d-ecosystem at web3d.org>> wrote:


Hi Aaron,

Not really diving in deep I found the following

  *   [X3DOM log] WARNING: Unrecognised X3D element <hanimhumanoid>.
  *   Since everything (at first glance) appears to be a child of <hanimhumanoid>, X3DOM finds nothing to process

I suggest putting in a background node (to establish camera orientation) and at least one non-symmetric object to make sure basic processing is working. Sorry I can't be more helpful.

Leonard






On 8/28/2025 1:19 PM, Bergstrom, Aaron via X3D-Ecosystem wrote:
I will send the following items to the first person who can tell me what I need to do to fix this X3DOM/HTML file so that I can see the animated Conan character:

  *   1 x UND T-Shirt
  *   1 x I “heart” ND baseball cap.
  *   $3 cash + plus whatever I can find in my couch cushions at home.

See the page:
https://vr.csgrid.org/x3dom/conan-animated.html

Thanks,

Aaron

--
Leonard Daly
WebServices, Web3D Consortium
President, Daly Realism - Creating the Future
--
X3D-Ecosystem mailing list
X3D-Ecosystem at web3d.org<mailto:X3D-Ecosystem at web3d.org>
http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250829/8b51e879/attachment-0001.html>


More information about the X3D-Ecosystem mailing list