https://github.com/pawcijo/gpg
Graphics playground for OpenGl and Vulkan stuff.
https://github.com/pawcijo/gpg
computer-graphics gamedev newton-dy opengl simulation vulkan
Last synced: 2 months ago
JSON representation
Graphics playground for OpenGl and Vulkan stuff.
- Host: GitHub
- URL: https://github.com/pawcijo/gpg
- Owner: pawcijo
- Created: 2024-03-28T18:57:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-25T14:46:00.000Z (over 1 year ago)
- Last Synced: 2025-08-03T20:48:33.882Z (11 months ago)
- Topics: computer-graphics, gamedev, newton-dy, opengl, simulation, vulkan
- Language: C++
- Homepage:
- Size: 2.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GPG
Before trying to build run `download_dependencies.py` and `install_dependencies.py` to download, build and install newton-dynamics
lib (https://github.com/MADEAPPS/newton-dynamics).
Run also `git submodule update --init --recursive` for needed submodules (glfw,glm,imgu,SPIRV).
In short :
```
python3 download_dependencies.py
python3 install_dependencies.py
git submodule update --init --recursive
```
Also remember to build shaders in `build/shaders` directory.
For shaders you will need Vulkan SDK for your platform: https://vulkan.lunarg.com/#new_tab.
## Requirements for Ubuntu :
```
sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libwayland-dev libxkbcommon-dev libsdl2-dev gcc-14 g++-14
sudo apt install vulkan-tools
sudo apt install libvulkan-dev
sudo apt install vulkan-validationlayers-dev spirv-tools
```
```
pip install python-git
```
## Requirements for Macos :
```
pip install gitpython
brew install sdl2
brew install vulkan-volk
```
Running binary on mac:
```
DYLD_LIBRARY_PATH=${VulkanSdkPath}/macOS/lib ./OPGLPlayground
```
## Requirements for Windows :
Dont know yet xD
## TODO/DONE:
TODO:
- [ ] Finish Vulkan implementation. (make it simpler ?)
- [ ] Create physics system with NewtonLibrary.
- [ ] Try to build and run on windows.
Helper:
✅
[x]
[]