Giter Site home page Giter Site logo

order changed after decode? about draco HOT 6 CLOSED

saedrna avatar saedrna commented on August 18, 2024
order changed after decode?

from draco.

Comments (6)

ondys avatar ondys commented on August 18, 2024 1

@mlenta
Skinning weights (or any other vertex attribute) should be encoded as a separate generic attribute inside the mesh. This way, their order is going to match the order of vertices of the decoded mesh.

from draco.

saedrna avatar saedrna commented on August 18, 2024 1

@themmes Draco wins, but is lossy.

from draco.

ondys avatar ondys commented on August 18, 2024

Yes you are right, the order of the points is not preserved for the options that you selected.

Try setting the speed options to: SetSpeedOptions(&options, 10, 10);

anything below 10 currently uses kD-tree compression method which provides better compression but is not order preserving. 10 will use a simple delta + entropy coding on the input points, which is an order preserving approach but the compression ratio is going to be worse.

from draco.

saedrna avatar saedrna commented on August 18, 2024

Thanks. In fact I do not care about the order in practice, so maybe I could try nn search to test the accuracy.

from draco.

1f0 avatar 1f0 commented on August 18, 2024

It would be really useful if Draco can export vertices order correspondence between uncompressed mesh and origin one. For example, skinning weight data will be useless if the order is lost.

from draco.

themmes avatar themmes commented on August 18, 2024

off-topic: @saedrna can you say something about compression rate differences between Draco Pointcloud and LAZ format?

from draco.

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.