Git Product home page Git Product logo

compressed-model-diff's Introduction

compressed-model-diff

一个用于对比模型压缩带来变化的工具在线地址

比如使用 KHR_draco_mesh_compression、KHR_mesh_quantization、EXT_meshopt_compression 等压缩后,希望对比与压缩前渲染效果做对比

支持 3 个对比方式,diff/slide/onion

显示模型对比指标信息

  1. 模型大小
  2. 对象数量
  3. 顶点数量
  4. 三角面数量
  5. 依赖的扩展列表

Demo

压缩工具

KHR_draco_mesh_compression 可使用gltf-pipeline

KHR_mesh_quantization 和 EXT_meshopt_compression 可使用gltfpack

目前发现 quantization 的法线精度丢失会导致纹理偏了,因为只用了 4byte 存储

关于更详细的压缩工具可用性测评可阅读【网格压缩测评】MeshQuan、MeshOpt、Draco

TODO

  1. 计算相机的初始位置
  2. 更加自然的控制,最好可以 FPS 游戏一样

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.