modeling approaches from dr. penny rheigans graphics lecture
TRANSCRIPT
![Page 1: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/1.jpg)
Modeling Approaches from Dr. Penny Rheigans graphics lecture
• Manual primitive creation • Scanning from physical object • Procedurally • From data (visualization) • Through image capture (image-based
rendering)
![Page 2: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/2.jpg)
Scanning
![Page 3: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/3.jpg)
• Digital Michaelangelo Project at Stanford
![Page 4: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/4.jpg)
Procedural Modeling
• Describe visual attributes through some function, usually defined over space – Shape – Density – Color – Texture
![Page 5: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/5.jpg)
Procedural Approaches
• Implicit Functions • Noise/hypertexture • Fractals • Grammars • Genetic/biological simulations
![Page 6: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/6.jpg)
Implicit Functions • Model as sum of
implicit functions • Surface at
threshold
![Page 7: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/7.jpg)
![Page 8: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/8.jpg)
3D Solid Texture
![Page 9: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/9.jpg)
3D Solid Texture
![Page 10: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/10.jpg)
Hypertexture • Add noise or turbulence to functions
![Page 11: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/11.jpg)
Hypertexture
• Ken Perlin and Eric Hoffert, Hypertexture, SIGGRAPH ‘89.
• Extend 3D procedural noise textures to include opacity component to create volume models – object density function D(x) – Density modulation function (DMF) fi
![Page 12: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/12.jpg)
Boolean Operations
• Intersection • Complement • Difference • Union
![Page 13: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/13.jpg)
Base DMFs
• Bias • Gain • Noise • Turbulence • Arithmetic functions
![Page 14: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/14.jpg)
Basic Noise
• Basic noisy sphere
• Vary – Frequency – Amplitude
![Page 15: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/15.jpg)
Turblence
• Mix different frequencies of noise
![Page 16: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/16.jpg)
Shaped Noise
• Vary only single component
![Page 17: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/17.jpg)
Transparency
• Refractive Hypertexture
![Page 18: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/18.jpg)
Erosion
• Boolean intersection of fractal sphere with cube
![Page 19: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/19.jpg)
Fire
• Density func: • Colormap
![Page 20: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/20.jpg)
Fur
• Project points to create hairs
• Modulate density • Control bias and
gain • Add noise in
growth direction
![Page 21: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/21.jpg)
![Page 22: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/22.jpg)
Noisy Things
• Color • Specularity • Opacity/Density • Normals • Displacements • Index of Refraction • Procedural Texture Parameters
![Page 23: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/23.jpg)
![Page 24: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/24.jpg)
![Page 25: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/25.jpg)
![Page 26: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/26.jpg)
![Page 27: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/27.jpg)
![Page 28: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/28.jpg)
![Page 29: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/29.jpg)
![Page 30: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/30.jpg)
Fractals
• Complex structure through self-similarity across scales
• Process: at each generation, replace each primitive with a self-similar sequence
![Page 31: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/31.jpg)
Koch Curves void Koch (float dir, float len, int n) {!float rads = 0.017453293;!if (n > 0) {!
Koch(dir, len/3.0, n-1);!Dir = dir+60;!Koch(dir, len/3.0, n-1); !Dir = dir-120;!Koch(dir, len/3.0, n-1);!Dir = dir+60;!Koch(dir, len/3.0, n-1);!}!
else LineTo(len*cos(rads*dir),len*sin(rads*dir);!}!
![Page 32: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/32.jpg)
Koch Curves
![Page 33: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/33.jpg)
Fractals
![Page 34: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/34.jpg)
Grammar-based Modeling
• Use (mostly) context-free grammars (CFG) to specify structural change over generations
• Often used to simulate a biological growth process – Plants – Seashells
![Page 35: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/35.jpg)
Context-Free Grammar
• A CFG G=(V,T,S,P) where – V is a set of non-terminals – T is a set of terminals – S is the start symbol – P is a set of productions (rules) of the form:
• A→x, where A ∈ V, x ∈ (V ∪ T)*
![Page 36: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/36.jpg)
Applying Grammar Rules
Rules • B → A[B]AA[B] • A → AA
• Branches to left
Strings 1: B 2: A[B]AA[B] 3: AA[A[BAA[B]]AAAA[A[B]AA[B]]
![Page 37: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/37.jpg)
Applying Grammar Rules Rules • B → A[B]AA(B) • A → AA
Branch to • Left [] • Right ()
Strings 1: B 2: A[B]AA(B) 3: AA[A[BAA(B)]AAAA(A[B]AA(B))
![Page 38: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/38.jpg)
L-system Productions
S → A[+B]C[-D]E + left angle - right angle
![Page 39: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/39.jpg)
• N = 7, a = 25.7° • S = X • Rules:
X→ F[+X][-X]FX F → FF
![Page 40: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/40.jpg)
• N = 5, a = 22.5° • S = X • Rules:
X→ F-[[X]+X]+F[+FX]-X F → FF
![Page 41: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/41.jpg)
• N = 4, a = 22.5° • S = F • Rules:
F→ FF-[F+F+F]+[+F-F-F]
![Page 42: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/42.jpg)
Additions
• 3D structure • Randomness • Leaves • Flowers
![Page 43: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/43.jpg)
![Page 44: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/44.jpg)
![Page 45: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/45.jpg)
![Page 46: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/46.jpg)
![Page 47: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/47.jpg)
![Page 48: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/48.jpg)
![Page 49: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/49.jpg)
Biological Simulations • Simulate developmental biological process
![Page 50: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/50.jpg)
Reaction Diffusion
![Page 51: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/51.jpg)
Visualization
• Derive model from data through abstraction process
• Examples – Isosurfaces of volume data – Fluid flow
![Page 52: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/52.jpg)
Marc Levoy
![Page 53: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/53.jpg)
Gordon Kindlemann
![Page 54: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/54.jpg)
Digital Human Project -- NLM
![Page 55: Modeling Approaches from Dr. Penny Rheigans graphics lecture](https://reader034.vdocuments.us/reader034/viewer/2022042715/6267484ececb23392673761f/html5/thumbnails/55.jpg)
Image-based Rendering
• View Interpolation • Plenoptic Rendering • Lumigraph/ Light
Fields • Layered Depth Images • Synthetic/Real Objects • Points as Primitives