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.

Fatal error: Uncaught Error: Call to undefined function ereg() in /web/htdocs/www.inimart.com/home/inimart/wp-content/plugins/fast-flickr-widget/fast-flickr-widget.php:270 Stack trace: #0 /web/htdocs/www.inimart.com/home/inimart/wp-content/plugins/fast-flickr-widget/fast-flickr-widget.php(67): FastFlickrWidget->generateFrontEnd(Array, Array) #1 /web/htdocs/www.inimart.com/home/inimart/wp-includes/class-wp-widget.php(372): FastFlickrWidget->widget(Array, Array) #2 /web/htdocs/www.inimart.com/home/inimart/wp-includes/widgets.php(743): WP_Widget->display_callback(Array, Array) #3 /web/htdocs/www.inimart.com/home/inimart/wp-content/themes/showroom/sidebar-right.php(8): dynamic_sidebar('page-sidebar-10...') #4 /web/htdocs/www.inimart.com/home/inimart/wp-includes/template.php(688): require_once('/web/htdocs/www...') #5 /web/htdocs/www.inimart.com/home/inimart/wp-includes/template.php(647): load_template('/web/htdocs/www...', true) #6 /web/htdocs/www.inimart.com/home/inimart/wp-includes/general-template.php(110): locate_template in /web/htdocs/www.inimart.com/home/inimart/wp-content/plugins/fast-flickr-widget/fast-flickr-widget.php on line 270