[x3d-public] DiamondManLOA0
Andreas Plesch
andreasplesch at gmail.com
Thu Nov 2 12:51:40 PDT 2023
> Date: Thu, 2 Nov 2023 12:41:22 +0100
> From: Michalis Kamburelis <michalis.kambi at gmail.com>
> To: John Carlson <yottzumm at gmail.com>
> Cc: X3D Graphics public mailing list <x3d-public at web3d.org>, Don
> Brutzman <brutzman at nps.edu>
> Subject: Re: [x3d-public] DiamondManLOA0
>
> We haven't yet updated CGE/view3dscene to honor new
> MetadataXxx.containerField behavior in X3D 4.
>
> This is tracked in issue
> https://github.com/castle-engine/view3dscene/issues/78 . You can
> "subscribe" to this issue on GitHub to be notified when it's done.
>
> It just waits for me to have a bit of time to do it (and experiment
> with different possible approaches to implement it). But I know what
> to do, no problem there, I just need time :)
>
> Regards,
> Michalis
It would be relatively straightforward to postprocess with perl, awk,
javascript, python etc. the X3D4 xml to add containerField='value'
attributes for Metadata* nodes which do not yet have an explicit
containerField.
something like:
awk:
$0 ~ "<Metadata" && $0 !~ "containerField="
{
sub("<Metadata[^ ]*","& containerField='value'")
}
{ print }
Note that this requires the containerField attribute to be on the same
line as the opening tag which should be verified.
-Andreas
--
Andreas Plesch
Waltham, MA 02453
More information about the x3d-public
mailing list