Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjd/unity-boids-behavior-on-gpgpu
Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。
https://github.com/chenjd/unity-boids-behavior-on-gpgpu
compute-shader shader unity
Last synced: 4 days ago
JSON representation
Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。
- Host: GitHub
- URL: https://github.com/chenjd/unity-boids-behavior-on-gpgpu
- Owner: chenjd
- License: mit
- Created: 2017-08-12T14:23:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T02:52:36.000Z (almost 3 years ago)
- Last Synced: 2025-01-02T04:08:28.313Z (11 days ago)
- Topics: compute-shader, shader, unity
- Language: C#
- Homepage:
- Size: 15.8 MB
- Stars: 248
- Watchers: 18
- Forks: 52
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity Boids Behavior on GPGPU
![GitHub](https://img.shields.io/github/license/chenjd/Unity-Boids-Behavior-on-GPGPU)
![](https://img.shields.io/badge/platform-win--64-brightgreen)
![Build By Action](https://github.com/chenjd/Unity-Boids-Behavior-on-GPGPU/workflows/Build%20By%20Action/badge.svg)#### Update
Support Unity 2021+
Add GitHub Action CI/CD pipeline, you can find the latest exe file at Actions page.#### Description:
Implement Boids simulation using Compute Shader.
Originally inspired by Joachim Ante at [Unite Europe 2017 - C# job system & compiler
](https://www.youtube.com/watch?v=AXUvnk7Jws4&t=317s)
Joachim showed how a boids simulation performance increases when using the new Job system, taking full advantage of the multi CPU/Core architecture![](http://upload-images.jianshu.io/upload_images/1372105-587750bad15322a0.gif?imageMogr2/auto-orient/strip)
Instead of that,I make the GPU-based flocking system.
Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance.![](./Res/boidgif.gif)
#### Platform
Windows#### Article(Chinese)
[利用GPGPU计算大规模群落仿真行为](http://www.cnblogs.com/murongxiaopifu/p/7308366.html)#### Ref
[Boids](https://www.red3d.com/cwr/boids/)