Skip to content

CesiumMan conversion by Castle Model Viewer, Save As .x3d #127

@brutzman

Description

@brutzman

Following up on preceding issue 125, we tried to perform CesiumMan conversion by Castle Model Viewer, Save As .x3d

a. Initial conversion successful.

b. Castle Model Viewer able to run result without problem.

c. X3D Validator in X3D-Edit reports the following problems.

--------- X3D Validator checks commenced for CesiumManCastleSaveAsX3D.x3d ---------

Performing well-formed XML check...
Checking file:/C:/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/CesiumManCastleSaveAsX3D.x3d...
Well-formed XML check: pass

Performing DOCTYPE check...
[X3dDoctypeChecker] success: valid XML declaration found.[X3dDoctypeChecker] success: final X3D 4.0 DOCTYPE found.

Performing DTD validation...
Checking file:/C:/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/CesiumManCastleSaveAsX3D.x3d...
Referenced entity at "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd".
Referenced entity at "http://www.w3.org/2001/XMLSchema.dtd".
Referenced entity at "jrt:/java.xml/jdk/xml/internal/jdkcatalog/w3c/dtd/schema10/datatypes.dtd".
Attribute "collision" must be declared for element type "Shape".
cvc-complex-type.3.2.2: Attribute 'collision' is not allowed to appear in element 'Shape'.
Attribute "flipVertically" must be declared for element type "ImageTexture".
cvc-complex-type.3.2.2: Attribute 'flipVertically' is not allowed to appear in element 'ImageTexture'.
Attribute "keyValueQuaternions" must be declared for element type "OrientationInterpolator".
[... multiple instances ...]
Too many errors, stopping further checking.
XML DTD validation: fail!

Performing X3D schema validation...
Checking file:/C:/x3d-code/www.web3d.org/x3d/content/examples/HumanoidAnimation/Skin/CesiumManCastleSaveAsX3D.x3d...
Referenced entity at "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd".
Referenced entity at "http://www.w3.org/2001/XMLSchema.dtd".
Referenced entity at "jrt:/java.xml/jdk/xml/internal/jdkcatalog/w3c/dtd/schema10/datatypes.dtd".
Attribute "collision" must be declared for element type "Shape".
cvc-complex-type.3.2.2: Attribute 'collision' is not allowed to appear in element 'Shape'.
Attribute "flipVertically" must be declared for element type "ImageTexture".
cvc-complex-type.3.2.2: Attribute 'flipVertically' is not allowed to appear in element 'ImageTexture'.
Attribute "keyValueQuaternions" must be declared for element type "OrientationInterpolator".
cvc-complex-type.3.2.2: Attribute 'keyValueQuaternions' is not allowed to appear in element 'OrientationInterpolator'.
[... multiple instances ...]
Too many errors, stopping further checking.
XML schema validation: fail!

Performing X3D regular expression (regex) values check...
X3D regex check: complete

Performing X3D Schematron check...
doesn't match contained nodes, increase profile or add needed statements [/X3D, error]
definition is insufficient since nodes in scene have actual profile='Immersive' [/X3D, info]
definition is insufficient since nodes in scene have actual profile='CADInterchange' [/X3D, info]
definition is insufficient since nodes in scene have actual profile='MedicalInterchange' [/X3D, info]
definition is insufficient since nodes in scene have actual profile='Immersive', so ensure statements are sufficient to provide coverage [/X3D, info]
definition is insufficient since nodes in scene have actual profile='CADInterchange', so ensure statements are sufficient to provide coverage [/X3D, info]
definition is insufficient since nodes in scene have actual profile='MedicalInterchange', so ensure statements are sufficient to provide coverage [/X3D, info]
X3D version 4.0 was approved by Web3D Consortium and ISO in 2023.[/X3D, diagnostic]
X3D version 4.0 offers many new features including interoperability with HTML5, glTF 2.0 Physically Based Rendering (PBR), and Web Audio API.[/X3D, diagnostic]
Missing X3D filename in meta tag, should appear as [/X3D/head, warning]
Correct url for X3D file should appear in [/X3D/head, warning]
Missing X3D scene description in meta tag, should appear as [/X3D/head, info]
element has no child node [/X3D/Scene/Transform/Transform/Transform[1]/Transform[1]/Transform/Transform[1]/Transform, warning]
element has no child node [/X3D/Scene/Transform/Transform/Transform[1]/Transform[1]/Transform/Transform[2]/Transform/Transform, warning]
element has no child node [/X3D/Scene/Transform/Transform/Transform[1]/Transform[1]/Transform/Transform[3]/Transform/Transform, warning]
element has no child node [/X3D/Scene/Transform/Transform/Transform[1]/Transform[2]/Transform/Transform/Transform, warning]
element has no child node [/X3D/Scene/Transform/Transform/Transform[1]/Transform[3]/Transform/Transform/Transform, warning]
has 0 component statements with X3D profile='Interchange', but requires at least or [/X3D/Scene/Transform/Transform/Transform[1]/Group/Shape/Appearance/PhysicalMaterial, error]
url array address(es) missing online http/https references (url='"CesiumMan_img0.jpg"') [/X3D/Scene/Transform/Transform/Transform[1]/Group/Shape/Appearance/PhysicalMaterial/ImageTexture, info]
requires generateMipMaps='true' since minificationFilter='NEAREST_PIXEL_AVG_MIPMAP' mode indicates MIPMAP rendering [/X3D/Scene/Transform/Transform/Transform[1]/Group/Shape/Appearance/PhysicalMaterial/ImageTexture/TextureProperties, error]
element has no child node [/X3D/Scene/Transform/Transform/Transform[2], warning]
not handled correctly by X3D schematron rule, or else node name has unrecognized spelling that fails X3D DTD/Schema validation... [/X3D/Scene/ValueTrigger, error]
has 0 component statements with X3D profile='Interchange', but requires at least or [/X3D/Scene/EXPORT[1], error]

--------- X3D Validator checks complete for CesiumManCastleSaveAsX3D.x3d ---------

d. Ran X3D Canonicalization (C14N) to normalize whitespace. Everything still ran OK.

e. Noticed that you have profile='Interactive' which is way insufficient. Recommend profile='Full' or else figure out necessary components and use profile='Immersive'.

We changed profile='Full' and it rendered/animated OK.

f. Soon it will be possible to change this to X3D version 4.1, if working group agrees to pursue Skin node. Otherwise this model will be a special extension.

Still need to fix invalid X3D constructs so that this model is more portable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions