[x3d-public] Can you get this X3D animation imported into Blender?
John Carlson
yottzumm at gmail.com
Wed Jun 5 00:23:34 PDT 2024
Note that this is a very experimental approach, and does not imply bugs in
anything but the Blender import code that I am struggling with.
Another interesting challenge. Do these "HAnim" files animate in Blender
the same as they do in X3D Browsers? Why or why not? For me in blender,
the joint folds up, so that two boxes overlie each other, But X3D browsers,
well, look at them. Which is right? Either? I guess I'm missing some
constraints?
See attached XML and VRML97 files. Movie of Blender (my addon) is here:
https://coderextreme.net/LOAminus1.mp4
Note that I had to comment out USE nodes in the joints field so they
wouldn't be drawn in Blender. I guess I might have to ignore the joints
field or nodes with containerField="joints" when loading into Blender.
Good catch, Joe!
Yes, castle-model-viewer will complain. The good news is, sunrize now
animates without a joints field.
The X3D-Edit generated .wrl won't animate in castle-model-viewer (there are
errors in the TimeSensor), but strangely enough, the .x3d will. I don't
get it.
Note that TimeSensor.bindTime is used in Blender for the start of the
animation, I'm pretty sure. I don't think bindTime is in the standard.
bindTime is definitely preventing animation in castle-model-viewer. Note:
This is not a bug in castle-model-viewer, it's perfectly ok. No need for a
response.
So now with this "working," are there local rotations in Jin? Not that I
can see! But maybe if I set the Joint's location to the center field?
https://coderextreme.net/WhereDoIGoFromHere.mp4
I'm guessing I need to set a location in the HAnimJoint's blender object at
this point to handle center.
Note that this is a LOA minus 1 model. Not for real use.
Hmm! I guess a more principled approach is now necessary.
John
On Wed, Jun 5, 2024 at 12:32 AM John Carlson <yottzumm at gmail.com> wrote:
> No progress on HAnim imports. I will now create an extremely simple LOA
> minus 1 example, similar to the 3 box model. We'll see if there will be
> another challenge.
>
> Hmm!
>
> John
>
> On Wed, Jun 5, 2024 at 12:19 AM John Carlson <yottzumm at gmail.com> wrote:
>
>> Doug, please direct me how to start the animation in FreeWRL. I'm
>> guessing it's in the Launcher. I will try looking. Nothing pops out.
>> Files are attached.
>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240605/475cade6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localLOAminus1.x3d
Type: application/octet-stream
Size: 2586 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240605/475cade6/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localLOAminus1.wrl
Type: application/octet-stream
Size: 7197 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240605/475cade6/attachment-0003.obj>
More information about the x3d-public
mailing list