basic vector techniques - dfusion.com.au - servicesdfusion.com.au/lectures/sciviz/lecture10.pdf ·...

17
© Datafusion Systems 1999 1 Basic Vector Techniques Lecture 10

Upload: dangphuc

Post on 30-Aug-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 1

Basic Vector Techniques

Lecture 10

Page 2: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 2

Vectors

• Vectors, like scalars have magnitude.

• We can represent magnitude as colour for example.

• Vectors also have direction.

• How can we represent this ?

Page 3: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 3

Vector Sources

• Vectors come from a variety of data sources.

• Sources include raw vector information such as velocity and calculated values like curl and gradient.

• The type of data source may affect the visualization technique.

• In some cases a vector may be reduced to an angle which permits simpler visualization.

Page 4: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 4

Basic Vector Techniques

• Hedgehog

• Streamlines

• Ribbons

• Particle Advection

• Surface Stretching

Page 5: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 5

Hedgehog

• Use of directed lines (eg arrows) at sampled locations to display vector information.

• Due to visual complexity only part (eg slice) of data is shown.

• Vector length and colour indicate magnitude.

Page 6: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 6

Unit Hedgehog

• All vectors have their lengths normalized .

• Colour still indicates magnitude.

• Data density may be increased.

• No loss of information,

• However loss of natural visual metaphor.

Page 7: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 7

Hedgehog Glyphs

• Different glyphs and lighting give a different feel to the data.

• Viewing direction important

• Overlapping solid arrows may enhance or clutter interpretation.

Page 8: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 8

Glyph Variations

• Solid triangles

Size scaled to magnitude Normalized Normalized, Directional Lighting

Page 9: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 9

Glyph Variations…

• If vector orientation is limited (as with some angular data) then less directional glyphs may be used.

• Glyphs are scaled and coloured based on magnitude.

• Orientation is clearly discernible

Page 10: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 10

Glyph Variations…

• Each axis of a solid glyph is scaled based on vector component.

• Generally works best with low sampling density.

• Can be problematic if components have greatly different/ varying magnitudes

Page 11: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 11

Divergence

• Although not strictly a vector technique, using an iso-surface to display vector divergence is a useful technique.

Page 12: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 12

Streamlines

• Sample points may be selected and the vectors “followed” to create stream lines.

• Calculation based on massless particles in flow.

• These flow/flux lines are a powerful static visualisation technique.

Page 13: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 13

Streamlines…

• Individual points in a streamline may be highlighted with arrows.

• Streamlines indicate overall trends.

• Arrows indicate magnitude and direction of field at sample point.

• Especially useful in animation.

Page 14: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 14

Ribbons

• Streamline ribbons generated from sample points (grid lines) take streamlines one step further.

• Ribbons can twist depending on gradient, curl or vorticity of vector stream at each point.

Page 15: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 15

Particle Advection

• Another streamline variation.

• Streamlines are calculated (based on massless particles in flow)

• Time series animation shows particles following streamlines.

t = 0

t = n

Page 16: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 16

Surface Stretching

• Original (cube) surface has been displaced by vector information at each point.

Page 17: Basic Vector Techniques - dfusion.com.au - Servicesdfusion.com.au/lectures/sciviz/Lecture10.pdf · Vector Sources • Vectors come from a variety of data sources. • Sources include

© Datafusion Systems 1999 17

Combining Techniques

• Convey different information with each technique

• Vectors in fixed colour to avoid visual overload