Still a few "details" to fix 😅

#GameDev #Godot

I hesitated posting this video because of the low framerate. Hope nobody will believe this has to do with Godot.

The main problem here, by far, is that the tree mesh I've found models each leave with multiple triangles (which is fine for some use cases, but not adapted for this). There are 170000 triangles per tree.

Once I manage to reduce the triangle count it should run at 60fps. And hopefully I will also be able to increase the tree density (and add variations and bushes etc.)

I wonder is there are good free (preferably open source) tools to generate trees.

I've quickly looked at https://www.eztree.dev/ which is really cool, but I think even with different material styles it's a bit too "cartoon" in the shape as well for what I have in mind.

EZ-Tree | Procedural Tree Generator

EZ-Tree is a procedural tree generator that allows you to create realistic 3D tree models with ease.

I think it would be better with a parameter to make the tree and/or branches zigzag. It's very straight and I haven't found a parameter to tweak that (it can be bended on one side, but not zigzag). Though, since it's open source, maybe I can actually add one 🤔

While I really like trees, I realize I have never studied them 🫣 I can only recognize and name a few, and don't know the english names.

Looking at photos, I see that sometimes a branch changes direction at the point where a smaller branch comes out. I think it's what can cause a zigzag look. Angle variations are smaller on the trunk, but thickness can have a brutal reduction at the point where a big branch comes out.

Also, sometimes the low branches are bent towards the ground.

Another thing is that the shape of the junction, when a branch comes out of the trunk, may need a bit more work to look better.

I need to be wary that photos online are often iconic trees that stand out. But I don't want to make a forest of very special trees, actually since I'll repeat a few model of trees everywhere, it will look better if they don't have particular features that attract the eye.

After some more thoughts about this, I wonder if it wouldn't make more sense to generate trees in #Blender, instead of using an external program.

A node-based approach would probably give more customization freedom, and instant feedback. Unless I'm idealizing it (never did that kind of thing in Blender).

I suppose this has already been done. Countless times. Actually the difficulty might be to pick one among the sea of available addons... Or start from scratch 😅

I'm making some experiments with the Modular Tree plugin for #Blender3D.

For now I only test in-game performances. There is still work to get a better visual quality.

What I did is that I make a branch (a very small tree actually) that I bake in a texture, and then use it as "leaf". I'm more or less back at 60fps, even when increasing trees view distance. I still need LODs and impostors for the farthest ones.

Trees already give a better sense of scale for the mountains 🙂

#GameDev #Godot