Fire Simulation
by
Kea
| Summary | Realtime Fire Simulation with Simple Wind Support. |
|---|---|
| Description |
This is a simple and expensive way to simulate basic fire propagation, this could be very cheap if I implement spatial partioning or something similar. Each FireNode creates cells based on vertices and within those cells is health points, if a cell is on fire/has no more health points, it will start damaging nearby cells to it. Implementing wind support was getting other nearby nodes, and per cell it checks the distance and dot product of the wind and cell direction and based on the result it would damage the other nearby cell, which is expensive and silly since im iterating through a list and checking distance. This system was inspired by FarCry 2/3This is a simple and expensive way to simulate basic fire propagation, this could be very cheap if I implement spatial partioning or something similar.
Each FireNode creates cells based on vertices and within those cells is health points, if a cell is on fire/has no more health points, it will start damaging nearby cells to it.
Implementing wind support was getting other nearby nodes, and per cell it checks the distance and dot product of the wind and cell direction and based on the result it would damage the other nearby cell, which is expensive and silly since im iterating through a list and checking distance. This system was inspired by FarCry 2/3
|
| Votes | 👍19 👎4 ❤️0 |
| Error Rate | 0% |
| Loading Screen Media | https://cdn.sbox.game/org/kea/firesimulation/loadingscreen/63246a7e-ab83-4157-a753-086f473e99c0.png |
| Reviews |
3 reviews
33.3% Recommended (1)
66.7% Promise (2)
0% Needs Work (0)
|
| Usage |
60 players
65 sessions
1 hour playtime
1 minute avg session
Totals captured
|
| Data | {} |
| Version | Created | Size (modified) | Files | Changes |
|---|---|---|---|---|
| 84264 | 54.2 MB (293.4 KB) | 83 ~3 | Changes on 2025-01-15 | |
| 84190 | 54.2 MB (34.7 KB) | 83 ~2 | Changes on 2025-01-14 | |
| 84189 | 54.2 MB (301.5 KB) | 83 ~5 | Changes on 2025-01-14 | |
| 84188 | 54.2 MB (28 MB) | 83 +16 ~4 -15 | Changes on 2025-01-14 | |
| 84186 | 36 MB | 82 +82 | Changes on 2025-01-14 |
Loading history…