Goals
CogDemoImgui is a starting base point for a 3D graphics program.
Live Demo (Updated 05/08/2021)
http://www.parzall.com/cogdemo/CogDemoImgui.html
Source Code (Updated 05/08/2021)
http://www.parzall.com/cogdemo/CogDemoImgui.7z
Requirements
- Execute on the web browser platform using WebGL.
- Execute on the Microsoft Windows platform using DirectX.
- Use the C++ programming language.
- Use existing open source libraries when possible.
- Identify a library for 3D graphics rendering.
- Identify a library for audio output and sound mixing.
- Identify a library for input processing of mouse, keyboard, and touch.
- Identify a library for matrix math associated with 3D graphics.
- Identify a library for the main application window.
- Identify a library for user interface controls.
Result - Sokol is Great!
- https://github.com/floooh/sokol
- https://github.com/floooh/sokol-samples
- Using Sokol for 3D graphics rendering (sokol_gfx.h).
- Using Sokol for audio output (sokol_audio.h).
- Using Sokol for input processing of mouse, keyboard, and touch (sokol_app.h).
- Using Sokol for the main application window (sokol_app.h).
Result - Dear ImGui is Great!
https://github.com/ocornut/imgui
- Using Dear ImGui for user interface controls.
Result - OpenGL Mathematics (GLM) is Great!
https://github.com/g-truc/glm
- Using GLM for matrix math associated with 3D graphics.
Result - Write Some Code
- Using our own source code for sound mixing.