<div dir="auto">Interestingly enough, we can convert glTF to X3D XML and thus to X3D JSON , I believe.   So there’s kind of a competition between the two JSON encodings.</div><div dir="auto"><br></div><div dir="auto">I assume that if Web3D accepts a standard, we can use the standard like any other X3D standard?</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 29, 2020 at 12:19 PM Don Brutzman <<a href="mailto:brutzman@nps.edu">brutzman@nps.edu</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)">Meeting today: Michalis Dick Don, regrets (and feedback) from Andreas.<br><br><br><br>Michalis has the following .x3dv examples prepared:<br><br><br><br>[6] michaliskambi > x3d-tests > pbr<br><br>     <a href="https://github.com/michaliskambi/x3d-tests/tree/master/pbr" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/tree/master/pbr</a><br><br><br><br>He graciously agreed to export XML .x3d versions as well so I don't spend time (or make errors) transcribing them in preparation for regression testing.<br><br><br><br>He will also add screenshots for each model so that everyone knows what expected rendering looks like.<br><br><br><br>We hope that this really facilitates other X3D4 implementations and encourages consistent presentation.<br><br><br><br>The above examples are all authored by Michalis and in open source, some textures are by others and given appropriate credit.<br><br><br><br>On 9/29/2020 7:32 AM, Don Brutzman wrote:<br><br>> With X3D XML Schema and DOCTYPE complete, and X3D Schematron rules addable without too much difficulty, we're ready for next steps.<br><br>> <br><br>> As part of examples improvements, am hoping to put them in our archives so that regression testing can be performed.<br><br>> <br><br>> [1] X3D Resources, Example Archives<br><br>>      <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples" rel="noreferrer" target="_blank">https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples</a><br><br>> <br><br>> May I suggest that we create an PhysicallyBasedRendering section directory for these at<br><br>> <br><br>> [2] X3D for Advanced Modeling (X3D4AM) Examples Archive<br><br>>      <a href="https://x3dgraphics.com/examples/X3dForAdvancedModeling/" rel="noreferrer" target="_blank">https://x3dgraphics.com/examples/X3dForAdvancedModeling/</a><br><br><br><br>We agreed to put copies of them there, matching and in open source (of course).  Thank you Michalis.<br><br><br><br>> Wondering, where might I find the examples you've shown?  Am looking at<br><br>> <br><br>> [3] michaliskambi > x3d-tests ><br><br>>      Include PBR (PhysicalMaterial and related concepts) in the official X3D specification<br><br>>      <a href="https://github.com/michaliskambi/x3d-tests/wiki/Include-PBR-%28PhysicalMaterial-and-related-concepts%29-in-the-official-X3D-specification" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/wiki/Include-PBR-%28PhysicalMaterial-and-related-concepts%29-in-the-official-X3D-specification</a><br><br>> <br><br>> and then<br><br>> <br><br>> [4] michaliskambi > x3d-tests > Converting glTF to X3D<br><br>>      <a href="https://github.com/michaliskambi/x3d-tests/wiki/Converting-glTF-to-X3D" rel="noreferrer" target="_blank">https://github.com/michaliskambi/x3d-tests/wiki/Converting-glTF-to-X3D</a><br><br>> <br><br>> and then<br><br>> <br><br>> [5] castle-engine > demo-models > glTF > sample models for Castle Game Engine<br><br>>      <a href="https://github.com/castle-engine/demo-models/tree/master/gltf" rel="noreferrer" target="_blank">https://github.com/castle-engine/demo-models/tree/master/gltf</a><br><br>> <br><br>> Wondering how to establish a baseline.  Might it be possible to use Castle Engine to Inline load each of these gltf examples and save each one of them back out as X3D?<br><br><br><br>He confirmed that, rather than Inline (which would be preserved verbatim on saving) it is possible to<br><br>- open a glTF model in view3dscene, then<br><br>- save as X3D<br><br><br><br>An update to the following converter is in progress to match the latest X3D4 node signatures, will be finished soon.  At that point anyone can perform this step via<br><br><br><br>[7] Castle Game Engine: Convert everything to X3D<br><br>     <a href="https://castle-engine.io/convert.php" rel="noreferrer" target="_blank">https://castle-engine.io/convert.php</a><br><br><br><br>We will work on those Khronos-provided glTF examples after adapting his existing examples for regression testing.<br><br><br><br>> Primary format in the example archives is XML .x3d file encoding, preforming maximum validations, then all other variants are then converted from that in order to check proper X3D representations in X3DOM, X_ITE, ClassicVRML, JSON, EXI, Java, Python, Turtle, and pretty-print HTML documentation.<br><br><br><br>Interestingly X_ITE and X3DOM versions are automatically provided as part of this Web3D Examples Archive endeavor.  Helpful for checking.<br><br><br><br>> Looking forward to getting into pair-wise production and publication together.<br><br>Additional implementations: the past week's work on XML Schema and X3DUOM have each provided significant implementation checks that the interface hierarchy is coherent and consistent, without internal contradictions.  X3D Tooltips add clarity and link to various representations.  X3D Validator provides error checking.<br><br><br><br>[8] X3D Specifications: Schema and DOCTYPE Validation<br><br>     <a href="https://www.web3d.org/specifications" rel="noreferrer" target="_blank">https://www.web3d.org/specifications</a><br><br>     <a href="https://www.web3d.org/specifications/X3dSchemaDocumentation4.0/x3d-4.0.html" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3dSchemaDocumentation4.0/x3d-4.0.html</a><br><br>     <a href="https://www.web3d.org/specifications/X3dDoctypeDocumentation4.0.html" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3dDoctypeDocumentation4.0.html</a><br><br><br><br>[9] X3D Unified Object Model (X3DUOM) v4<br><br>     <a href="https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml</a><br><br><br><br>[10] X3DJSAIL: X3D Java Scene Access Interface Library<br><br>      <a href="https://www.web3d.org/specifications/java/X3DJSAIL.html" rel="noreferrer" target="_blank">https://www.web3d.org/specifications/java/X3DJSAIL.html</a><br><br><br><br>[11] X3D Validator<br><br>      <a href="https://savage.nps.edu/X3dValidator" rel="noreferrer" target="_blank">https://savage.nps.edu/X3dValidator</a><br><br><br><br>Next: Dick and I will work on clarifying X3D4 specification prose further in a follow-on session this week.<br><br><br><br>The three of us all think it is fair to say that the PBR design is now complete and correct.  All of our major questions are answered satisfactorily. We are next pursuing implementation and evaluation of examples to confirm that conclusion. This work is already implemented in open-source Castle Game Engine / view3dscene.<br><br><br><br>Suggest that other rendering implementations can now proceed with a high degree of confidence that integration of glTF, physically based rendering (PBR) and non-photorealistic rendering (NPR) is feasible and ready for implementation by other X3D4 players.<br><br><br><br>Again thanks to Michalis for superlative design/implementation efforts, again thanks to everyone who helped with many questions critiques and contributions.  Totally impressive team effort.<br><br><br><br>On our way... Have fun with advanced rendering in X3D4!!  8)<br><br><br><br>all the best, Don<br><br>-- <br><br>Don Brutzman  Naval Postgraduate School, Code USW/Br       <a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a><br><br>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149<br><br>X3D graphics, virtual worlds, navy robotics <a href="http://faculty.nps.edu/brutzman" rel="noreferrer" target="_blank">http://faculty.nps.edu/brutzman</a><br><br><br><br>_______________________________________________<br><br>x3d-public mailing list<br><br><a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br><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><br></blockquote></div></div>