inimArtinimArt
  • ABOUT
  • Portfolio
  • Tutorials
  • BLOG
  • Contacts
  • RSS

iniTreeStructure 1.0

  • Home
  • :
  • Uncategorized
  • :
  • iniTreeStructure 1.0
16 Oct 2011 Posted by: admin Comments: 0 In: Uncategorized

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).

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

FOLLOW VIRTUALBIKE ON ITS OFFICIAL SITE

Virtual Bike is an indipendent project now. You can follow it on the official VirtualBike web page.