I used to use Unity built-in tree generation plugin a lot, and decided to create something similar for Godot Engine, you can check it out and try it here - here or watch the video review
The development is going according to plan, but since I am new to GDExtension and have only recently started learning godot-cpp, the plugin has one annoying problem when duplicating a node, which you can read about here - here
I know there are a lot of good people here who know the inner workings of godot-cpp, if someone could try to solve this problem, I would be very grateful!
Thank you!
Yes, after fixing all the errors, there are still many tasks in the plans, the wind shader is also included there (all materials are available for modification, if you have a wind shader you can apply it to the tree now), I also plan to make it compatible for scattering on the terrain from Tokisan.
No, you don’t need to compile the entire engine, you only need godot-cpp to compile the plugin itself, this is a standard procedure for plugins written in C++.
Hi, i am making a wind shader that uses vertex color data, your plugin can generate vertex colors?
I am using the colors as:
red = leaves movement
green = variation
blue = branches movement
i made two shaders, one for the trunk and another for the leaves, i am using TreeIt to make the trees and because it export the models with Trunk and Leaves as submeshes.
No, in godot 4.5 there is a PR fix that solves the problem that occurs when we switch scene tabs and we have a crash, this is an important fix for the plugin that will allow us to continue development, but only for 4.5+.
There is also a problem with duplication, which is less critical, but also important enough to fix.