Download presentation
Presentation is loading. Please wait.
Published byDuane Flowers Modified over 8 years ago
1
Outline ● Introduction – What is the problem ● Generate stochastic textures ● Improve realism ● High level approach - Don't just jump into details – Why is it important – High level approach to solution ● Stochastic geometry overview – Main point - introducing stochastic geometry to CG – Stochastic textures with controllable properties ● Stochastic reconstruction – Input info / values -> ideal geometry -> distribution – Reconstruction algorithm ● Bin packing (makes easier to understand) – Figure 7, on separate slides ● "Animation" ● Point things out on the slides ● Talk through the algorithm as I go – Description of offset parameters ● Offset function ● Show sqrt vs regular – Approaches to usage ● Sample parameter space ● User interface ● Results ● Same distribution on different geometry ● Different distribution on same geometry ● Pictures ● Another tool for creating stochastic textures
2
Stochastic Geometry for Displacement Mapping Craig Schroeder, David Breen, Christopher Cera, William Regli June 16, 2005
3
Problem ● Given – Object with little detail ● Want – Object with stochastic microgeometry
4
Generate stochastic textures ● Improve realism ● High level approach ● Another tool for creating stochastic textures
5
Overview of Approach ● Input – Stochastic information – Parameters – Polygonal mesh ● Output – Polygonal mesh with stochastic microgeometry
6
Overview of Approach ● Setup – Convert stochastic information into a histogram – Mesh is composed of triangles ● Each triangle is a “bin” ● Bins must be filled with labels, one per bin ● Label indicates how much to displace that portion of the mesh
7
Overview of Approach ● Label Assignment – Use the histogram to fill in labels for each triangle – Labels must satisfy a constraint ● Displacement Mapping – Use labels to determine displacement ● Apply a function to the label ● Displace vertices by the computed value
8
Stochastic Geometry ● Different meaning than its normal usage in Computer Graphics – Study of random processes whose outcomes are geometrical objects or spatial patterns – Statistical analysis of geometry
9
Stochastic Geometry ● What is most important to us – “Isotropic” ● Invariant under rotation – “Spherical Contact Distribution” ● For all points outside object – Distance r to object – Values r form a distribution ● We use this plus its complement
10
Algorithm Input ● Ideal geometry ● Stochastic properties – Spherical contact distribution ● Additional parameters
11
Algorithm Setup ● Mesh is composed of triangles – Subdivide as needed ● Convert stochastic information into a histogram – Positive, Negative regions – Normalize to number of triangles
12
Algorithm ● Each mesh triangle is a bin – Assign one label per bin ● For each bar of the histogram – Outside inwards, ending with bar zero – Assign to bins where forced to by constraint – Assign remaining uniformly
13
Algorithm ● Compute vertex displacement – Average surrounding bin labels – Apply a function ● Displace the mesh geometry
14
Sample Run
22
Offset Parameters ● Independent for negative and positive regions – Scale factor ● Convert labels into units of geometry – Offset inwards or outwards – Offset function
23
Offset Function ● Changes “shape” of bumps – Eg: f(x) = x or f(x) = sqrt(x)
24
Parameter Space Exploration ● Sample space of surface characteristics ● Look for good candidates
25
User Interface ● Fine tune parameters ● Interactive
26
Results – Same Distribution
27
Results – Same Geometry
28
Results
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.