Everything is procedural!
One of the main points of the game is that everything will be procedurally generated.
Organic models will be partially, but static objects like nature and buildings I'm planning to make them 100% generated procedurally.
Here is the first iteration of the trees, dry without leaves for now:
I added it to my game editor so I can create procedural profiles which are like "themes" for each procedurally generated element in the game.
If you are curious about how the tree generation works, it is simple:
- Generate a cylinder for the main trunk
- Generate a cone in the top of the cylinder
- For a few random positions in the surface of the cylinder:
- Generate another (Branch) cylinder with a fraction of the parent cylinder.
- Generate its cone on top
- Repeat step 3 recursively for each sub-branch.
What I described above is what we call fractal generation. Lots of things are still missing, but the main idea is done :)
Game is around 8.5% complete and 19% ready for alpha release.