Coder Social home page Coder Social logo

Unit test LoadUniVRM fails about sharpgltf HOT 2 CLOSED

vpenades avatar vpenades commented on May 20, 2024
Unit test LoadUniVRM fails

from sharpgltf.

Comments (2)

vpenades avatar vpenades commented on May 20, 2024 1

Yes, I've been adding more validation checks, and it seems that file has malformed morph targets.

I've already reported it here: vrm-c/UniVRM#315

from sharpgltf.

vpenades avatar vpenades commented on May 20, 2024

There's a general problem with glTF today, we could say there's two opposing forces:

On one side, you have developers that want to get working with glTF as soon as possible, so they skip a lot of validations when writing files.

On the other, glTF readers expect the files to be valid.

So in an environment full of invalid glTF files, you have two options:

  1. Be strict and catch invalid glTF files early, so users will report the issues to the appropiate glTF writers so they can fix them, at the cost of not being able to load many glTF files today.
  2. Be forgiving and try to load and amend malformed glTF files. It might look like a good idea because it lets you load most files today. But in the long run it will lead to an invironment full of malformed files floating around.

from sharpgltf.

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.