1 Particle Systems - History Particle Systems 1982 Star Trek II: - - PDF document

1
SMART_READER_LITE
LIVE PREVIEW

1 Particle Systems - History Particle Systems 1982 Star Trek II: - - PDF document

Motivation Real world phenomena Complex geometry Large deformations Advanced Modeling Topological changes Fuzzy objects Tedious or impossible to Eduard Grller, Thomas Theul, model with meshes Peter Rautek Examples Smoke, fire


slide-1
SLIDE 1

1

Advanced Modeling

Eduard Gröller, Thomas Theußl, Peter Rautek Institute of Computer Graphics and Algorithms Vienna University of Technology

Motivation

Real world phenomena Complex geometry Large deformations Topological changes Fuzzy objects Tedious or impossible to model with meshes Examples Smoke, fire Fluids Fur, hair, grass

Eduard Gröller, Thomas Theußl, Peter Rautek 1

[http://physbam.stanford.edu/~fedkiw/]

Motivation

Eduard Gröller, Thomas Theußl, Peter Rautek 2

[http://physbam.stanford.edu/~fedkiw/]

Motivation

Eduard Gröller, Thomas Theußl, Peter Rautek 3

[http://physbam.stanford.edu/~fedkiw/]

Overview

Particle systems Implicit modeling Soft objects Superquadrics Level sets Procedural modeling Sweeps Cellular texure generation Terrain simulation Vegetation simulation Structure-deforming transformations

Eduard Gröller, Thomas Theußl, Peter Rautek 4

Particle Systems

Modeling of objects changing over time Flowing Billowing Spattering Expanding Modeling of natural phenomena: Rain, snow, clouds Explosions, fireworks, smoke, fire Sprays, waterfalls, lumps of grass

Eduard Gröller, Thomas Theußl, Peter Rautek 5

[Matthias Müller]

slide-2
SLIDE 2

2

Particle Systems - History 1982 Star Trek II: The Wrath of Khan

Eduard Gröller, Thomas Theußl, Peter Rautek 6

“A particle system is a collection of many many minute particles that together represent a fuzzy object. Over a period of time, particles are generated into a system, move and change from within the system, and die from the system.”

William T. Reeves Particle Systems - A Technique for Modeling a Class of Fuzzy Objects ACM Transactions on Graphics, 1983

Particle Systems Certain number of particles is rendered Particle parameters change over time:

Location Speed Appearance

Particles die (lifetime) and are deleted

Eduard Gröller, Thomas Theußl, Peter Rautek 7

Particle Systems (2)

Particle shapes may be spheres, boxes, or arbitrary models Size and shape may vary over time Motion may be controlled by external forces, e.g. gravity

Eduard Gröller, Thomas Theußl, Peter Rautek 8

Particle Systems (3) Particles interfere with other particles

Eduard Gröller, Thomas Theußl, Peter Rautek 9

Particle Systems: Bomb

Eduard Gröller, Thomas Theußl, Peter Rautek 10

Particle Systems: Grass Clumps

Eduard Gröller, Thomas Theußl, Peter Rautek 11

lifetime can be encoded by color: from green to yellow

slide-3
SLIDE 3

3

Implicit Modeling No fixed shape and topology Modeling of

Molecular structures Water droplets Melting objects Muscle shapes

Shape and topology change

In motion In proximity to other objects

Eduard Gröller, Thomas Theußl, Peter Rautek 12

Implicit Modeling No seams Oriented surface (well defined inside and outside) Differentiable Closed Continuous

Eduard Gröller, Thomas Theußl, Peter Rautek 13

Implicit Modeling Implicit equation e.g.,

  • Vs. explicit equation e.g.,

Function Right side constant (typically a threshold T)

Eduard Gröller, Thomas Theußl, Peter Rautek 14

T y x y x f     ) ( ) , (

2 2

  n

2d function intersection with T - plane result (the 2d model)

The surface of an implicit model is defined as the set of points that fulfill the implicit equation

d kx y   Implicit Modeling Level sets level curve, iso contour, contour line level surface, iso surface level hypersurface Changing the threshold   2   3   n

Eduard Gröller, Thomas Theußl, Peter Rautek 15

change of topology

Soft Objects: Blobs Volume stays constant during movement Molecular bonding: As two molecules move away from each other, the surface shapes

Stretch Snap and finally Contract into spheres

Eduard Gröller, Thomas Theußl, Peter Rautek 16

Definition of Blobby Objects Sum of Gaussian density functions centered at the k control points where T is a specified threshold, and ak and bk adjust the blobbiness of control point k

Eduard Gröller, Thomas Theußl, Peter Rautek 17

  

 k r a k

T e b z y x f

k k

) , , (

2

2 2 2 2

) ( ) ( ) (

k k k k

z z y y x x r       ) , , (

k k k k

z y x X 

slide-4
SLIDE 4

4

Definition of Blobby Objects Metaball model uses density functions, which drop off to 0 at a finite interval Soft object model uses same approach with a different density-distribution characteristic

Eduard Gröller, Thomas Theußl, Peter Rautek 18

Superquadrics Generalization of quadric representation Additional parameters Increased flexibility for adjusting object shapes One additional parameter for curves and two parameters for surfaces

Eduard Gröller, Thomas Theußl, Peter Rautek 19

Superellipse Exponent of x and y terms of a standard ellipse are allowed to be variable: Influence of s:

Eduard Gröller, Thomas Theußl, Peter Rautek 20

1

/ 2 / 2

                 

s y s x

r y r x

Superellipsoid Exponent of x, y and z terms of a standard ellipsoid are allowed to be variable: Influence of s1 and s2:

Eduard Gröller, Thomas Theußl, Peter Rautek 21

1

1 1 2 2 2

/ 2 / / 2 / 2

                                  

s z s s s y s x

r z r y r x

Procedural Modeling High geometric complexity Complex model does not exist as geometry

Set of production rules

Eduard Gröller, Thomas Theußl, Peter Rautek 22

Demo

Procedural Modeling

Motivation One window in highest resolution ~7 million triangles Modeled with 126 KB (18 KB zipped)

  • f code

Changing parameters yields very different models

Eduard Gröller, Thomas Theußl, Peter Rautek 23

slide-5
SLIDE 5

5

Sweeps Modeling of objects with symmetries:

Translational Rotational

Represented by

2D shape Sweep-path

Eduard Gröller, Thomas Theußl, Peter Rautek 24

Translational Sweeps Control points of spline curve P(u) Generates the solid, whose surface is described by point function P(u,v)

Eduard Gröller, Thomas Theußl, Peter Rautek 25

p1 p2 p0 p3 P(u) P(u,v)

Rotational Sweeps

 Spline curve P(u)  Rotated about given

rotation axis

 Sampled at given angles

yields the surface P(u,v)

Eduard Gröller, Thomas Theußl, Peter Rautek 26

rotation axis

General Sweeps

 Spline curve P(u)  Moved along a sweep

path (e.g., spline)

 Animated sweep path

Eduard Gröller, Thomas Theußl, Peter Rautek 27

[Kinetix 3D Studio MAX]

Sweeps - Pros and Cons Advantages:

Generates shapes that are hard to do

  • therwise

Disadvantages:

Hard to render Difficult modeling

Eduard Gröller, Thomas Theußl, Peter Rautek 28

Example

Eduard Gröller, Thomas Theußl, Peter Rautek 29

slide-6
SLIDE 6

6

Cellular Texture Generation A cellular particle system, that changes geometry

  • f surface

cell state cell programs extracellular environments

Eduard Gröller, Thomas Theußl, Peter Rautek 30

Cellular Texture Generation

Cell state: position, orientation, shape, chemical concentrations (reaction-diffusion) Cell programs: Go to surface, die if too far from surface, align, adhere to

  • ther cells, divide until surface is covered, ...

Differential equations Extra cellular environment: neighbor orientation, concentration, ...

Eduard Gröller, Thomas Theußl, Peter Rautek 31 Eduard Gröller, Thomas Theußl, Peter Rautek 32

Cellular Texture Generation 2 Levels of Detail (LOD): Use fewer polygons for further distances Cellular Texture Generation 3 Cell: group of polygons with texture and transparency maps

Eduard Gröller, Thomas Theußl, Peter Rautek 33

Cellular Texture Generation - Examples Handling of unusual topologies No problem with parameterization

Eduard Gröller, Thomas Theußl, Peter Rautek 34

Cellular Texture Generation - Examples Reaction-diffusion determine pattern of bumps and thorns

Eduard Gröller, Thomas Theußl, Peter Rautek 35

slide-7
SLIDE 7

7

Cellular Texture Generation - Examples Cells (fur)

  • riented

like their neighbors

Eduard Gröller, Thomas Theußl, Peter Rautek 36

Cellular Texture Generation - Examples Cells (fur) similarly

  • riented

Eduard Gröller, Thomas Theußl, Peter Rautek 37

Modeling and Visualization of Knitwear Knitwear: simulation of thin 3D structure with instanced volume elements

Eduard Gröller, Thomas Theußl, Peter Rautek 38

b a s i c e l e m e n t (R-loop) b a s i c e l e m e n t (L-loop)

Visualization of Knitwear Volume element: 2D cross-section swept + rotated along parametric curve

Eduard Gröller, Thomas Theußl, Peter Rautek 39

x y p ( t ) g g’ g" b1 b2 p0 p1 p2 p3 p4 p5 p6 C 1 C 2 C 3 C 4 x y z z x p ( t ) y g

Visualization of Knitwear Rendering with raycasting

Surface tiled with volumetric elements Curved rays

Eduard Gröller, Thomas Theußl, Peter Rautek 40 x y z xm i n xmax v i e wing ray t

  • p

f a c e bottom f a c e F u , v

i j c

P

entry c

P

e x i t

P

p entry

P

p e x i t

y z x ’ P p P p d P c ’ u w v P c d

Fu , v

i j

Knitwear - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 41

slide-8
SLIDE 8

8

Knitwear - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 42

Knitwear - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 43

Knitwear - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 44

Terrain Simulation

 Fractals  Geographical Data  Simulations  Hybrids

Eduard Gröller, Thomas Theußl, Peter Rautek 45

Terrain Simulation Terrain Simulation

slide-9
SLIDE 9

9

Terrain Simulation Terrain Simulation Terrain Simulation Realistic modeling and rendering of plant

Eduard Gröller, Thomas Theußl, Peter Rautek 51

Scene Synthesis System

Eduard Gröller, Thomas Theußl, Peter Rautek 52

Terrain

Eduard Gröller, Thomas Theußl, Peter Rautek 53

Height map Hills through noise synthesis Stream through masking Water concentration (blue=high, yellow=low)

slide-10
SLIDE 10

10

Specification of Plant Populations

Space-occupancy

Explicit specification (counting plants, painting) Procedural generation (cellular automata, reaction-diffusion)

Individual based

Explicit specification (survey, interactive specification) Procedural generation (point pattern generation model)

Eduard Gröller, Thomas Theußl, Peter Rautek 54

Self-thinning: Green: not dominated Red: dominated Yellow: old Distribution of eight species

Realistic Modeling and Rendering of Plants Complex models necessary for realistic appearance

Plant distribution by ecosystem simulation and/or manual setting Reduce geometric complexity by approximate instancing (similar plants, groups of plants or plant organs) Parametrized models of individual plants

Eduard Gröller, Thomas Theußl, Peter Rautek 55

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 56

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 57

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 58

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 59

slide-11
SLIDE 11

11

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 60

Plant Ecosystems – Self Thinning

Eduard Gröller, Thomas Theußl, Peter Rautek 61

Plant Ecosystems – Self Thinning

Eduard Gröller, Thomas Theußl, Peter Rautek 62

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 63

Plant Ecosystems - Examples

Eduard Gröller, Thomas Theußl, Peter Rautek 64

Structure-Deforming Transformations Non-linear transformations

Tapering: non-linear scaling Twist: non-linear rotation Bend: also non-linear rotation

Eduard Gröller, Thomas Theußl, Peter Rautek 65

slide-12
SLIDE 12

12

Tapering Scale factor is a function:

Eduard Gröller, Thomas Theußl, Peter Rautek 66

x x f x f x f x

z y x

                  ) ( ) ( ) (

Twist Angle of rotation is a function e.g., for rotation about z-axis

Eduard Gröller, Thomas Theußl, Peter Rautek 67

x x f x f x f x f x                     1 ) ( cos ) ( sin ) ( sin ) ( cos Bend Also non-linear rotation

Eduard Gröller, Thomas Theußl, Peter Rautek 68

Example 1

Eduard Gröller, Thomas Theußl, Peter Rautek 69

Example 2

Eduard Gröller, Thomas Theußl, Peter Rautek 70

Other Topics not Covered Here Shape grammars Procedural architecture Fractals (see Fraktale VO WS)

Eduard Gröller, Thomas Theußl, Peter Rautek 71

slide-13
SLIDE 13

13

Thank you for your attention Questions?

Eduard Gröller, Thomas Theußl, Peter Rautek 72

References

Eduard Gröller, Thomas Theußl, Peter Rautek 73