Giter Site home page Giter Site logo

Comments (3)

JeanPhilippeKernel avatar JeanPhilippeKernel commented on August 24, 2024

Can I take it ? , how I can work on it ?

from gltf-sdk.

donno avatar donno commented on August 24, 2024

Is this issue valid? For glTF 2.0, based on the following paragraph from the specification it seems it isn't. That is to say, they shouldn't have double precision.

accessor.min and accessor.max properties are arrays that contain per-component minimum and maximum values, respectively. Exporters and loaders must treat these values as having the same data type as accessor's componentType, i.e., use integers (JSON number without fractional part) for integer types and use floating-point decimals for 5126 (FLOAT). - Reference

The implementation note that follows also mentions in JavaScript the recommendation is to round to the nearest 32-bit single precision float.

If accessor.componentType could be a double-precision float then it should be able to have double precision min and max but that isn't allowed.

from gltf-sdk.

bghgary avatar bghgary commented on August 24, 2024

I tend to agree. This doesn't seem like something we should support.

from gltf-sdk.

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.