Giter VIP home page Giter VIP logo

mvc-cloning-and-qem-mesh-simplification's Introduction

MVC Cloning and Mesh Simplification

MVC Cloning

Usage

.\mvc --src [SRC_PATCH] --dst [DST_PATCH] --out [OUT_FILENAME] --mask [MASK_FILE] --interactive --x [X_POS] --y [Y_POS]

When --interactive is present, interactive mode is on, where you can create mask/ select the destination position of patch via GUI, otherwise in CLI mode you need to specify --x and --y position. Note that you do not need to create mask if you've specified mask file through --mask.

Demo

image

Mesh Simplification

Based on Quadric Error Metrics

Usage

.\main --src [SRC_OBJ_FILE] --dst [OUTPUT_OBJ_FILE] --ratio [SIMPLIFICATION_RATIO]

Note the simplification ratio is based on vertex numbers. But in our experiments we found it applicable to triangular face numbers too.
We only support OBJ model and the handling of vertex normals, which means vertex texture info would be dropped during simplification, yet you can implement this by simply adding two dimensions to the Q matrix.

Demo

image image

References

  1. Farbman, Zeev, Gil Hoffer, Yaron Lipman, Daniel Cohen-Or, and Dani Lischinski. "Coordinates for instant image cloning." ACM Transactions on Graphics (TOG) 28, no. 3 (2009): 67.
  2. Garland, Michael, and Paul S. Heckbert. "Surface simplification using quadric error metrics." In Proceedings of the 24th annual conference on Computer graphics and interactive techniques, pp. 209-216. ACM Press/Addison-Wesley Publishing Co., 1997.
  3. Garland, Michael, and Paul S. Heckbert. "Simplifying surfaces with color and texture using quadric error metrics." In Proceedings Visualization'98 (Cat. No. 98CB36276), pp. 263-269. IEEE, 1998.

mvc-cloning-and-qem-mesh-simplification's People

Contributors

zx1239856 avatar

Watchers

 avatar

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.