Giter VIP home page Giter VIP logo

Comments (2)

create3000 avatar create3000 commented on June 16, 2024

This is caused when the Texturing3D component is loaded. Texturing3D has two dependencies CharLS and OpenJPEG, which are emscripten libraries, and these libraries generate the error. I still have no idea how to avoid the error, it is not critical, more an info.

But there is a way how to avoid loading the Texturing3D component. If you set a profile attribute to the X3D element, that does not include the Texturing3D component, then the error would not occur. See https://www.web3d.org/documents/specifications/19775-1/V4.0/index.html. I think profile Immersive of Interactive would be appropriate for the main cases. If you need additional components then add them to the header element.

Actually the profile attribute is required by the DTD, but if omitted profile Full is used in X_ITE. Which is not always what you want and load time of X_ITE is maximum.

from x_ite.

jamesleesaunders avatar jamesleesaunders commented on June 16, 2024

Great! Thanks for quick reply. I have now added profile = Interactive for default on d3-x3d
Fixed by commit:
jamesleesaunders/d3-x3d@b0e02a7

No more Testure warnings.

Adding this profile may help with performance and also when using d3-x3d with x3dom.js. Win win!
Thanks!

from x_ite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.