3 ms·
I would advise to keep at it and not overcomplicate things. There was a recent video on creating generative trees [0] and the hack was to just let the cylinder
by abetusk 2y ago
I would advise to keep at it and not overcomplicate things.
There was a recent video on creating generative trees [0] and the hack was to just let the cylinders intersect, so even hacky tricks can work and produce good results. As you say, CSG can work but might be overly complicated. Another trick is to create a tree skeleton and then do lofting, maybe even combined with CSG, to create the trunk and bark.
For me, a good library is enabling and finding a good 3d geometry library, maybe to do boolean operations, like joining cylinders or subtracting geometry out, helps enable a lot of new ideas. I've played with a few geometry libraries and the only one I even vaguely like is JSCAD [1].
[0] https://youtu.be/8zMbJmuwEUc?si=KQclrVPeSrIRmsbA https://youtu.be/8zMbJmuwEUc?si=KQclrVPeSrIRmsbA
[1] https://github.com/jscad/OpenJSCAD.org https://github.com/jscad/OpenJSCAD.org