Skip to content

Toy 3D triangular mesh viewer and editor with OpenGL and SDL2

License

Notifications You must be signed in to change notification settings

mohamedrezk122/mesher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesher: Toy 3D triangular mesh viewer and editor with OpenGL and SDL2

BVH for triangle selection

Installation

Make sure you have the following installed

  • ASSIMP
  • SDL2
  • OpenGL 4.6
git clone https://github.com/mohamedrezk122/mesher
cd mesher
mkdir build
cd build
cmake ..
make -j 4 

Usage

you can pass a file through CLI

./mesher bunny.stl

or

./mesher

and then drag and drop a file to the window

TODO

  • draw a grid bed under the mesh
  • fix the initial camera position
  • add some labels to window (e.g. filename, num of traingles/faces)
  • adapt to lower versions of OpenGL

About

Toy 3D triangular mesh viewer and editor with OpenGL and SDL2

Resources

License

Stars

Watchers

Forks

Languages