Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
pluggable_plants [2009-03-10 11:38] davegriffithspluggable_plants [2009-03-10 11:44] davegriffiths
Line 11: Line 11:
 ====How it works==== ====How it works====
  
-Plants are built out of components which are defined by two texture images. The first texture is the one which is rendered on screen. The second is used to define where the connection points are, indicated by black blobs - this is where child components will be connected to. These blobs can be put anywhere in the texture. +Plants are built out of components which are defined by two texture images. The first texture is the one which is rendered on screen. The second is used to define where the connection points are, indicated by black blobs - this is where child components will be connected to. These blobs can be put anywhere in the texture and are automatically located and used by the program.
  
 Each component is only allowed one place where it connects to it's parent, which is always at the bottom of the texture, in the middle. Each component is only allowed one place where it connects to it's parent, which is always at the bottom of the texture, in the middle.
Line 24: Line 24:
  
 {{:lollypop-05.png?300|}} {{:lollypop-05.png?300|}}
 +
 +A resulting lollypop tree. More work could be done on the joins between the textures, but you get the idea. You can edit the connection point textures, and rerun the program to adjust the positions of the components.
 +
 +
  • pluggable_plants.txt
  • Last modified: 2009-03-12 14:32
  • by davegriffiths