[X3D-Ecosystem] Current state of HAnimSite export

John Carlson yottzumm at gmail.com
Mon Aug 19 08:19:32 PDT 2024


Next is work on colors.  I've not done too much with colors.  Maybe I'll
try more animation.

John
On Mon, Aug 19, 2024 at 8:36 AM John Carlson <yottzumm at gmail.com> wrote:

>
> Here's the loader input and export examples for Jin 20f Billboarded:
>
>
> https://github.com/coderextreme/X3DJSONLD/blob/master/blend/Jin20fBillboard.zip
>
> Contents:
>
> localfinal.py -- loader
> Jin20fBillboarded5.x3d -- input
> Jin20fBillboarded5Export.x3d -- export
> Jin20fBillboarded5_2.bin -- export
> Jin20fBillboarded5_2.gltf -- export
> Jin20fBillboard.blend -- product of loader
>
> Please examine at your convenience:
>
> glTF is very good, minus TouchSensor and Billboard. Either we need to find
> objects in Blender to represent these, or change the glTF export (if there
> are equivalents in glTF).
>
> I see 3 main flaws:
>
> 1) X3D export sites are cut off at the knee?
>

Fixed. Need to work on camera load/export, probably.

>
> 2) I added HAnimSite translation scaling by 0.01.  I haven't checked
> the Blender configuration.  That should be set in the loader.
>

This was fixed.  No longer any need to divide by 100. Change appeared to ba
a switch from matrix_local to matrix_world on export!

>
> 3) FontStyle size is carried over from the load, averaging x,y,z scale
> values, I'm not sure if blender has font size.  X3D has no scaling in
> FontStyle, just size.  We will have to add a Transform outside the Shape.
> This is related to the HAnimSite scale, I think.
>

Fonts aren't great on the X3D export. glTF export looks okay.  Blender
load, etc. looks okay

>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20240819/75f15963/attachment.html>


More information about the X3D-Ecosystem mailing list