<div dir="auto">This folder contains my “simple” x3d animations, and python to load into Blender.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/coderextreme/X3DJSONLD/tree/master/blend/localtest">https://github.com/coderextreme/X3DJSONLD/tree/master/blend/localtest</a></div><br></div><div dir="auto">If you want to load them all, look at the .bat or .sh. You will have to configure. I suggest downloading this folder, not all of X3DJSONLD.</div><div dir="auto"><br></div><div dir="auto">Last I checked, the python files are only dependent on Blender itself, no importer or exporter needed.</div><div dir="auto"><br></div><div dir="auto">The goal is to work out patterns that can be applied to an importer.</div><div dir="auto"><br></div><div dir="auto">Mostly these contain rotations.</div><div dir="auto"><br></div><div dir="auto">By all means, try testing with my exporter, or modify the existing exporter!</div><div dir="auto"><br></div><div dir="auto">John</div><div><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Dec 27, 2024 at 7:23 PM Michalis Kamburelis via x3d-public <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Vincent and all,<br>
<br>
( Sorry it took me a while -- Christmas times are busy in offline<br>
activities :) )<br>
<br>
1. I prepared the promised tests of texture transformation in Blender,<br>
to help implementing their handling in the Blender -> X3D exporter.<br>
<br>
They are inside the "blender_tests/texture_transform/" of my<br>
repository <a href="https://github.com/michaliskambi/x3d-tests/" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/</a> . Browse them<br>
through here <a href="https://github.com/michaliskambi/x3d-tests/tree/master/blender_tests/texture_transform" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/tree/master/blender_tests/texture_transform</a><br>
. To just download them, it's probably easiest to "git clone" the<br>
whole x3d-tests repo.<br>
<br>
The README inside (<br>
<a href="https://github.com/michaliskambi/x3d-tests/blob/master/blender_tests/texture_transform/README.md" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/blob/master/blender_tests/texture_transform/README.md</a><br>
) already describes everything. A short summary:<br>
<br>
- I tested transforming base, normal, metallic/roughness textures<br>
(same or differently).<br>
<br>
- I added a "real-life example" of using texture transformation (from<br>
Castle Game Engine "examples/fps_game" demo,<br>
<a href="https://github.com/castle-engine/castle-engine/tree/master/examples/fps_game" rel="noreferrer" target="_blank">https://github.com/castle-engine/castle-engine/tree/master/examples/fps_game</a><br>
).<br>
<br>
- I added glTF exporter outputs, screenshots from Blender, Castle<br>
Model Viewer -> hopefully this all makes it clear what is the desired<br>
output.<br>
<br>
- TODO: I planned to do, but did not do this: I wanted to create a<br>
"desired" X3D files, crafted by hand, to show how a proper X3D output<br>
should look like. Not done yet, simply because of lack of time. I<br>
don't want to keep you waiting, so I send you the tests as they are<br>
now. Ping me if you think you need these "desired" X3D files :)<br>
<br>
2. Moreover, I added tests for per-vertex colors.<br>
<br>
This shows per-vertex colors generated using Blender's "Ambient<br>
Occlusion" (make areas e.g. behind ears nicely darker even without<br>
using real-time shadows) and how they can be multiplied with<br>
material(s) in glTF. This is a feature we talked about -- you<br>
mentioned you wanted to implement it by "premultiplying" the material<br>
* per-vertex color. Hopefully my tests will help make sure it's all<br>
correct :)<br>
<br>
They are in:<br>
<br>
<a href="https://github.com/michaliskambi/x3d-tests/tree/master/blender_tests/per_vertex_colors" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/tree/master/blender_tests/per_vertex_colors</a><br>
<br>
Again, I added glTF exporter outputs, screenshots from Blender, Castle<br>
Model Viewer -> showing what should happen.<br>
<br>
I hope these are useful! Let me know if anything in this is unclear.<br>
<br>
Regards,<br>
Michalis<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>