Giter VIP home page Giter VIP logo

ipc-sim / idp Goto Github PK

View Code? Open in Web Editor NEW
54.0 9.0 5.0 267.92 MB

Source Codes for Injective Deformation Processing (IDP) with Incremental Potential Contact (IPC)

Home Page: https://ipc-sim.github.io/IDP/

License: Apache License 2.0

CMake 3.57% C++ 93.47% Python 2.96%
computer-graphics 3d-modeling geometry-procesing mesh-deformation mesh-parameterization uv-mapping geometric-modeling optimization simulation

idp's Introduction

Source Codes for Injective Deformation Processing

Reference

This repository provides source code for:

Yu Fang*, Minchen Li* (equal contribution), Chenfanfu Jiang, Danny M. Kaufman, Guaranteed Globally Injective 3D Deformation Processing, ACM Transactions on Graphics (SIGGRAPH 2021)

Installation

UBUNTU

Install python

sudo apt install python3-distutils python3-dev python3-pip python3-pybind11 zlib1g-dev libboost-all-dev libeigen3-dev freeglut3-dev libgmp3-dev
pip3 install pybind11

Build library

python build.py

MacOS

Build library

python build_Mac.py

To run paper examples

For animation fix and normal flow examples:

cd Projects/FEMShell
python batch.py

For modeling examples pull the modeling branch of this repository.

For Min-Max optimization examples pull the minmax branch of this repository.

idp's People

Contributors

liminchen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idp's Issues

'base Command' is not defined

an error occurs when running the script

file "/home/my/Downloads/IDP-main/Projects/FEMShell/batch.py", line 5, in
base Command += 'export MKL_NUM_THREADS=' + numThreads + '\export OMP_NUM_THREADS=' + numThreads + '\export VECLIB_MAXIMUM_THREADS=' + numThreads + '\n'
NameError: name 'base Command' is not defined

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.