Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sid911/d3d12particlesim
Just a learning application made with directX12 for n-body simulation
https://github.com/sid911/d3d12particlesim
Last synced: 12 days ago
JSON representation
Just a learning application made with directX12 for n-body simulation
- Host: GitHub
- URL: https://github.com/sid911/d3d12particlesim
- Owner: Sid911
- License: gpl-3.0
- Created: 2021-11-22T08:11:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-07T14:51:29.000Z (about 3 years ago)
- Last Synced: 2024-11-14T11:34:36.586Z (2 months ago)
- Language: C++
- Size: 3.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### D3D12ParticleSim
-----
> Absolutely the worst name for reading purposes but it short/tech form for **Direct X 12 Particle Simulations**This repo is basically an experiment ground for exploring Directx 12 while **trying** to make
*(absolutetly required to say __trying__ )* a n-body simulation of some kind. I haven't explored Dx12
before so it is the perfect chance. I would like to do something similar to a Nvidia Example I tried a while ago
with some kind of adjustment UICurrently the Controls are : `WASD` for position of camera and `up,down,left,right, arrow`
#### Installation
This project was built on Visual Studio 2022 and the required dependencies like Microsoft Pix are present as
nuget packages which should be easy to setup (Visual studio does it for you most of the times)Steps :
- Clone the repo
- Open the `.sln` or `.vcxproj` file
- Check that nuget has downloaded pix (you will se erros related to pix if not)
- Compile in Release mode for x64 or debug-----
### Logs
------ 22-11-2021 : I have started the boilerplate code for Directx 12 and succeded to make a good old triangle. With little coloring it looks cool for a triangle 😎.
![Fading Triangle](./Doc/Triangle-2021-11-22.jpg)- 23-11-2021 : Setup simple texture pipeline now the triangle looks like *Jerry's Home* Door but just 🔵🟦 Blue.
![Checkered Triangle](./Doc/Triangle-2021-11-23.jpg)- 30-11-2021 : I have been experimenting with the particle system for best performence possible in th fatest way. Current setup is not very performent for large amount of particles (16,000) is the limit for 30fps at my ryzen 5600hbut it works for now.
The Application now has a basic camera control system with .
> WASD for position and up,down,left,right arrow for camera angle adjustment.
![](./Doc/Particles-2021-11-30.jpg)