Coder Social home page Coder Social logo

libigl / libigl-examples Goto Github PK

View Code? Open in Web Editor NEW
25.0 5.0 20.0 8.97 MB

This repository contains examples applications that use libigl. They only work on MacOSX and they should be converted to tutorials.

License: Mozilla Public License 2.0

Makefile 4.54% C++ 83.20% Brainfuck 0.28% PHP 0.19% C 0.95% MATLAB 0.07% CMake 10.78%

libigl-examples's Introduction

⚠️⚠️⚠️⚠️⚠️ ARCHIVED ⚠️⚠️⚠️⚠️⚠️

This repository has been archived and will not be maintained. You may be interested in:

libigl-examples

This repository contains examples applications that use libigl. They've been tested on Mac OS X. Most are too involved or special purpose to be part of the libigl tutorial.

Dependencies

All:

  • libigl
  • std
  • Eigen
  • C++11

Most:

  • OpenGL v2
  • GLUT
  • AntTweakBar

Some:

  • embree
    • ispc
    • tbb
  • mosek (optional)
  • tetgen
  • matlab
  • cgal

GLUT

Nearly all of these examples depend on GLUT. On Mac OS X, glut is deprecated but still included. However, I'd recommend replacing it with a modified glut that supports scroll wheel and the command ⌘ key.

AntTweakBar

I'd recommend installing AntTweakBar as a static library. You can do this from with then libigl/external/AntTweakBar directory using:

make -C [libigl]/external/AntTweakBar/src -f Makefile.osx.igl

Embree

I'd recommend installing Embree via the libigl/external/embree submodule. Travel there and follow the usual cmake build:

cd [libigl]/external/embree
mkdir build
cd build
cmake ..
make

Compilation

Make

This is hopefully subject to change as I update examples to be built with cmake.

Each example directory is independent and be compiled using:

make -C [example-dir]

You can also try to compile all examples by simply issuing:

make

Cmake

Some examples now use cmake to build. Compile the dependencies above and then issue:

cd [example] mkdir build cd build cmake .. make

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.