[AI] New version of softbody2; x3dvalidate news

John Carlson yottzumm at gmail.com
Thu Mar 19 20:14:04 PDT 2026


Apparently best viewed in Safari on iOS.  I am not sure why it viewed so
well the first time.   You can try hitting the download button to shake it
up.

I’ve tried Chrome and Firefox on iOS.

Maybe the Three.JS WebGPU renderer is premature?  Or Web Assembly?
Demoware?

Hmm!

John

On Thu, Mar 19, 2026 at 10:04 PM John Carlson <yottzumm at gmail.com> wrote:

> I’m having difficulty with HAnim it appears.  Nothing changed in the
> codebase, so sometimes I get a humanoid and sometimes I don’t.  I will
> check console logs when I get a chance.  You may need to press the download
> button to get the animation going.
>
> On Thu, Mar 19, 2026 at 8:45 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> https://coderextreme.net/softbody2/
>>
>> This version has the feature of .glb download, which works well in Castle
>> Mobile Model Viewer.  I don’t know how well it works for Humanoids with
>> Sunrize on Windows 11, I tried.  Feel free to download the .glb.  It was
>> generated with THREE.js GLTFExporter.  Input X3D JSON was validated with
>> JSON schema, with additions of SoftBody and Stitch Joint.
>>
>> Old versions of x3dvalidate here
>> https://www.npmjs.com/package/x3dvalidate
>>
>> A decision was made to revert to Ajv due to stack overflow in
>> hyperjump-io validator.   This means the schema won’t validate in Ajv
>> strict mode.
>>
>> Development of x3dvalidate is here:
>>
>> https://github.com/coderextreme/x3dvalidate
>>
>> I think this version doesn’t validate the X_ITE component for now.  It
>> does validate Stitch and SoftBody.
>>
>> HyperJump-io was moved to a separate file for those who want stricter
>> JSON schema adherence.   I sent Jason Desrosiers my schema and an
>> instance.  His comment was:  “
>> The schema found over 1.7 million errors in the data! This package is
>> definitely not designed to function at these scales.”  Ajv + x3dvalidate
>> just found a few. YMMV. Note that after the errors were corrected, both
>> validators approved the JSON.  The JSON, both scene.json and
>> HumanoidComplete.x3dj, were deployed successfully.
>>
>> Hint for those wanting to compress JSON.  jsonlint -t 0 should work.  I
>> use the @prantlf version, which uses Ajv.
>>
>> Additional implementations welcome!
>>
>> The significance of this is that Castle Model Viewer can view data
>> sourced as X3D JSON!  Example JSON is here
>> https://coderextreme.net/softbody2/assets/
>>
>> and here:
>>
>> https://coderextreme.net/softbody2/scene.json
>>
>> John
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/ai_web3d.org/attachments/20260319/47a537dd/attachment-0001.html>


More information about the AI mailing list