[x3d-public] Interesting Khronos glTF 2.0 extensions (Phase 2) coming soon to your pipeline

John Carlson yottzumm at gmail.com
Thu Jul 22 02:30:22 PDT 2021


When converting to JSON from XML produced by tovrmlx3d:

glTF source here:

https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/IridescentDishWithOlives 
(Phase 2 PBR, I'm fairly sure).

Michalis, can you run your tovrmlx3d against the .gltf file to produce 
an .x3d file and validate against the X3D Validator?

Someone's running a test between different glTF viewers here: 
https://cx20.github.io/gltf-test/  X3DOM appears!

The next message will contain console output from my X3DJSONLD page.

Thanks,

John

translating to json
BEGIN ../data/IridescentDishWithOlives.x3d > json, Warning: 
X3dToJson.xslt attribute type not found for Appearance alphaMode
Error: X3dToJson.xslt converter not finding element-attribute type for 
Appearance alphaMode
Error: IllegalChildNodeFieldNameNotFound no containerField or field name 
found for the X3D JSON object. Check spelling of node.
   $elementName=PhysicalMaterial, $parentName=Appearance
   Please report this error to x3d-public at web3d.org - thanks for your 
help improving X3D Quality Assurance (QA).
Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial 
occlusionTextureMapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
PhysicalMaterial occlusionTextureMapping
Warning: X3dToJson.xslt attribute type not found for ImageTexture 
flipVertically
Warning: X3dToJson.xslt attribute type not found for ColorRGBA mode
Error: X3dToJson.xslt converter not finding element-attribute type for 
ColorRGBA mode
Warning: X3dToJson.xslt attribute type not found for TextureCoordinate 
mapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
TextureCoordinate mapping
Warning: X3dToJson.xslt attribute type not found for Appearance alphaMode
Error: X3dToJson.xslt converter not finding element-attribute type for 
Appearance alphaMode
Error: IllegalChildNodeFieldNameNotFound no containerField or field name 
found for the X3D JSON object. Check spelling of node.
   $elementName=PhysicalMaterial, $parentName=Appearance
   Please report this error to x3d-public at web3d.org - thanks for your 
help improving X3D Quality Assurance (QA).
Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial 
normalTextureMapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
PhysicalMaterial normalTextureMapping
Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial 
baseTextureMapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
PhysicalMaterial baseTextureMapping
Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial 
metallicRoughnessTextureMapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
PhysicalMaterial metallicRoughnessTextureMapping
Warning: X3dToJson.xslt attribute type not found for PhysicalMaterial 
occlusionTextureMapping
Error: X3dToJson.xslt converter not finding element-attribute type for 
PhysicalMaterial occlusionTextureMapping
Warning: X3dToJson.xslt attribute type not found for ImageTexture 
flipVertically
Warning: X3dToJson.xslt attribute type not found for ImageTexture 
flipVertically
Warning: X3dToJson.xslt attribute type not found for ImageTexture 
flipVertically
Warning: X3dToJson.xslt attribute type not found for ImageTexture 
flipVertically
Warning: X3dToJson.xslt attribute type not found for ColorRGBA mode
Error: X3dToJson.xslt converter not finding element-attribute type for 
ColorRGBA mode
Error: IllegalChildNodeFieldNameNotFound no containerField or field name 
found for the X3D JSON object. Check spelling of node.
   $elementName=Tangent, $parentName=IndexedTriangleSet
   Please report this error to x3d-public at web3d.org - thanks for your 
help improving X3D Quality Assurance (QA).
Warning: X3dToJson.xslt attribute type not found for Tangent vector
FATAL ../data/IridescentDishWithOlives.x3d > 
../data/IridescentDishWithOlives.json
java.lang.OutOfMemoryError: Java heap space
         at java.base/java.util.Arrays.copyOfRange(Arrays.java:3821)
         at 
java.base/java.lang.StringLatin1.newString(StringLatin1.java:764)
         at java.base/java.lang.String.substring(String.java:1908)
         at java.base/java.lang.String.substring(String.java:1876)
         at 
net.sf.saxon.functions.SubstringAfter.substringAfter(SubstringAfter.java:63)
         at 
net.sf.saxon.functions.SubstringAfter.call(SubstringAfter.java:36)
         at 
net.sf.saxon.functions.SubstringAfter.call(SubstringAfter.java:22)
         at net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:546)
         at 
net.sf.saxon.expr.parser.ExpressionTool.evaluate(ExpressionTool.java:325)
         at 
net.sf.saxon.expr.instruct.WithParam.getSelectValue(WithParam.java:325)
         at 
net.sf.saxon.expr.instruct.Instruction.assembleParams(Instruction.java:211)
         at 
net.sf.saxon.expr.instruct.CallTemplate.processLeavingTail(CallTemplate.java:395)
         at 
net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
         at 
net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:835)
         at 
net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
         at 
net.sf.saxon.expr.instruct.NamedTemplate.expand(NamedTemplate.java:257)
         at 
net.sf.saxon.expr.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:512)
         at 
net.sf.saxon.expr.instruct.CallTemplate.process(CallTemplate.java:358)
         at 
net.sf.saxon.expr.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:330)
         at 
net.sf.saxon.expr.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:54)
         at 
net.sf.saxon.expr.parser.ExpressionTool.evaluate(ExpressionTool.java:313)
         at net.sf.saxon.expr.LetExpression.eval(LetExpression.java:500)
         at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:702)
         at 
net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
         at 
net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:835)
         at 
net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
         at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:711)
         at 
net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:653)
         at 
net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:835)
         at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:711)
         at 
net.sf.saxon.expr.instruct.Choose.processLeavingTail(Choose.java:835)
         at 
net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:711)





More information about the x3d-public mailing list