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:17] – davegriffiths | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Problems with L Systems==== | + | ====Pluggable Plants==== |
- | | + | L Systems are the standard approach to modelling and rendering plants with computer graphics. However there are some problems with them: |
+ | |||
+ | | ||
* Geometric complexity is slow to compute and render | * Geometric complexity is slow to compute and render | ||
- | * Somewhat | + | * It's somewhat |
- | 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 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:// |