/STL_viewer

Simple STL 3D model file viewer(binary only)

Primary LanguageC++

STL_viewer

  • STL_viewer is simple STL 3D model file(binary only) viewer

Environment

  • OS: Windows 10
  • Language: C++14
  • API: OpenGL 1.0
  • IDE: Visual Studio 2019

Reference

How to Build

  1. Install vcpkg
  2. Install opengl libraries for 64bit in vcpkg
    • opengl, glew, glfw3, glm, glad
  3. Clone repository
  4. Download and extract STL Sample to stl directory same as .sln file)
  5. Build and run on Release(x64)

How to Use

  • If you run STL_viewer, binary data is read and displayed on the screen.
    • You can change file name by editing stllist.txt.
  • Press button for translate/rotate model.
    • x-rotate: x/z
    • y-rotate: s/a
    • z-rotate: w/q
    • x-translate: right arrow/left arrow
    • y-translate: up arrow/down arrow
    • z-translate: e/d