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 | ||
plant_rendering [2008-07-14 10:51] – davegriffiths | plant_rendering [2008-07-14 11:11] – davegriffiths | ||
---|---|---|---|
Line 5: | Line 5: | ||
=== Offline rendering === | === Offline rendering === | ||
- | xfrog (or " | + | == xfrog == |
+ | |||
+ | Greenworks | ||
+ | |||
+ | == Harry Potter 3 - Whomping willow == | ||
+ | |||
+ | Done entirely with implicit surfaces to deal with the [[http:// | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | Very slow to compute, of course :) | ||
=== Online rendering === | === Online rendering === | ||
- | One of my lsystem attempts - a very stylistic approach (all right angles). | + | One of my lsystem attempts |
- | trees are built out of cube primitives for an artificial life simulation, in isometric projection: | + | Trees are built out of cube primitives for an artificial life simulation, in isometric projection: |
{{http:// | {{http:// | ||
- | The cubes approach was too slow (for my old graphics card in 2004) so I moved to using camera facing geometry (sprites), textured with faked normals to make them shade according to the lighting to appear cylindrical. | + | The cubes approach was too slow (for my old graphics card in 2004) I was spawning hundreds of trees at a time - they were evolving using mutation errors of data encoded in seeds the trees dropped. I later moved to using camera facing geometry (sprites), textured with faked normals to make them shade according to the lighting to appear cylindrical. |
{{http:// | {{http:// | ||
- | This worked well (nice and fast) it might be a good technique for background mass foliage - low level of detail for distant plants... I think you can do the face forward calculation in a hardware shader these days. | + | This worked well, and I could render more trees at an acceptable framerate. It might be a good technique for background mass foliage - or low level of detail for distant plants... I think you can do the face forward calculation in a hardware shader these days. |