Hi,
I’m not coder myself but I was able to do improvements to ivygen script.
Here they are:
- Starting vector was 0,0,1, I’ve made 0,0,0 because all new branches were always growing up, it was especially visible on vertical wall and ivy didn’t want to grow horizontally. All in all ivy grows down and to sides too. Unfortunatelly now growing starts to X-Y direction. It would be nice that very first branch could grow up or at normal direction+up, but I don’t know how to do it.
- I’ve added zVector parameter box to control growing up direction similar to gw:ivy plugin for 3dsmax and it works nice
- I’ve added randomness to angle for new branch and this works too
- I’ve adjusted branch thickness formula and removed unused variables
- It seems leaf normals are reversed, that needs fixing too
- I don’t have enough knowledge to add leaf distance control (there is matrix I think, not sure though) and leaf random rotation.
- Could it be also possible to add routine to adjust thickness for new branches to be lower then original? I’ve attached screenshot from gw:ivy to show how it looks there:
Link to script here:
https://filebin.net/ciz556xy8gy1eqfz/add_curve_ivygen.py
Best regards.