CS324e -Elements of Graphics and Visualization. Fractals and 3D Landscapes

Similar documents
Procedural modeling and shadow mapping. Computer Graphics CSE 167 Lecture 15

Three-Dimensional Shapes

Real Time Rendering of Complex Height Maps Walking an infinite realistic landscape By: Jeffrey Riaboy Written 9/7/03

Applications. 44 Stretching and Shrinking

CSE 167: Lecture #17: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Beaumont Middle School Design Project April May 2014 Carl Lee and Craig Schroeder

CSE 167: Lecture #15: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Synthetic Landscapes

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

FRACTALS AND THE SIERPINSKI TRIANGLE

CS 4620 Midterm, March 21, 2017

Fractals: a way to represent natural objects

Terrain rendering (part 1) Due: Monday, March 10, 10pm

Measurement 1 PYTHAGOREAN THEOREM. The area of the square on the hypotenuse of a right triangle is equal to the sum of the areas of

Subdivision Of Triangular Terrain Mesh Breckon, Chenney, Hobbs, Hoppe, Watts

Outline. Solid models and fractals. Constructive solid geometry. Constructive solid geometry COM3404. Richard Everson

Key Concept Euler s Formula

Junior Math Circles March 3, D Geometry I

Use isometric dot paper to sketch a rectangular prism 4 units high, 6 units long, and 5 units wide.

Solid models and fractals

Key Question. Focus. What are the geometric properties of a regular tetrahedron, and how do these compare to a bird tetrahedron?

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work


Attendance Questions: Find the area of each shape. Round your answer to the nearest tenth. 1. An equilateral triangle with edge length 20 cm.

CSE528 Computer Graphics: Theory, Algorithms, and Applications

3 Dimensional Solids. Table of Contents. 3 Dimensional Solids Nets Volume Prisms and Cylinders Pyramids, Cones & Spheres

solidthinking User Interface

TABLE OF CONTENTS. Worksheets Lesson 1 Worksheet Introduction to Geometry 41 Lesson 2 Worksheet Naming Plane and Solid Shapes.. 44

Sect Volume. 3 ft. 2 ft. 5 ft

Boardworks Ltd KS3 Mathematics. S1 Lines and Angles

Curriculum Correlation Geometry Cluster 2: 3-D Solids

CGT 581 G Procedural Methods Fractals

Section 9.5. Tessellations. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

To build shapes from scratch, use the tools are the far right of the top tool bar. These

Mathematics 350 Section 6.3 Introduction to Fractals

Scalar Field Visualization I

D A S O D A. Identifying and Classifying 3-D Objects. Examples

Chapter 4-3D Modeling

CCSI 3161 Project Flight Simulator

Terrain Rendering (Part 1) Due: Thursday November 30 at 10pm

Fractal Geometry. LIACS Natural Computing Group Leiden University

7. Stochastic Fractals

February 07, Dimensional Geometry Notebook.notebook. Glossary & Standards. Prisms and Cylinders. Return to Table of Contents

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry

Fractals in Nature and Mathematics: From Simplicity to Complexity

Lesson 99. Three-Dimensional Shapes. sphere cone cylinder. Circle the objects that match the shape name.

When discussing 3-D solids, it is natural to talk about that solid s Surface Area, which is the sum of the areas of all its outer surfaces or faces.

Fractal Geometry. Prof. Thomas Bäck Fractal Geometry 1. Natural Computing Group

CSE 167: Introduction to Computer Graphics Lecture #16: Procedural Modeling

3 Dimensional Geometry Chapter Questions. 1. What are the differences between prisms and pyramids? Cylinders and cones?

3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models

Scalar Field Visualization I

Area of Plane Shapes 1

Example: The following is an example of a polyhedron. Fill the blanks with the appropriate answer. Vertices:

CHAPTER 1 Graphics Systems and Models 3

Geometry Vocabulary. acute angle-an angle measuring less than 90 degrees

Section 7.5. Fractals

Learning from Home Activity Booklet

2nd Grade. 2D Shapes - Part 1 Angles and Sides. Slide 1 / 117 Slide 2 / 117. Slide 3 / 117. Slide 4 / 117. Slide 6 / 117.

Textures. Texture Mapping. Bitmap Textures. Basic Texture Techniques

Practice A Introduction to Three-Dimensional Figures

CGS 3220 Lecture 17 Subdivision Surfaces

Polyhedron 10.1 POLYHEDRONS, PRISMS, AND PYRAMIDS. A solid made up of Polygons. face. edge. vertex

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line:

Pre-Algebra Notes Unit 10: Geometric Figures & Their Properties; Volume

Identify the following 3-D Geometric Shapes

Lesson Polygons

2D Drawing Primitives

Grade 6 Math Circles. Spatial and Visual Thinking

Session 27: Fractals - Handout

SketchUp. SketchUp. Google SketchUp. Using SketchUp. The Tool Set

Unit 10 Study Guide: Plane Figures

MODULE 18 VOLUME FORMULAS

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry Solutions

Beautiful Repetitions

CS 465 Program 4: Modeller

GTPS Curriculum Mathematics Grade 8

SOLIDS.

5 Applications of Definite Integrals

Part I Multiple Choice

Adaptive Point Cloud Rendering

About Finish Line Mathematics 5

Lesson 03: We will add water and will set the placing conditions for the material. WorldBuilder 3.5. for. About Digital Element Tutorials:

Draw and Classify 3-Dimensional Figures

29 GEOMETRY AND MEASURE: AREA AND VOLUME

Chapters 11 and 12 Study Guide Name: Length, Area, Surface Area, Block: and Volume of Solids

Escape-Time Fractals

Appendix. Correlation to the High School Geometry Standards of the Common Core State Standards for Mathematics

ARCHITECTURE & GAMES. A is for Architect Simple Mass Modeling FORM & SPACE. Industry Careers Framework. Applied. Getting Started.

Animation Basics. Learning Objectives

More Texture Mapping. Texture Mapping 1/46

CCM6+ Unit 12 Surface Area and Volume page 1 CCM6+ UNIT 12 Surface Area and Volume Name Teacher Kim Li

CS324e -Elements of Graphics and Visualization. Animation in Java3D

Using the CMA Warp Editor

Ready To Go On? Skills Intervention 10-1 Solid Geometry

Fun with Fractals Saturday Morning Math Group

8-3. A butterfly house at a local zoo is a rectangular prism with dimensions 20' 15' 10' and contains 625 butterflies.

Fractals. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna.

Fractals and the Chaos Game

Transcription:

CS324e -Elements of Graphics and Visualization Fractals and 3D Landscapes

Fractals A geometric figure in which smaller parts share characteristics of the entire figure a detailed pattern that repeats itself contain self similar patterns appearance of details matches the overall figure often described mathematically 2

Mandelbrot Set Fractals Burning Ship Fractal 3

SierpinskiTriangle Fractal Described by Polish mathematician WacławSierpińskiin 1915 Algorithm Pick a side length and the lower left vertex for an equilateral triangle If the side length is less than some minimum draw the triangle else draw three smaller Sierpinski Triangles 4

SierpinskiTriangle x +.25 * side length, y + sqrt(3) / 4 * side length side length x, y x +.5*side length, y 5

min length = start length SierpinskiTriangle 6

min length = start length / 2 SierpinskiTriangle 7

min length = start length / 4 SierpinskiTriangle 8

min length = start length / 8 SierpinskiTriangle 9

min length = start length / 16 SierpinskiTriangle 10

min length = start length / 32 SierpinskiTriangle 11

min length = start length / 64 SierpinskiTriangle 12

min length = start length / 128 SierpinskiTriangle 13

Close up -Self Similar Close up of bottom, right triangle from minlength= startlength/ 128 14

Implementation of Sierpinski 15

Implementation of Sierpinski Base Case Recursive Case 16

Implementation of Sierpinski Base Case -Draw One Triangle 17

Fractal Land Example from KGPJ chapter 26 Create a mesh of quads example 256 x 256 tiles allow the height of points in the quad to vary from one to the next split quads into one of 5 categories based on height water, sand, grass, dry earth, stone appearance based on texture (image file) 18

Fractal Mesh Generate varied height of quads using a "Diamond -Square" algorithm looking down on mesh heights of points A, B, C, D A B C D

Generate Fractal Mesh -Diamond Step dheight = max height -min height Height of Point E = A B (Ah + Bh+ Ch+ Dh) / 4 + random(-dheight/2, +dheight/2) E average of 4 corner points plus some random value in range of max and min allowed height C D 20

Square Step With height of E set generate height of 4 points around E Gh= (Ah + Eh + Eh + Ch) / 4 + random( -dheight/2, +dheight/2) A G C E F D B H I 21

Repeat Diamond Step F A B J K G E H L M C D I 22

Completing Mesh Continuing alternating diamond and square step until the size of the quad is 1. Each point of quad at a fixed x and z coordinate, but the y has been generated randomly Problem: if the height is allowed to vary between the min and max height for every point how different can points on a quad be? 23

A Spear Trap 24

What is the Problem? By allowing the points that form a single quad to vary anywhere in the range from min to max height we get vast differences Solution: after a pair of diamond -square steps reduce the range of the random value referred to as the flatness factor range = range / flatness 25

Flatness of 1.5 26

Flatness of 2.5 27

Flatness of 2.0 28

Textures Shapes in Java3D may be wrapped in a texture In FractalLandthe mesh is simply a QuadArray Each texture is an image file Quad Array created and texture coordinates generated for each quad how does image map to quad 29

Simple Textures Texture can also be applied to the primitive shapes: box, cone, sphere, cylinder From the interpolator example When creating box must add primflagto generate texture coordinates 30

Creating Appearance Appearance for shape based on texture not material 31

Result texture wrapped and repeated as necessary can lead to odd seams, creases, and stretching 32

Combining Texture and Material can combine material and texture to create modulated material 33

Result 34

Controls Version of FractalLandshown had orbit controls to allow movement of camera anywhere in scene program includes method to add key controls and keeps camera close to the ground as if moving across the landscape 35

Result 36

Adding Fog Java3D includes ability to add fog LinearFog ExponentialFog density of fog as function of distance from the camera fog has color and parameters to determine density of fog 37

LinearFog 38

Result 39