[x3d-public] Fwd: Can you get this X3D animation imported into Blender?

John Carlson yottzumm at gmail.com
Tue Jun 11 21:12:34 PDT 2024


---------- Forwarded message ---------
From: John Carlson <yottzumm at gmail.com>
Date: Tue, Jun 11, 2024 at 11:03 PM
Subject: Re: Can you get this X3D animation imported into Blender?
To: Joe D Williams <joedwil at earthlink.net>


Did you ever look at HAnimJoint center output from blender during
WinterAndSpring project?

Blender bones have joint centers for their heads and tails.

This seems to be a way forward, and hopefully we’ll be able to attach
empties to bones and armature:

https://blender.stackexchange.com/questions/308924/attach-axe-to-bone-in-blender-python-api


Summary:


mesh_obj.parent = empty_obj

empty_obj.parent = armature_obj
empty_obj.parent_bone = bone_name
empty_obj.parent_type = 'BONE'



If this works, we’ll have to tackle animation.

OK?

Nothing renders because Jin 20 has no mesh or animation.

The hierarchy is great, though?

Now you know why I was trying to combine HAnim exports with glTF.
Ultimately, I had to export my own weights, and shifted to pure X3D exports.

John


On Tue, Jun 11, 2024 at 9:11 PM Joe D Williams <joedwil at earthlink.net>
wrote:

> did you ever read or try any of these?
>
>
>
>                     <Transform DEF="hanim_pelvis_TRANSFORM"
>                                translation="0.000000 0.000000 0.000000"
>                                scale="1.000000 1.000000 1.000000"
>                                rotation="0.000000 1.000000 0.000000
> 0.000000"
>                                >
>
>
>
> The x3d exports do not use joint center in the transform
>
> and nothing renders.
>
> Obviously if center is not available there is another deep problem.
>
> If no center, what to do?
>
>
>
> Joe
>
> -----Original Message-----
> From: John Carlson <yottzumm at gmail.com>
> Sent: Jun 11, 2024 3:36 PM
> To: Joe D Williams <joedwil at earthlink.net>
> Cc: Carol McDonald <cemd2 at comcast.net>, GPU Group <gpugroup at gmail.com>,
> Katy Schildmeyer KS APPAREL DESIGN <katy at ksappareldesign.com>, X3D
> Graphics public mailing list <x3d-public at web3d.org>
> Subject: Re: Can you get this X3D animation imported into Blender?
>
>
> Here are the Blender exports, from glTF/.bin exporter, x3d exporter and
> x3dv exporter.  So you can see that the hierarchy is exported for Jin 20.
> Is there anything else you want me to do, except what I previously
> outlined?
>
> Thanks!
>
> John
>
> On Tue, Jun 11, 2024 at 12:38 PM Joe D Williams <joedwil at earthlink.net>
> wrote:
>
>> I think the most important is to figure out how to get blender to export
>> the stuff we need, hierarchy, shapes, and animations. These are all gltf
>> asset types that blender should support. We would like a direct export of
>> x3d syntax, but the gltf will be testable since a couple of browsers say
>> they can import.
>>
>>
>>
>> There should be a way to import the last transform hierarchy example you
>> showed.
>>
>> That is a fine example that should show some patterns in the blender
>> data.
>>
>> Study the gltf assets along with other json to see what we can use.
>>
>>
>>
>> So, I would like to see import/export of last jin-like no geometry loa4
>> example skeleton I sent, but a main item to advance x3d hanim and blender
>> would be to get the ASCII exports of gltf and related working. For the
>> .blend or from the internal stores the basic stuff for hierarchy, geometry,
>> and animation are in there just needing to be extracted. The gltf and
>> related are supposed to help us get these data types.
>>
>> Otherwise, the main item would be to either import or type in a testable
>> loa4 hierarchy skeleton, then figure out how to export it back to x3d.
>> It would be ok to settle for gltf instead of pure x3d syntax.
>>
>>
>>
>> What other work in x3d-to/from-blender is available?
>>
>>
>>
>> Thanks,John.
>>
>> Joe
>>
>>
>>
>> -----Original Message-----
>> From: John Carlson <yottzumm at gmail.com>
>> Sent: Jun 10, 2024 1:13 PM
>> To: Carol McDonald <cemd2 at comcast.net>, GPU Group <gpugroup at gmail.com>,
>> Joe D Williams <joedwil at earthlink.net>
>> Cc: Katy Schildmeyer KS APPAREL DESIGN <katy at ksappareldesign.com>, X3D
>> Graphics public mailing list <x3d-public at web3d.org>
>> Subject: Re: Can you get this X3D animation imported into Blender?
>>
>>
>> First off, I asked for priorities to work on.  Blender was one of the top
>> priorities.  So I’m working on it.  If you are not interested, I will stop
>> sending to you messages.  Only a couple of people responded.
>>
>> If you have something higher priority than Blender, that you are invested
>> in, please bring it up.
>>
>> John
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240611/bbddc70b/attachment-0001.html>


More information about the x3d-public mailing list