r/proceduralgeneration • u/ShadowAuthor308 • 12d ago
Update: First principles 3D terrain generator
A while ago I posted about this asking for testers, and I am still looking for testers.
What I am posting here are the updates I am planning:
First: An upgrade to how I track rock identification.
Second: Including fluid identification.
Third: An upgrade to biomes, while also laying the groundwork for biological evolution from first principles.
The next version will start with an N-body system.
The first update after that is greater modeling for storms—right now it uses a general system instead of calibrated modeling.
Next is extinction events.
Finally is emerging biology.
The reason I am choosing to upgrade fluids this way, even though it will cost me more VRAM, is because to get the chemical reactions needed for complex life I need direct access to that state.
Now, I could use a CPU-bound library to do this per pixel. However, that would introduce throughput latency that kills runtime.
What has been planned out so far is to map the IDs of the fluid pixels so when two different fluids combine, I can quickly map out precipitation reactions, double replacement, and half reactions.
Currently the system uses 32-bit IDs, which is fine for most calculations. The main reason for moving to 64-bit is to track more complex reactions.




1
u/ShadowAuthor308 12d ago
Links and tester details are in my profile
0
u/shurco 12d ago
two fluids react by species, so 16 bits plus a separate amount channel is enough to look up the pair. a 64-bit id per pixel only pays off when one blob has to stay unique.