An open API service indexing awesome lists of open source software.

https://github.com/iwatake2222/play_with_opengl

OpenGL + GLFW test projects
https://github.com/iwatake2222/play_with_opengl

Last synced: 2 months ago
JSON representation

OpenGL + GLFW test projects

Awesome Lists containing this project

README

          

# Play with OpenGL (GLFW)
## Projects
- basic_01_blank
- Tutorial: Blank window
- basic_02_shader_cube_control
- Tutorial: Display cube using GLSL and keyboard/mouse control
- basic_03_object
- Tutorial: Load model file
- basic_04_background
- Test: Draw 2D background
- opencv_01_haar_detection
- Application: Display 3D model on detected hand
- OpenCV is needed

![demo_opencv_01_haar_detection](00_doc/demo_opencv_01_haar_detection.gif "demo_opencv_01_haar_detection.gif")

## How to build a project
```
# sudo apt-get install libglu1-mesa-dev mesa-common-dev
cd play_with_opengl
git submodule init
git submodule update

# For Linux (not tested yet)
cd basic_02_shader_cube_control
mkdir build && cd build
cmake ..
make

# For Windows (MSVC)
# Create MSVC project using cmake-gui
```

## Acknowledgements
### External libraries
- third_party/glfw
- https://github.com/glfw/glfw.git
- as git submodule (version is 3.3.2)
- third_party/glew
- https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.zip/download
- third_party/glm
- https://github.com/g-truc/glm.git
- as git submodule (version is 0.9.9.8)
- third_party/assimp
- https://github.com/assimp/assimp.git
- as git submodule (version is v5.0.1)

### Code and other software stuffs
- Some code and materials are retrieved from:
- https://www.opengl-tutorial.org/
- https://marina.sys.wakayama-u.ac.jp/~tokoi/oglarticles.html
- GLFW による OpenGL 入門 (PDF) : https://tokoik.github.io/GLFWdraft.pdf

- resource/rpalm.xml
- Hand detection (Haar cascade)
- https://github.com/Sandeep-Sthapit/HandGestureDetection

### Model
- resource/miku_Ver17.02.pmx
- https://piapro.jp/t/0Hwp
- 初音ミク_muuubu_202005042213.zip
- む~ぶさん
- nendomiku_ver3_00.pmx
- https://piapro.jp/t/wyAD
- ねんどミクさん_maebari_202005042218.zip
- maebariさん