[X3D-Ecosystem] Progress on Blender import
John Carlson
yottzumm at gmail.com
Wed Jul 3 10:23:04 PDT 2024
I would like to present what I have for testing transform animation and
HAnim EMPTY loading.
I have essentially two Python files now for loading (not importing)
examples:
This loads simple box animations, with transforms.
X3DJSONLD/blend/localtest/localfinal.py.HAnimNotOK at master ·
coderextreme/X3DJSONLD (github.com)
<https://github.com/coderextreme/X3DJSONLD/blob/master/blend/localtest/localfinal.py.HAnimNotOK>
This loads HAnim with correct joint centers(simple figures, LOA1, not LOA4
and sites due to current memory constraints, which might have workarounds).
No animation is currently loaded because I don't have LOA1 animations.
X3DJSONLD/blend/localtest/localfinal.py.HAnimOK at master ·
coderextreme/X3DJSONLD (github.com)
<https://github.com/coderextreme/X3DJSONLD/blob/master/blend/localtest/localfinal.py.HAnimOK>
I haven't been able to wrap my brain around combining both examples yet,
despite there being probably minimal differences between two functions. I
am primarily using ChatGPT and Claude.ai as a one/two punch.
Unfortunately, these tools tend to trim functionality when new
requirements and examples are added, so it's up to the human (probably me)
at this point. Also, the LLMs don't particularly like combining source
code from different forks either.
When I get a little more motivation, I will work towards putting more human
effort towards combining create_empty() and process_node().
You can test these files by editing them to replace the .x3d file, then
loading them into blender. I normally use bat or shell scripts to launch
Blender with the appropriate python file.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20240703/c5857d6e/attachment.html>
More information about the X3D-Ecosystem
mailing list