@hazzar156@SebAaltonen Yeah that’s true, that’s why I thought maybe it’s nit-picky 😅. Just thought it was a general helpful thing that maybe he didn’t know.
I'm revisiting grass LOD generation. But this time with a more generic "volume approximation" approach, using transparent quad slices. It'll basically be able to approximate any collection of meshes on the surface of triangles.
Tried converting the 1 million quads to halfedges and then collapsing edges one at a time, but it would have taken like 30 minutes to complete 😅
I could have parallized it but didn't seem worth it.
So going from simple -> detail seems to be a better approach.
Converted the high poly simulated terrain to tiles (4K tris).
Next I'll add more detail back to some of the tiles (I tried the inverse process but it was too slow.)
It's nice having a hotkey that just switches between high-poly <-> low-poly so that I can track accuracy.
Switching to erosion on the GPU so that I can get more detail. Then I'll convert it to mesh tiles and procedurally decimate.
The mountains are already looking closer to what I was imagining. But I'm still not sure what a good base noise function is, other than layered perlin.
Did some more erosion tests. It's nice to watch it run in real time.
For some reason I thought it would make the terrain magically look interesting, but it just made the hill wrinkly.
Seems like making realistic and interesing terrain is more complicated than I thought.
Added bilinear filtering to the imposters. They look a lot better/more stable, especially in motion. It just costed a extra few pixels of padding in the atlas. But def worth it.
I know I'm kinda rabbit-holing on certain things haha, but it's fun to explore new techniques.
@LionCatDev2002 I haven’t gotten to it yet, but my current idea for my game is to have a general “budget menu”, like a pie chart where you can allocate more or less budget to certain jobs. Then citizens will sign up for it if there’s demand. For example guards, explorers, wood cutters, etc.