Some days ago I posted iniTree plugin, that allow to draw recursive ternary trees. Kineme community suggested to rewrite the plugin as a provider, and give me some hints on how to output a structure from a QC plugin. Then I implemented iniTreeStructure, which is a iniTree plugin witch outputs vertices positions.
Inputs:
- numDiv (1-3): how many branches will have your tree.
- growDelay: how much time the tree branches will spend in growing/shrinking.
- aperture: tree aperture.
- add/remove level: add/remove tree level.
Outputs:
- vertices: tree vertices positions. They are ordered so as to be rendered using GL_LINES, so if you attach this output to GL line structure and use line type Line segments, the output will be right.
you can download it here (plugin + example composition).