Giter Site home page Giter Site logo

shikibu-z / cis563-project3 Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 13.1 MB

The final project of CIS-563 Physics Based Animation. Implemented a material point method simulation of an elastic cube falling into the ground.

CMake 27.13% Makefile 1.81% C++ 70.14% C 0.91%
material-point-method

cis563-project3's Introduction

CIS 563 Project 3 - Material Point Method

This project requries specific a C++ environment from CISPBA

sudo apt install libsuitesparse-dev libxcursor-dev libxinerama-dev libopenblas-dev
sudo apt install make cmake g++ libeigen3-dev gfortran libmetis-dev libopenvdb-dev
sudo apt install libboost-all-dev libilmbase-dev libopenexr-dev libtbb2 libtbb-dev
sudo apt install libz-dev clang-format-6.0 xorg-dev libglu1-mesa-dev

Make sure to check the above commands for required software packages.

cis-563-project3
├── cis563-project3.patch
├── CMake
│   ├── DownloadProject.cmake
│   ├── DownloadProject.CMakeLists.cmake.in
│   ├── DownloadProject.LICENSE
│   ├── FindCapnProto.cmake
│   ├── FindEigen3.cmake
│   ├── FindHalf.cmake
│   ├── FindMetis.cmake
│   ├── FindOpenVDB.cmake
│   ├── FindTBB.cmake
│   ├── FindZeroMQ.cmake
│   ├── FindZeroMQPP.cmake
│   └── UseLATEX.cmake
├── CMakeLists.txt
├── Deps
│   ├── CMakeLists.txt
│   └── partio.patch
├── Makefile
├── Projects
│   ├── CMakeLists.txt
│   └── material_point
│       ├── CMakeLists.txt
│       ├── data
│       │   └── cube.obj
│       ├── main.cpp
│       ├── material_point.h
│       ├── mesh_query0.1
│       │   ├── bounding_box.h
│       │   ├── bounding_box_tree.cpp
│       │   ├── bounding_box_tree.h
│       │   ├── Makefile
│       │   ├── mesh_query.cpp
│       │   ├── mesh_query.h
│       │   ├── predicates.cpp
│       │   ├── predicates.h
│       │   ├── README
│       │   ├── util.h
│       │   └── vec.h
│       └── SimulationDriver.h
├── README.md
├── report.pdf
└── Scripts
    ├── Makefile.in
    └── valgrind.supp

  • Please make sure you are at C++ 11 or above.
  • This project requries mainly Eigen and Partio library.
  • Detailed code layout and explainations could be found at report.pdf.
  • Type make at the top level directory will compile.
  • Type ./material_point at /Projects/material_point/ will run the simulation, .bgeo outputs could be found at Projects/material_point/output/.
  • Based on different operating systems and setups, some source files might needed to be changed. Please refer to the cis563-project3.patch file for more information. Patching this file will enable correct compilation from macOS 10.15.7 to Ubuntu 20.04. If you are already setup correctly following the above instruction on a Linux machine, you don't need to worry about this file. This directory is already patched for you.

cis563-project3's People

Stargazers

 avatar  avatar  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.