[X3D-Ecosystem] Castle-model-converter HAnim glTF to X3D

John Carlson yottzumm at gmail.com
Mon Sep 1 16:54:08 PDT 2025


What I will try next is to use the correct HAnim names to match the DEF.
Seems reasonable.

John

On Mon, Sep 1, 2025 at 3:48 PM John Carlson <yottzumm at gmail.com> wrote:

> At a minimum, I would consider that CGE viewing x3d-tidy output correctly
> to be the MVP.  Otherwise, point out failings in exported models.
>
> I can prepare a new issue, but I consider viewing this model correctly a
> bare minimum:
>
>
> https://github.com/coderextreme/HAnimUtilityKit/blob/main/WalkingAlienFinalOutputX_ITE.x3dv
>
> This will only increase adoption of Castle Model Viewer.
>
>
> Thanks,
>
> John
>
> On Mon, Sep 1, 2025 at 3:38 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> This looks like the related issue:
>>
>> https://github.com/castle-engine/castle-model-viewer/issues/60
>>
>> Michalis leaves good information there.
>>
>> The biggest issue with post-processing is the size of the files being
>> transformed.   I know about how to set —float-precision in the converter,
>> and I’ll employ that.   I believe I’ve tried a couple of approaches,
>> combining another source with converter output to identify Joints, which
>> becomes a time sink development for large HAnim files.
>>
>> Another approach is to abandon HAnim and go with some alternative
>> (Transforms), but then we probably have to do a different type of Skin,
>> which appears to be talked about in link above (I didn’t get into details,
>> sorry).  It just seems like we’re diverging from the standard, but HAnim
>> version 2.1 is on the doorstep, so there might be opportunities to adopt
>> another technique.
>>
>> Any collaboration on getting x3d-tidy and castle-model-converter working
>> in cross-browser support welcome!
>>
>> John
>>
>> On Mon, Sep 1, 2025 at 2:50 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>>> Michalis, where are we in respect to converting glTF to X3D with
>>> castle-model-converter, especially HAnim?  I recall you were going to add
>>> something to ease post processing into HAnim, but I forgot the details.  I
>>> am having issues with x3d-tidy output that views in Sunrize, but is all
>>> stretchy in castle-model-viewer.  I can use
>>> castle-model-converter, but I lose HAnim in that case, so I’m looking to
>>> do some post processing.
>>>
>>> See the WalkingAlien* models here,
>>> https://github.com/coderextreme/HAnimUtilityKit, convert glTF to X3D,
>>> then look for and HAnim in the output.   Joe is pushing for something
>>> viewable in both Castle and Sunrize, and I don’t have a solution yet, even
>>> ignoring HAnim (what’s generated from Castle looks horrible in Sunrize as
>>> well).
>>>
>>> I will work on Castle converter stuff probably in a few hours.
>>>
>>> I think you probably want a ticket, but I don’t recall the old ticket
>>> resolution.
>>>
>>> Thanks,
>>>
>>> John
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20250901/61954f09/attachment.html>


More information about the X3D-Ecosystem mailing list