Fire Simulation

thumb
Identkea.firesimulation
Created
Updated
Latest Version 84264 293.4 KB ~3
Links s&box
SummaryRealtime 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/3
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/3
Votes 19 4 0
Error Rate0%
Loading Screen Mediahttps://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
{}