230 likes | 404 Views
ENDS 375. Foundations of Visualization Geometric Representation 10/5/04. Geometric representation is the fundamental basis for describing or modeling the data, objects and scenes to be visualized. 3D Representation. Points - x, y and z coordinates
E N D
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04
Geometric representation is the fundamental basis for describing or modeling the data, objects and scenes to be visualized.
3D Representation • Points - x, y and z coordinates • Lines - same a 2D but with three components • Vectors - directed line segments x,y and z components (x,y,z)
Space curves • Analytic line shapes • Equation based • Circles, ellipses, . . . • Splines
Splines • parametric forms for x, y, and z x = f(t), y = g(t) and z = h(t) • order of equations - quadratic, cubic, ... f(t) = at2 + bt + c or f(t) = at3 + bt2 + ct + d • control points and basis functions • interpolating vs approximating
Splines • number of control points - 2 for linear, 3 for quadric, 4 for cubic, . . .
Splines • locality of control • continuity issues
Surfaces • Analytic surfaces • spheres, tori, ellipsoids • conic sections - parabolic, hyperbolic, . . .
Surfaces • Surfaces of revolution • Extrusions
Polygons • Concave vs convex • "dual" form using planar equations ax + by + cz +d = 0 intersection of planes - inside vs outside polyhedra - convex objects
Polygonal Surfaces • Approximate curved surfaces • Planarity an issue if polygon has more than 3 vertices
Polygonal Surfaces • Polygonal - vertices and topology networks - points-polygons meshes - regular topology
Surface "normals" • vectors perpendicular to the surface
Bi-parametric surfaces • x, y, and z functions of two parameters U and V x = f(U,V), y = g(U,V) and z = h(U,V)
Bi-parametric surfaces • order of the functions bi-quadratic, bi-cubic, . . . • surface continuity issues
Bi-parametric surfaces • control points and basis functions approximating - B-splines interpolating - Catmull-Rom • number of control points 3x3 for quadratic 4x4 for cubic
Bi-parametric surfaces • Bezier patches - "Coons" patches hermite polynomial basis points and tangents • NURB surfaces - "non-uniform rational b-splines" as opposed to uniform non-rational b-splines
Subdivision Surfaces • Start with a polygon mesh • Subdivide the mesh into a finer mesh • Creates smaller and smaller polygons • This process converges to the same kind of surfaces as created by spline surfaces
Volume Descriptions • Volumes rather than boundaries • Voxels • Boolean Set Operators • usually on primitive shapes • union • intersection • difference
Voxels • Voxels • Voxel oct-trees • Density functions • CAT scans, MRI data, . . . • find isosurfaces • marching cubes algorithm
Implicit functions • Thresholded analytic functions - "blobby" objects are common example • density = f(x,y,z), find isosurface where f(x,y,z) = (some value) • use concatenation of simple functions to define overall density function
“Blobby’s” • “blobbys” use sums of exponential radial functions, for example
Stochastic surfaces • Probabilistic • randomness • Fractals • subdivision • self-similar