[X3D-Ecosystem] Please review this Blender Python before I try to incorporate into an addon

John Carlson yottzumm at gmail.com
Mon Jul 1 20:10:01 PDT 2024


What I have discovered in my journeys is to that locations seem to added
together, such that if humanoid_root not at 0,0,0, then it gets added to
sacroiliac, etc.  that is, if you go down the leg or arm, they will go
upwards in Y, despite perfect location values appearing in Blender.  It
probably doesn’t help to do any kind of coordinate swapping or matrix_local
vs matrix_world.  What I will look into is doing delta transforms next,
subtracting child center from parent center and assigning to delta
location.  Another way to solve this is provide a flat transform hierarchy.

I will check in an example which shows this—eventually.

Anyway, I’m discovering new ways to curse at AI, finally taking over from
them, despite luring them with $20/month. Probably you.com is better for
the end user and worse for the AI provider.  It just seems like you.com
could be blocked by the AI providers.

Blender’s not much better than AI.

John

On Mon, Jul 1, 2024 at 4:06 PM John Carlson <yottzumm at gmail.com> wrote:

> I have revamped the examples and created a bat script to run the python
> along with showing the examples in castle-model-viewer.  Enjoy!
>
> X3DJSONLD/blend/localtest at master · coderextreme/X3DJSONLD (github.com)
> <https://github.com/coderextreme/X3DJSONLD/tree/master/blend/localtest>
>
> I'm still working on JinLOA1, showing that centers AND geometry can be
> loaded properly, while also nesting HAnimJoints in Blender, and ignoring
> joints and segments fields in HAnimHumanoid.
>
> I feel a bit like John C. from Terminator, saving humanoids from SkyNet.
>
>
> On Sat, Jun 29, 2024 at 10:08 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> Yes, except for JinLOA1scaled1.x3d. Don’t import with the .x3d addon, use
>> the provided python and change the file name.  The default addon does not
>> handle ROUTEs.
>>
>> I will double check the files.
>>
>> John
>>
>> On Sat, Jun 29, 2024 at 6:29 PM Katy Schildmeyer <
>> katy at ksappareldesign.com> wrote:
>>
>>> John, are there supposed to be animations on these when I press play for
>>> them in blender? Otherwise I see the centers and hierarchy when I import as
>>> x3d. Will also test in c4d and etc.
>>>
>>>
>>> Katherine Schildmeyer
>>> KS Apparel Design & Consulting
>>> www.ksappareldesign.com
>>> PH: 503-367-4856
>>> *This message and accompanying documents are covered by the Electronic
>>> Communications Privacy Act, 18 U.S.C. §§ 2510-2521, and contains
>>> information intended for the specified individual(s) only. This information
>>> is confidential. Unless stated to the contrary, any opinions or
>>> comments are personal to the writer and do not represent the official view
>>> of the company. If you are not the intended recipient or an agent
>>> responsible for delivering it to the intended recipient, you are hereby
>>> notified that you have received this document in error and that any review,
>>> dissemination, copying, or the taking of action based on the contents of
>>> this information is strictly prohibited. If you have received this
>>> communication in error, please notify us immediately by e-mail, and delete
>>> the original message.
>>>
>>>
>>> On Sat, Jun 29, 2024 at 5:18 AM John Carlson <yottzumm at gmail.com> wrote:
>>>
>>>> I appear to have solved the problem with the Blender X3D addon (crosses
>>>> fingers).
>>>>
>>>> Perhaps someone is willing to do a final test before I attempt to
>>>> incorporate it into a Blender addon.
>>>>
>>>> I will next try the example on Hanim Jin 20c for loading into Blender.
>>>>
>>>> Thanks for your support.
>>>>
>>>> John
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20240701/06e3fc98/attachment.html>


More information about the X3D-Ecosystem mailing list