Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
pluggable_plants [2009-03-10 12:06] – davegriffiths | pluggable_plants [2009-03-12 14:19] – davegriffiths | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Problems with L Systems==== | + | ====Pluggable Plants==== |
- | * Plant shape is entirely defined by algorithm | + | L Systems are the standard approach |
- | * Geometric complexity is slow to compute | + | |
- | * Somewhat difficult to control in an artistic sense | + | |
- | This is an alternative method to the standard approach of rendering L Systems, where we can still define the topology of a plant by an algorithm, but the structural shape is defined by the texture images used as components of the plant. | + | * The plant' |
+ | * It's somewhat difficult to control in an artistic sense, particularly the way that branches are formed. | ||
+ | * Geometric complexity is slow to compute and render - it would be nice to be able to deal with some of the complexity in premade textures. | ||
+ | |||
+ | This is an alternative method to the standard approach of rendering L Systems, where we can still define the topology of a plant by an algorithm, but the structural shape is defined by the texture images used as components of the plant. | ||
This also allows us to put much more detail in the textures, and build plants out of fewer components. | This also allows us to put much more detail in the textures, and build plants out of fewer components. | ||
Line 26: | Line 28: | ||
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. | 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. | ||
+ | |||
+ | This is another example, with some better textures which take into account the joining a little better, and some scaling: | ||
+ | |||
+ | {{: | ||
====Texture image format and naming convention==== | ====Texture image format and naming convention==== | ||
Line 49: | Line 55: | ||
Where B is the variation number again. | Where B is the variation number again. | ||
- | For an example collection of components, see: | ||
- | [[http:// | ||
- | |||
- | ====Where the program lives==== | ||
- | The source code is here: [[http:// |