4 . 11. trees and vegetation

17
4.11. TREES AND VEGETATION Rendering of trees and vegetation

Upload: sybil

Post on 24-Feb-2016

43 views

Category:

Documents


0 download

DESCRIPTION

4 . 11. Trees and Vegetation. Rendering of trees and vegetation. Vegetation. Rendering flora. Video not available in on-line slides. Grass. Grass is typically rendered using (randomly) placed intersecting quads which are texture mapped and rendered with an alpha test. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 4 . 11. Trees and Vegetation

4.11. TREES AND VEGETATIONRendering of trees and vegetation

Page 2: 4 . 11. Trees and Vegetation

VEGETATIONRendering flora

Page 3: 4 . 11. Trees and Vegetation

Video not available in on-line slides

Page 4: 4 . 11. Trees and Vegetation

Grass

Grass is typically rendered using (randomly) placed intersecting quads which are texture mapped and rendered with an alpha test.

The grass quad are crossed (using a star-like configuration) to ensure good visual quality independent of the line of sight.

Page 5: 4 . 11. Trees and Vegetation

GrassDifferent alpha/depth tests can be used at runtime to suitably render a clump of grass quads and provide the appearance of densely packed grass.

Page 6: 4 . 11. Trees and Vegetation

Grass

In a vertex shader the top two vertices of each quad can be animated (using a combination of sinusoidal waves) to provide a natural looking wave modelled motion due to wind effects.

By having separate animation parameters for each cluster or clump of grass, more chaotic (i.e. natural) behaviour can be introduced.

Page 7: 4 . 11. Trees and Vegetation

GrassWhen lighting the grass, the quad’s normal may also be updated to reflect the grass movement.

Alternatively, the colour change can be simulated by directly modifying the rendered colour based on the oscillations.

Page 8: 4 . 11. Trees and Vegetation

TREESRendering trees

Page 9: 4 . 11. Trees and Vegetation

Video not available in on-line slides

Page 10: 4 . 11. Trees and Vegetation

Trees

At a distance, a tree can be adequately rendered using a billboard or imposter.

Up close, trees are typically separated into two different parts: •solid component of the tree (trunk and branches)•foliage or leaves.

The trunk and the branches are represented using a triangle mesh. Leaves are represented using an image of a leaf group textured using a quad.

Page 11: 4 . 11. Trees and Vegetation

Minor branches can be

approximated by simple

polygon strips

Page 12: 4 . 11. Trees and Vegetation

Leaves are rendered as

texture mapped quads

Page 13: 4 . 11. Trees and Vegetation

More sophisticat

ed tree rendering deals with issues such

as silhouette clipping

Page 14: 4 . 11. Trees and Vegetation

Or accurate

leaf shadowing /

lighting

Page 15: 4 . 11. Trees and Vegetation

DIRECTED READINGDirected reading regarding trees and vegetation

Directed

reading

Page 16: 4 . 11. Trees and Vegetation

Directed reading: Directed

reading

• Read GPU Gems - Rendering Countless Blades of Waving Grass – for coverage of how to render grass• Read Creation and

Rendering of Realistic Trees – for an early paper on generating trees• Read GPU Gems 3 - Next-

Generation SpeedTree Rendering – for an exploration of current tree rendering approaches

Page 17: 4 . 11. Trees and Vegetation

Summary

To do:Read the directed

readingThink if you would like

to implement either approach within your project

Today we explored:

Overview of vegetation rendering

Overview of tree rendering