Skip to content

rasmith/meshsaliency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

92e6735 · Nov 3, 2023

History

83 Commits
May 7, 2017
Feb 8, 2017
May 4, 2017
Feb 26, 2017
Feb 8, 2017
Apr 29, 2017
Nov 3, 2023
Mar 27, 2017
Apr 11, 2017
Mar 23, 2017
Jun 7, 2017
Mar 22, 2017
May 4, 2017
Mar 24, 2017
Mar 17, 2017
Mar 23, 2017
Mar 23, 2017
Mar 23, 2017
Mar 24, 2017
Mar 22, 2017
Mar 24, 2017
Jun 7, 2017
Apr 29, 2017
Jun 7, 2017
Mar 27, 2017
Mar 24, 2017
Apr 28, 2017
Mar 17, 2017
May 4, 2017
Apr 27, 2017
Jun 7, 2017
Mar 22, 2017
Jun 7, 2017
Jun 7, 2017

Repository files navigation

#Mesh Saliency

##Contributors

  • Hari Sridhar
  • Randall Smith - spectral mesh saliency, datasest generation, rendering
  • Soumyajit Gupta - machine learning

Introduction

Not much to say yet!

Dependencies

Libraries

* [libigl](https://github.com/libigl/)
* [GLFW](http://www.glfw.org/)
* [Eigen3](http://http://eigen.tuxfamily.org/)
* [OpenGL](https://www.opengl.org/)
* [ISPC](https://ispc.github.io/)
* [TBB](https://www.threadingbuildingblocks.org/)

Environment Variables

None required so far.

Tools

Build Instructions

Make sure that libigl is somewhere the FindLIBIGL.cmake can find it. For a list of locations check ./cmake/Modules/FindLIBIGL.cmake and add your location to this list, if it is not already included.

OS X

Make sure the Xcode Developer Tools are installed. Using brew, the following will install needed dependencies for OS X:

brew install glfw
brew install eigen
brew install tbb
brew install ispc

Once GLFW and Eigen3 are installed, the following will build the main program:

mkdir build
cd build
cmake ..
make

To build a specific executable

make <target-name>

will build the desired target binary.

Linux

Windows

Running

The render_views program loads an OFF file and runs the libigl viewer.

This is done by typing in the build directory

// ./bin/render_views <model_path> <output_directory> <sample_type>
//                    <num_samples> <width> <height>
//  model_path - path to the model file to render [.OFF]
//  output_directory - path to the directory for rendered views
//  sample_type - type of sampling to use:
//              - 0 : sample the vertices of an icosahedron
//              - 1 : sample the vertices of a cylinder with <num_samples>
//                    samples.
//              - 2 : sample a sphere uniformly at random using <num_samples>
//                    samples.
// num_samples - number of samples to use, only useful for sample_type = 1,2.
// width - output image width
// height - output image height

and currently a window is launched.