Git Product home page Git Product logo

zipper's Introduction

Mesh zippering

License

This repository contains 'mesh zippering' code, based on ZipPack Polygon Mesh Zippering Package version 1.14. The source has been ported from SGI IRIX system to be used on any modern operating system. User interface and mesh alignment code has been removed.

Compiling and usage

There are no library dependencies, all you need is CMake build system and a C99 compatible compiler. To compile run:

mkdir build
cd build
cmake ..
make

Currently the program only zippers together two .ply format meshes using default parameters. The meshes should already contain triangle faces as no triangulation is carried out. Specify the mesh file paths as follows: zipper src1.ply src2.ply dst.ply.

Most of the original ZipPack functionality still exists, but is not enabled. If you need to change zippering parameters then inspect the constants in zipper.c file.

Known issues

Some .ply files name vertex elements as vertex_index, but the zippering program expects vertex_indices identificator. If you get an error about reading .ply files, either change your mesh file header or change #if 1 to #if 0 on line 130 of ply_wrapper.c.

License and references

The code is licensed under 3-clause BSD licence. Copyright belongs to Stanford University.

If you use this code in your research, please cite:

"Zippered Polygon Meshes from Range Images"
Greg Turk and Marc Levoy
Proceedings of SIGGRAPH '94
Pages 311-318

zipper's People

Contributors

sh0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zipper's Issues

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.