*Jose Perez2*

*takanori*

Hi it looks nice result.

How do you get the centre curve spine?

Anybody can describe that process for me? Thanks.

Did you finally get an answer for that?.. Im with the same setback…

In the vimeo comments.

“The geometry speedtree outputs has the same amount of points on the profile of each brunch. So if let's say each branch is made of 12 sided tubes, then you can iterate through all the points and find the average position of every 12 points and create a point there. In the end connect all the points on every brunch and you get a nice curve in the center line. Then the trickier part is how to connect those to their parent branches. You can find the closest point to the root of each branch, but you should first calculate the depth of each branch, so you only look at parents. You may get better results if you adjust the position you look for, by adding the tangent of the curve itself, so you dont get sharp angles.

That's at least how I approached it last time I did something similar. Not sure if it's exactly the same methodology here.”