[x3d-public] How’s John? What I’m working on next

Michalis Kamburelis michalis.kambi at gmail.com
Wed Jul 14 02:43:45 PDT 2021


It was last updated in 2017
https://developer.blender.org/source/blender-file/ . There's only a
single developer. TBH this approach is really not the way to export X3D
(or anything else) from Blender, as it is very non-standard. This is
not the way to go, IMO.

If you want to improve Blender -> X3D exporter, then it's really
better to follow the standard approach, approved by Blender devs for
all exporters, and just use the Blender Python API inside Blender --
https://docs.blender.org/api/current/index.html , following my doc
https://docs.google.com/document/d/1ad5XsU43gQGxqC7ehSBr21mdX2dQjKZCSXUQtvRwTHw/edit?usp=sharing
. This approach is standard, maintainable (Blender API exposes all you
need, and Blender devs keep it working), familiar to Python coders in
Blender and accepted by Blender devs (so they'll accept contributions
this way).

Regards,
Michalis




śr., 14 lip 2021 o 07:38 John Carlson <yottzumm at gmail.com> napisał(a):
>
> Does any one have experience with this python package and can recommend it?
> https://pypi.org/project/blender-file/
>
> On Mon, Jul 12, 2021 at 9:54 PM John Carlson <yottzumm at gmail.com> wrote:
>>
>> My first thought is reading .blend files in c/c++ using SDNA.
>>
>> I’ve heard that .blend files are TLV, which leaves me to believe STEP/EXPRESS might be useful if binary is encoded in hexadecimal.   I will make an informed choice on ARM vs Intel endianness.
>>
>> I have downloaded the latest blender source code.
>>
>> So I will begin by tracking down how open files, and see what Blender does.
>>
>> John
>>
>> On Sat, Jul 10, 2021 at 5:19 PM John Carlson <yottzumm at gmail.com> wrote:
>>>
>>>
>>>
>>> I think Blender needs a JSON, XML, STEP/EXPRESS or python dict full export of .blend files.   I do not know if either Collada or glTF support that.  I will probably start working on a native UTF-8 export for Blender.   I believe that Blender will become more useful and open with a full, human readable export, similar to how NeXT’s .nib format got converted to .xib format.   I think there’s still plenty of room for things like typed arrays in webGL and webgpu.   I’m not opposed to dropping into JavaScript or shading language if they can be parsed with an import tool.
>>>
>>> So that’s what I’ll be pursuing.   I don’t think we’ll ever see a good X3D export from Blender unless the Blender team is convinced it’s useful, or if someone starts fresh with the newest Blender API.   I do see usefulness in “outing” the Blender format, and providing an upgrade path for Blender import/export tools.
>>>
>>> I’m guessing the final result will be something like STEP.   Alternatively, I may pursue a “class grammar” as popularized by Cameron Browne on the Ludii project.
>>>
>>> I hope to protect import/export tool writers from the versionitis of the Blender API.   If you’re a good designer or architect, I welcome your effort on my team.
>>>
>>>
>>> John
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org



More information about the x3d-public mailing list