STL_viewer
is simple STL 3D model file(binary only) viewer
- OS: Windows 10
- Language: C++14
- API: OpenGL 1.0
- IDE: Visual Studio 2019
- jabhiji/stl-viewer
- Standard rendering loop structure
- Reading binary stl function
- Install
vcpkg
- Install
opengl
libraries for64bit
invcpkg
opengl
,glew
,glfw3
,glm
,glad
- Clone repository
- Download and extract STL Sample to
stl
directory same as.sln
file) - Build and run on
Release(x64)
- If you run
STL_viewer
, binary data is read and displayed on the screen.- You can change file name by editing
stllist.txt
.
- You can change file name by editing
- 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