[x3d-public] X3DJSAIL/X3DJSONLD.java how to fix JsonConversion for modules.
John Carlson
yottzumm at gmail.com
Sat Apr 3 11:55:28 PDT 2021
I finally found the X3DJSAIL XML output from JsonConversion, so things
seem to be somewhat working in the Java program. Next email will be the
intermediate results produced by X3DJSONLD.
Round-tripping is very sad:
c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/examples$ diff -w
Json.x3d ../../examples/HelloWorldProgramOutput.x3d
40,42d39
< <meta content='04 February 2021' name='translated'/>
< <meta content='X3dToJson.xslt,
https://www.web3d.org/x3d/stylesheets/X3dToJson.html' name='generator'/>
< <meta content='X3D JSON encoding:
https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding' name='reference'/>
44a42
> <MetadataSet name='topLevelSceneMetadata'/>
312a311,313
> <ProtoInstance DEF='Proto1' name='NewWorldInfo'>
> <fieldValue name='description' value='testing 1 2 3'/>
> </ProtoInstance>
315a317
> <ProtoInstance DEF='Proto3' name='NewWorldInfo'/>
351c353,355
< <DISEntityManager/>
---
> <DISEntityManager>
> <DISEntityTypeMapping/>
> </DISEntityManager>
359c363,365
< <DISEntityManager/>
---
> <DISEntityManager>
> <DISEntityTypeMapping/>
> </DISEntityManager>
362a369,381
> <Anchor USE='siteAnchor'/>
> <Inline USE='inlineScene'/>
> <DISEntityTypeMapping/>
> <GeoMetadata/>
> <AudioClip containerField='children'/>
> <ImageCubeMapTexture containerField='children'/>
> <ImageTexture3D containerField='children'/>
> <ImageTexture containerField='children'/>
> <MovieTexture containerField='children'/>
> <Script/>
> <PackagedShader containerField='children'/>
> <ShaderPart containerField='children'/>
> <ShaderProgram containerField='children'/>
More information about the x3d-public
mailing list