Menu

#48 DEF and USE flipped in JSON and XML output from X3DJSAIL app.

X3D4
open
None
2025-08-11
2025-08-11
No

DEF and USE are flipped in output from Java program, but OK in Java original XML and JSON.

See ballcge.new.java.x3d and ballcge.new.java.json output to see that DEF and USE are flipped from the originals.

Attaching a zip of data.

1 Attachments

Discussion

  • John W Carlson

    John W Carlson - 2025-08-11

    Also, see results from X3dToJava.xslt stylesheet

     
  • Don Brutzman

    Don Brutzman - 2025-08-11

    Can you please use examples from the X3D Example Archives to demonstrate a problem. This greatly simplifies the ability to test and correct problems using proven-valid content. Other examples are a lot more work and error prone. Zipping makes them that much harder to access and review. TIA.

    p.s. if a relevant example cannot be found, that is an indicator that such an example might be needed in the archives. X_ITE, X3DOM and Castle Model Viewer have many more examples that might be suitable additions.

     

    Last edit: Don Brutzman 2025-08-11
    • John W Carlson

      John W Carlson - 2025-08-11

      There aren’t that many ComposedShader examples which take a skybox. WhaI
      can try is putting CubeMap inside the Shader.

      I meant to say searching for “texture” will help a lot.

      John

       
  • Don Brutzman

    Don Brutzman - 2025-08-11

    Often an even-better and simpler way to document and test is by using SmokeTestProgram.java (www.web3d.org) which is specifically designed to capture, demonstrate, generate, regression-test, and repeatably archive useful test cases. For further details and explanation please see X3DJSAIL: Testing.

     

    Last edit: Don Brutzman 2025-08-11

Log in to post a comment.

MongoDB Logo MongoDB