Course Website: Computer Graphics 11: 3D Object Representations – Octrees & Fractals.

Slides:



Advertisements
Similar presentations
What is a Fractal? A fractal is a mathematical object that is both self-similar and chaotic. self-similar: As you magnify, you see the object over and.
Advertisements

Play the Chaos Game Learn to Create Your Own Fractals.
FIELD DAY TOK: Mathematics and Imagination
Course Website: Computer Graphics 4: Viewing In 2D.
Computer Graphics Viewing.
Chaos, Communication and Consciousness Module PH19510 Lecture 15 Fractals.
Computer Graphics1 Quadtrees & Octrees. Computer Graphics2 Quadtrees n A hierarchical data structure often used for image representation. n Quadtrees.
1 of 25 Assignment Orthographic Wireframe Elevation Orthographic Wireframe Plan Orthographic Wireframe End-Elevation Perspective View.
1 Computer Graphics Chapter 7 3D Object Modeling.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
FRACTALS. WHAT ARE FRACTALS? Fractals are geometric figures, just like rectangles, circles, and squares, but fractals have special properties that those.
Chapter 9: Recursive Methods and Fractals E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Fractals Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
1 of 19 New Lecture And Lab Information Lectures: –Thursday 13:00 – 14:00 (A322) Does anyone miss lunch? –Friday 15:00 – 16:00 (A28) Labs: –Wednesday 10:00.
Fractal Image Compression
Course Website: Computer Graphics 9: Clipping In 3D.
Fractals Infinite detail at every point Self similarity between parts and overall features of the object Zoom into Euclidian shape –Zoomed shape see more.
Course Website: Computer Graphics 3: 2D Transformations.
CS 4731: Computer Graphics Lecture 5: Fractals Emmanuel Agu.
CS4395: Computer Graphics 1 Fractals Mohan Sridharan Based on slides created by Edward Angel.
1 of 23 New Lecture And Lab Information Lectures: –Thursday 12:00 – 13:00 (room tba) –Friday 15:00 – 16:00 (A28) Labs: –Wednesday 10:00 – 11:00 (A305)
CS 376 Introduction to Computer Graphics 04 / 27 / 2007 Instructor: Michael Eckmann.
Approaches To Infinity. Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 9.7 Non-Euclidean Geometry and Fractal Geometry.
Bruce Wayne Fractals. What is a Fractal? According to Benoit Mandelbrot … “A fractal is by definition is a set for which the Hausdorff-Besicovitch dimension.
"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line."(Mandelbrot,
Mandelbrot Set the Who Is Mandelbrot?  Benoit Mandelbrot –Mandelbrot was born in Poland in He studied mathematics in France under Gaston Julia.
Amgad Hussein, Maria Tokarska, Edward Grinko, Dimitar Atassanov, Megan Varghese, Emilio Asperti.
10/21/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Terrain Dynamic LOD.
Computing & Information Sciences Kansas State University Lecture 37 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 37 of 42 Monday, 28 April.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Fractals. Similar Figures Same shape Corresponding angles are congruent Corresponding sides are proportional.
Introduction Introduction: Mandelbrot Set. Fractal Geometry ~*Beautiful Mathematics*~ FRACTAL GEOMETRY Ms. Luxton.
CS559: Computer Graphics Lecture 33: Shape Modeling Li Zhang Spring 2008.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
4/15/04© University of Wisconsin, CS559 Spring 2004 Last Time More modeling: –Hierarchical modeling –Instancing and Parametric Instancing –Constructive.
Chaos Theory and the Financial Markets Why Do Fractals Matter ?
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Wednesday, February 23, 2000 William H. Hsu Department.
CS 376 Introduction to Computer Graphics 04 / 30 / 2007 Last Lecture :( Instructor: Michael Eckmann.
Model Construction 김 성 남. Contents What is Modeling? Model Construction - Interactive modeling tools - Scanning tools - Computer vision -
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
FRACTALS Dr. Farhana Shaheen Assistant Professor YUC.
Fractals smooth surfaces and regular shapes - Euclidean-geometry methods -object shapes were described with equations natural objects - have irregular.
Artificial Intelligence in Game Design Content Generation.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
A model is… a representation of a planned or existing object.
Strategies and Rubrics for Teaching Chaos and Complex Systems Theories as Elaborating, Self-Organizing, and Fractionating Evolutionary Systems Fichter,
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Solid Modeling. Solid Modeling - Polyhedron A polyhedron is a connected mesh of simple planar polygons that encloses a finite amount of space. A polyhedron.
Self-Similarity Some examples. Self-Similarity in the Koch Curve Fractals usually possess what is called self-similarity across scales. That is, as one.
고려대학교 컴퓨터학과 김 창 헌 10 Three-Dimensional Object Representations 
Procedural Models How to easily generate complex data?
Game Programming, Math and the Real World Rolf Lakaemper, CIS, Temple University.
CSE 423 Computer Graphics | MUSHFIQUR ROUF CSE423:
Three-Dimensional Object Representation
Handle By, S.JENILA AP/IT
In the name of God Computer Graphics. Shortcomings So Far The representations we have looked at so far have various failings: –Meshes are large, difficult.
Fractals Ed Angel Professor Emeritus of Computer Science
 Introduction  Definition of a fractal  Special fractals: * The Mandelbrot set * The Koch snowflake * Sierpiński triangle  Fractals in nature  Conclusion.
Solid Modeling Dr. Scott Schaefer.
Creating a Hat Curve Fractal Objectives: 1.To create a Hat Curve fractal on Geometer’s Sketchpad using iteration. 2.To find the length of the Hat Curve.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Fractals and L-Systems
The Space-Filling Efficiency of Urban Form in Izmir: A Historical Perspective Using GIS and Fractal Dimension April 29th – 30th, th Meeting of AESOP.
Iterative Mathematics
Computer Graphics Lecture 40 Fractals Taqdees A. Siddiqi edu
Computer Graphics 9: Clipping In 3D
The Wonderful World of Fractals
Modeling with Geometry
Particle Systems - A Technique for Modeling a Class of Fuzzy Objects
Presentation transcript:

Course Website: Computer Graphics 11: 3D Object Representations – Octrees & Fractals

2 of 24 Contents In today’s lecture we would like to continue on from the last day and look at some more modelling techniques –Octrees –Fractals

3 of 24 Octrees Octrees are hierarchical tree structures used to represent solid objects Octrees are particularly useful in applications that require cross sectional views – for example medical applications Octrees are typically used when the interior of objects is important

4 of 24 Octrees & Quadtrees Octrees are based on a two-dimensional representation scheme called quadtree encoding Quadtree encoding divides a square region of space into four equal areas until homogeneous regions are found These regions can then be arranged in a tree

5 of 24 Quadtree Example 1

6 of 24 Quadtree Example 2 Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

7 of 24 Octrees Quadtree encodings provide considerable savings in storage when large colour areas exist in a region of space An octree takes the same approach as quadtrees, but divides a cube region of 3D space into octants Each region within an octree is referred to as a volume element or voxel Division is continued until homogeneous regions are discovered

8 of 24 Octrees (cont…) Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

9 of 24 Octrees (cont…) In 3 dimensions regions can be considered to be homogeneous in terms of colour, material type, density or any other physical characteristics Voxels also have the unique possibility of being empty

10 of 24 Octree Examples Taken from

11 of 24 Octree Examples (cont…) Taken from

12 of 24 Fractals All of the modelling techniques covered so far use Euclidean geometry methods –Objects were described using equations This is fine for manufactured objects But what about natural objects that have irregular or fragmented features? –Mountains, clouds, coral… “Clouds are not spheres, mountains are not cones, coastlines are not circles and bark is not smooth, nor does lightning travel in a straight line.” Benoit Mandelbrot

13 of 24 Fractal Geometry Methods & Procedural Modelling Natural objects can be realistically described using fractal geometry methods Fractal methods use procedures rather than equations to model objects - procedural modelling The major characteristic of any procedural model is that the model is not based on data, but rather on the implementation of a procedure following a particular set of rules Modelling On The Fly!

14 of 24 Fractals A fractal object has two basic characteristics: –Infinite detail at every point –A certain self similarity between object parts and the overall features of the object The Koch Curve Mandelbrot Set Video From:

15 of 24 Generating Fractals A fractal object is generated by repeatedly applying a specified transform function to points in a region of space If P 0 = ( x 0, y 0, z 0 ) is a selected initial position, each iteration of a transformation function F generates successive levels of detail with the calculations: In general the transformation is applied to a specified point set, or to a set of primitives (e.g. lines, curves, surfaces)

16 of 24 Generating Fractals (cont…) Although fractal objects, by definition have infinite detail, we only apply the transformation a finite number of times Obviously objects we display have finite dimension – they fit on a page or a screen A procedural representation approaches a true representation as we increase the number of iterations The amount of detail is limited by the resolution of the display device, but we can always zoom in for further detail

17 of 24 Example: The Koch Snowflake Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

18 of 24 Example: Ferns Very similar techniques can be used to generate vegetation

19 of 24 Fractal Dimension The amount of variation in the structure of a fractal object is described as the fractal dimension, D –More jagged looking objects have larger fractal dimensions Calculating the fractal dimension can be difficult, especially for particularly complex fractals We won’t look at the details of these calculations

20 of 24 Types Of Fractals Fractals can be classified into three groups –Self similar fractals These have parts that are scaled down versions of the entire object Commonly used to model trees, shrubs etc –Self affine fractals Have parts that are formed with different scaling parameters in each dimension Typically used for terrain, water and clouds –Invariant fractal sets Fractals formed with non-linear transformations Mandelbrot set, Julia set – generally not so useful

21 of 24 Random Midpoint Displacement Methods For Topography One of the most successful uses of fractal techniques in graphics is the generation of landscapes One efficient method for doing this is random midpoint displacement

22 of 24 Random Midpoint Displacement Methods For Topography (cont…) Easy to do in two dimensions Easily expanded to three dimensions to generate terrain Can introduce a roughness factor H to control terrain appearance Control surfaces can be used to start with a general terrain shape Terrain generation demo:

23 of 24 Fractals In Film Special Effects

24 of 24 Summary In today’s lecture we looked at how octrees and fractals are used in modelling Fractals in particular are a fairly exotic modelling technique, but can be extremely effective Next time we will look at curved surfaces which are extremely important