https://github.com/ousttrue/imgui_samples
imgui samples
https://github.com/ousttrue/imgui_samples
im3d imgui
Last synced: over 1 year ago
JSON representation
imgui samples
- Host: GitHub
- URL: https://github.com/ousttrue/imgui_samples
- Owner: ousttrue
- Created: 2019-07-10T01:59:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-02T06:14:52.000Z (almost 5 years ago)
- Last Synced: 2025-01-21T00:19:52.607Z (over 1 year ago)
- Topics: im3d, imgui
- Language: C
- Homepage:
- Size: 1.31 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# imgui samples
IMGUI と IM3D の練習
# _external
## https://github.com/john-chapman/im3d
Define `IM3D_VERTEX_ALIGNMENT=16` is very important.
## glew
## https://github.com/nlohmann/json
## https://github.com/SergiusTheBest/plog
# samples
Minimum sample without imgui.
Application is separated 3 parts.
* Window and 3D API. Window back buffer, size and mouse state.
* 3D scene and camera.
* Im3d. Combine window size, mouse state, scene and camera state.
## im3d_minimum_dx11
* Direct3D11
## im3d_minimum_gl3
* OpenGL3 by glew
## im3d_minimum_es3
* OpenGLES3 by Angle
But im3d.glsl is not work. Only teapot.
maybe glDrawArraysInstance ?
## im3d_in_imgui_view_dx11
* Direct3D11
* Render 3D View and Gizmo to renderTarget
* Show renderTarget in `ImGui::Image`
* handling mouse input to renderTarget
