Skip to content

rasmith/meshsaliency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published