How shapes are represented in 3D Graphics. Aims and objectives By the end of the lecture you will be able to describe

Size: px
Start display at page:

Download "How shapes are represented in 3D Graphics. Aims and objectives By the end of the lecture you will be able to describe"

Transcription

1 Today s lecture Today we will learn about The mathematics of 3D space vectors How shapes are represented in 3D Graphics Modelling shapes as polygons Aims and objectives By the end of the lecture you will be able to describe 3D coordinates and vectors basic vector mathematics How points are draw using OpenGL How shapes are are drawn using polygons How to use GL_POINTS, GL_TRIANGLES and GL_TRIANGLESTRIP Computer Graphics To do Computer Graphics we have to represent everything as numbers Positions Objects Colours Whatever we want to do with things can be represented as mathematical operations Lets start with positions Coordinates 1

2 A screen is a 2D grid of pixels Coordinates 2

3 each pixel has a position defined by 2 numbers x horizontal y vertical any position is relative to the origin Coordinates 3

4 x and y are distances relative to the top left corner call this the origin The starting point of our coordinates any position is relative to the origin Coordinates 4

5 doesn t have to be pixels on a screen an represent any point in space by x and y space is continuous not divided into pixels so we use floats not integers Coordinates 5

6 Again x and y are relative to the origin Coordinates 6

7 we can combine x and y a single mathematical object a vector (x, y) Coordinates 7

8 We use vectors to define positions in space but they are always relative positions a point in space is defined by: a vector an origin Coordinates 8

9 This all works the same in 3D space except vectors now have 3 components (x, y, z) Vectors A vector is a single entity v = (x, y) that combines together x and y It is a convenient way of storing both there are also useful mathematical operations defined on vectors they act on the whole vector not x and y separately Processing has a class PVector 9

10 Magnitude and Direction Another way of looking at vectors. All vectors have A Magnitude (length) A Director Magnitude and Direction Vectors can have the same magnitude and different directions... Magnitude and Direction 10

11 the same direction and different magnitudes... or Magnitude and Direction The magnitude is a scalar (single number) The direction is a vector of length 1 The direction gives the relative sizes of x, y, z Magnitude and Direction The larger the magnitude, the longer the vector The relative size of x, y, z in give the direction the vector faces in A negative direction means the opposite direction e.g. setting v.x = v.x reverses the direction along the x axis. 11

12 Magnitude The magnitude is a scalar (single number) The length of the vector How do we calculate it? Pythagoras Theorem "In a right angle triangle the square on the hypotenuse is the sum of the squares on the other two sides" h 2 = x 2 + y 2 h is the length Magnitude We can use the formula to calculate the magnitude h 2 = x 2 + y 2 12

13 h = x 2 + y 2 PVector has a method mag for calculating it the mathematical symbol for the magnitude of vector v is v Direction Direction is represented by a vector with length 1 To get the direction you divide a vector by its magnitude The symbol for the direction of v is v v = v V ( x (x, y) =, x 2 +y 2 This it called normalising ) y x 2 +y 2 A vector of length 1 is called normalised PVector has a method normalize for calculating it Multiplying by a Scalar A scalar is a single number (i.e. not a vector) Multiplying a vector by a scalar multiplies the magnitude and keeps the direction the same so 3v goes 3 times as far in the same direction as v so v 2 goes half the distance in the same direction as v so 2v goes twice as far in the opposite direction PVector has a method mult for multiplying by a scalar Vector Addition 13

14 To add 2 vectors v 1 = (x 1, y 1 ) and v 2 = (x 1, y 2 ) v 1 + v 2 = (x 1 + x 2, y 1 + y 2 ) Gives you the point that is at position v 2 relative to v 1 So the point that is the equivalent of going first v 1 then v 2 relative to the origin Vector Subtraction 14

15 negating a vector v creates a vector in the opposite direction If you subtract a vector from another v 1 v 2 you first go v 1 relative to the origin and then go back v 2 (i.e. you go in the opposite direction of v 2 If v 1 and v 2 are positions of points then v 1 v 2 will give you the vector that goes from v 2 to v 1 Vector Addition 15

16 Another way to think about vector addition A point is a vector relative to somewhere? What if we want to know the vector of a point relative to somewhere else? i.e. changing the origin Vector Addition 16

17 If we know B relative to A and C relative to B How do we get C relative to A? Vector Addition 17

18 If we know B relative to A and C relative to B How do we get C relative to A? Adding the vector from B->C to that from A->B gives you the vector from A->C Vector Subtraction 18

19 If we know B and C both relative to A. How do we get C relative to B? Adding the vector from B->C to that from A->B gives you the vector from A->C Vector Subtraction 19

20 If we know B and C both relative to A. How do we get C relative to B? You subtract the vector A->B from A->C to get B->C Vectors 20

21 House Gardener Garden Tree If you know the position of the tree relative to the Garden, what is its position in the world? what is its position relative to the house? what vector does the Gardener have to walk along to get to the tree? Vectors 21

22 House Gardener Garden Tree If you know the position of the tree relative to the Garden, what is its position in the screen? if the position of the tree is t and the origin of the garden is g the screen position is t + g what is its position relative to the house? what vector does the Gardener have to walk along to get to the tree? Vectors 22

23 House Gardener Garden Tree If you know the position of the tree relative to the Garden, what is its position in the screen? what is its position relative to the house? if the position of the house is h the position relative to the house is t + g h what vector does the Gardener have to walk along to get to the tree? Vectors 23

24 House Gardener Garden Tree If you know the position of the tree relative to the Garden, what is its position in the screen? what is its position relative to the house? what vector does the Gardener have to walk along to get to the tree? if the gardener s position (relative to the garden) is p t p Distance between 2 points Lets bring this all together How do we calculate the distance between two points v 1 and v 2? Distance between 2 points Lets bring this all together How do we calculate the distance between two points v 1 and v 2? 24

25 We want the length of the vector between v 1 and v 2 We want the length of v 1 v 2 v 1 v 2 = (x 1 x 2 ) 2 + (y 1 y 2 ) 2 Moving at constant rate towards a point You have an object at a start position v 1 and you want to get to an end position v 2 at constant speed s v 1 v 2 is the vector we want to move along We need the direction from this vector v 1 v 2 v 1 v 2 The magnitude is the same as the speed s multiply the direction by the magnitude: s v1 v2 v 1 v 2 I will ask you to do this in Processing in the next lab Aims and objectives By the end of the lecture you will be able to describe 3D coordinates and vectors basic vector mathematics How points are draw using OpenGL How shapes are are drawn using polygons How to use GL_POINTS, GL_TRIANGLES and GL_TRIANGLESTRIP 1 Shapes in OpenGL OpenGL Drawing in OpenGL is all based around points defined as an (x, y, z) vector relative to an origin In OpenGL they are called Verteces (sing. Vertex) Vertex is a mathematical term which basically means a corner, or somewhere where lines meet Soon we will see how they are used 25

26 Drawing Verteces To draw a vertex we use a method called gl.glvertex3f The 3f bit means that it takes 3 floats for x, y, and z There are other different variants that take different arguments (look them up) Drawing Verteces g l. g l B e g i n ( g l. GL_POINTS ) ; g l. g l V e r t e x ( 2 0 0, 100, 300); g l. glend ( ) ; All drawing code in OpenGL needs to be in between a call to glbegin and glend The GL_POINTS bit means that were are drawing the verteces as a set of points Drawing Verteces g l. g l B e g i n ( g l. GL_POINTS ) ; g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 200, 300); g l. glend ( ) ; Lets draw a triangle This draws 3 points What if we want to draw a filled in triangle? Drawing A Triangle g l. g l B e g i n ( g l. GL\ _TRIANGLES ) ; g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 200, 300); g l. glend ( ) ; GL_TRIANGLE takes each 3 points and draws a triangle out of them Polygons In CG we build 3D shapes from a surface made out of polygons 2D shapes like triangles and squares They are defined by the points at their corners (Verteces) complex 3D surfaces can be build up out of a mesh of polygons 26

27 Triangles We normally use Triangles because they are the simplest polygons They are simple: you can t get two sides that cross eachother They are convex: you can t have bits that poke in They are always planar: all 3 verteces lie on the same plane (they are flat) This means we can have efficient algorithms for rendering them Sometimes we also use quadrilaterals (quads) 4 sided shapes Triangles They are simple: you can t get two sides that cross eachother They are convex: you can t have bits that poke in They are always planar: all 3 verteces lie on the same plane (they are flat) 27

28 Triangles They are simple: you can t get two sides that cross eachother They are convex: you can t have bits that poke in They are always planar: all 3 verteces lie on the same plane (they are flat) Triangles 28

29 They are simple: you can t get two sides that cross eachother They are convex: you can t have bits that poke in They are always planar: all 3 verteces lie on the same plane (they are flat) Creating Complex Shapes g l. g l B e g i n ( g l. GL_TRIANGLES ) ; g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 100, 300); g l. g l V e r t e x ( 3 0 0, 300, 300); g l. glend ( ) ; We can create a square by putting wo triangles together 29

30 the last two verteces of the first triangle are the same as the first two of the second This is quite inefficient you have to draw them twice Triangle strips With GL_TRIANGLES verteces are grouped into triangle by take them 3 at a time GL_TRIANGLESTRIP does it more efficiently Triangle strips The first 3 verteces are formed into a triangle After that triangles are formed by using the last two verteces of the previous triangle and then next vertex in sequence g l. g l B e g i n ( g l. GL_TRIANGLESTRIP ) ; g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 300, 300); g l. glend ( ) ; 30

31 More efficient Gets much better when you have really big meshes Triangle fans GL_TRIANGLEFAN is similar to a triangle strip except each triangle is formed from The very first vertex in the list The last vertex in the previous triangle The next vertex in the list Drawing a Cube with a Triangle strip How would you draw a cube using a triangle strip? Drawing a Cube with a Triangle strip 31

32 g l. g l B e g i n ( g l. GL_TRIANGLESTRIP ) ; g l. g l V e r t e x ( 1 0 0, 100, 100); g l. g l V e r t e x ( 1 0 0, 300, 100); g l. g l V e r t e x ( 3 0 0, 300, 100); g l. g l V e r t e x ( 3 0 0, 300, 300); g l. g l V e r t e x ( 3 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 100, 100); g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 1 0 0, 300, 100); g l. g l V e r t e x ( 1 0 0, 300, 100); g l. g l V e r t e x ( 1 0 0, 300, 300); g l. g l V e r t e x ( 1 0 0, 100, 300); g l. g l V e r t e x ( 3 0 0, 100, 300); g l. glend ( ) ; More complex objects Cubes are fine but what about more complex objects There are a couple of libraries that help GLU is part of the OpenGL distribution, it has a number of methods for creating shapes The Processing OBJ loader by Saito allows you to load in objects created in a modeling tool like Maya or Blender Look them up Height Maps 32

33 Generating Terrain A grid of polygons (quads) evenly spaced in x and z y-value is the height, given by a data set or function called a height map Height Maps g l. g l B e g i n ( g l.gl_quads ) ; f o r ( i n t i = 0 ; i < heightmap. l e n g t h 1; i ++) f o r ( i n t j = 0 ; j < heightmap [ i ]. l e n g t h 1; j ++) { g l. g l V e r t e x 3 f ( i s p a c i n g, heightmap [ i ] [ j ], j s p a c i n g ) ; g l. g l V e r t e x 3 f ( i s p a c i n g, heightmap [ i ] [ j + 1 ], ( j +1) s p a c i n g ) ; g l. g l V e r t e x 3 f ( ( i +1) s p a c i n g, heightmap [ i + 1 ] [ j + 1 ], ( j +1) s p a c i n g ) ; g l. g l V e r t e x 3 f ( ( i +1) s p a c i n g, heightmap [ i + 1 ] [ j ], j s p a c i n g ) ; } g l. glend ( ) ; Aims and objectives By the end of the lecture you will be able to describe 3D coordinates and vectors basic vector mathematics How points are draw using OpenGL How shapes are are drawn using polygons How to use GL_POINTS, GL_TRIANGLES and GL_TRIANGLESTRIP 33

Geometry Primitives. Computer Science Department University of Malta. Sandro Spina Computer Graphics and Simulation Group. CGSG Geometry Primitives

Geometry Primitives. Computer Science Department University of Malta. Sandro Spina Computer Graphics and Simulation Group. CGSG Geometry Primitives Geometry Primitives Sandro Spina Computer Graphics and Simulation Group Computer Science Department University of Malta 1 The Building Blocks of Geometry The objects in our virtual worlds are composed

More information

Computer graphic -- Programming with OpenGL I

Computer graphic -- Programming with OpenGL I Computer graphic -- Programming with OpenGL I A simple example using OpenGL Download the example code "basic shapes", and compile and run it Take a look at it, and hit ESC when you're done. It shows the

More information

Basics of Computational Geometry

Basics of Computational Geometry Basics of Computational Geometry Nadeem Mohsin October 12, 2013 1 Contents This handout covers the basic concepts of computational geometry. Rather than exhaustively covering all the algorithms, it deals

More information

Mathematics Background

Mathematics Background Finding Area and Distance Students work in this Unit develops a fundamentally important relationship connecting geometry and algebra: the Pythagorean Theorem. The presentation of ideas in the Unit reflects

More information

2D Drawing Primitives

2D Drawing Primitives THE SIERPINSKI GASKET We use as a sample problem the drawing of the Sierpinski gasket an interesting shape that has a long history and is of interest in areas such as fractal geometry. The Sierpinski gasket

More information

Intermediate Mathematics League of Eastern Massachusetts

Intermediate Mathematics League of Eastern Massachusetts Meet # January 010 Intermediate Mathematics League of Eastern Massachusetts Meet # January 010 Category 1 - Mystery Meet #, January 010 1. Of all the number pairs whose sum equals their product, what is

More information

PLC Papers Created For:

PLC Papers Created For: PLC Papers Created For: Year 10 Topic Practice Papers: Polygons Polygons 1 Grade 4 Look at the shapes below A B C Shape A, B and C are polygons Write down the mathematical name for each of the polygons

More information

4: Polygons and pixels

4: Polygons and pixels COMP711 Computer Graphics and Image Processing 4: Polygons and pixels Toby.Howard@manchester.ac.uk 1 Introduction We ll look at Properties of polygons: convexity, winding, faces, normals Scan conversion

More information

Scalar Field Visualization. Some slices used by Prof. Mike Bailey

Scalar Field Visualization. Some slices used by Prof. Mike Bailey Scalar Field Visualization Some slices used by Prof. Mike Bailey Scalar Fields The approximation of certain scalar function in space f(x,y,z). Most of time, they come in as some scalar values defined on

More information

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside CS230 : Computer Graphics Lecture 4 Tamar Shinar Computer Science & Engineering UC Riverside Shadows Shadows for each pixel do compute viewing ray if ( ray hits an object with t in [0, inf] ) then compute

More information

GEOMETRIC OBJECTS AND TRANSFORMATIONS I

GEOMETRIC OBJECTS AND TRANSFORMATIONS I Computer UNIT Graphics - 4 and Visualization 6 Hrs GEOMETRIC OBJECTS AND TRANSFORMATIONS I Scalars Points, and vectors Three-dimensional primitives Coordinate systems and frames Modelling a colored cube

More information

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:

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: Prisms Most of the solids you ll see on the Math IIC test are prisms or variations on prisms. A prism is defined as a geometric solid with two congruent bases that lie in parallel planes. You can create

More information

Grade 6 Mathematics Item Specifications Florida Standards Assessments

Grade 6 Mathematics Item Specifications Florida Standards Assessments Content Standard MAFS.6.G Geometry MAFS.6.G.1 Solve real-world and mathematical problems involving area, surface area, and volume. Assessment Limits Calculator s Context A shape is shown. MAFS.6.G.1.1

More information

Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney

Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney 1. Wrapping a string around a trash can measures the circumference of the trash can. Assuming the trash can is circular,

More information

Programming of Graphics

Programming of Graphics Peter Mileff PhD Programming of Graphics Introduction to OpenGL University of Miskolc Department of Information Technology OpenGL libraries GL (Graphics Library): Library of 2D, 3D drawing primitives and

More information

CS130 : Computer Graphics Lecture 2: Graphics Pipeline. Tamar Shinar Computer Science & Engineering UC Riverside

CS130 : Computer Graphics Lecture 2: Graphics Pipeline. Tamar Shinar Computer Science & Engineering UC Riverside CS130 : Computer Graphics Lecture 2: Graphics Pipeline Tamar Shinar Computer Science & Engineering UC Riverside Raster Devices and Images Raster Devices - raster displays show images as a rectangular array

More information

An angle that has a measure less than a right angle.

An angle that has a measure less than a right angle. Unit 1 Study Strategies: Two-Dimensional Figures Lesson Vocab Word Definition Example Formed by two rays or line segments that have the same 1 Angle endpoint. The shared endpoint is called the vertex.

More information

Computer Graphics. Making Pictures. Computer Graphics CSC470 1

Computer Graphics. Making Pictures. Computer Graphics CSC470 1 Computer Graphics Making Pictures Computer Graphics CSC470 1 Getting Started Making Pictures Graphics display: Entire screen (a); windows system (b); [both have usual screen coordinates, with y-axis y

More information

Student Outcomes. Lesson Notes. Classwork. Opening Exercise (3 minutes)

Student Outcomes. Lesson Notes. Classwork. Opening Exercise (3 minutes) Student Outcomes Students solve problems related to the distance between points that lie on the same horizontal or vertical line Students use the coordinate plane to graph points, line segments and geometric

More information

About Finish Line Mathematics 5

About Finish Line Mathematics 5 Table of COntents About Finish Line Mathematics 5 Unit 1: Big Ideas from Grade 1 7 Lesson 1 1.NBT.2.a c Understanding Tens and Ones [connects to 2.NBT.1.a, b] 8 Lesson 2 1.OA.6 Strategies to Add and Subtract

More information

Computer Graphics Fundamentals. Jon Macey

Computer Graphics Fundamentals. Jon Macey Computer Graphics Fundamentals Jon Macey jmacey@bournemouth.ac.uk http://nccastaff.bournemouth.ac.uk/jmacey/ 1 1 What is CG Fundamentals Looking at how Images (and Animations) are actually produced in

More information

Elementary Planar Geometry

Elementary Planar Geometry Elementary Planar Geometry What is a geometric solid? It is the part of space occupied by a physical object. A geometric solid is separated from the surrounding space by a surface. A part of the surface

More information

CS130 : Computer Graphics. Tamar Shinar Computer Science & Engineering UC Riverside

CS130 : Computer Graphics. Tamar Shinar Computer Science & Engineering UC Riverside CS130 : Computer Graphics Tamar Shinar Computer Science & Engineering UC Riverside Raster Devices and Images Raster Devices Hearn, Baker, Carithers Raster Display Transmissive vs. Emissive Display anode

More information

CSCI 4620/8626. Coordinate Reference Frames

CSCI 4620/8626. Coordinate Reference Frames CSCI 4620/8626 Computer Graphics Graphics Output Primitives Last update: 2014-02-03 Coordinate Reference Frames To describe a picture, the world-coordinate reference frame (2D or 3D) must be selected.

More information

Boardworks Ltd KS3 Mathematics. S1 Lines and Angles

Boardworks Ltd KS3 Mathematics. S1 Lines and Angles 1 KS3 Mathematics S1 Lines and Angles 2 Contents S1 Lines and angles S1.1 Labelling lines and angles S1.2 Parallel and perpendicular lines S1.3 Calculating angles S1.4 Angles in polygons 3 Lines In Mathematics,

More information

Unit 1, Lesson 1: Tiling the Plane

Unit 1, Lesson 1: Tiling the Plane Unit 1, Lesson 1: Tiling the Plane Let s look at tiling patterns and think about area. 1.1: Which One Doesn t Belong: Tilings Which pattern doesn t belong? 1 1.2: More Red, Green, or Blue? m.openup.org//6-1-1-2

More information

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science CSC 307 1.0 Graphics Programming Department of Statistics and Computer Science Graphics Programming 2 Common Uses for Computer Graphics Applications for real-time 3D graphics range from interactive games

More information

Marching Squares Algorithm. Can you summarize the marching squares algorithm based on what we just discussed?

Marching Squares Algorithm. Can you summarize the marching squares algorithm based on what we just discussed? Marching Squares Algorithm Can you summarize the marching squares algorithm based on what we just discussed? Marching Squares Algorithm Can you summarize the marching squares algorithm based on what we

More information

Digits. Value The numbers a digit. Standard Form. Expanded Form. The symbols used to show numbers: 0,1,2,3,4,5,6,7,8,9

Digits. Value The numbers a digit. Standard Form. Expanded Form. The symbols used to show numbers: 0,1,2,3,4,5,6,7,8,9 Digits The symbols used to show numbers: 0,1,2,3,4,5,6,7,8,9 Value The numbers a digit represents, which is determined by the position of the digits Standard Form Expanded Form A common way of the writing

More information

Course Number: Course Title: Geometry

Course Number: Course Title: Geometry Course Number: 1206310 Course Title: Geometry RELATED GLOSSARY TERM DEFINITIONS (89) Altitude The perpendicular distance from the top of a geometric figure to its opposite side. Angle Two rays or two line

More information

GEOMETRY & INEQUALITIES. (1) State the Triangle Inequality. In addition, give an argument explaining why it should be true.

GEOMETRY & INEQUALITIES. (1) State the Triangle Inequality. In addition, give an argument explaining why it should be true. GEOMETRY & INEQUALITIES LAMC INTERMEDIATE GROUP - 2/23/14 The Triangle Inequality! (1) State the Triangle Inequality. In addition, give an argument explaining why it should be true. (2) Now we will prove

More information

1. CONVEX POLYGONS. Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D.

1. CONVEX POLYGONS. Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D. 1. CONVEX POLYGONS Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D. Convex 6 gon Another convex 6 gon Not convex Question. Why is the third

More information

Today s Agenda. Basic design of a graphics system. Introduction to OpenGL

Today s Agenda. Basic design of a graphics system. Introduction to OpenGL Today s Agenda Basic design of a graphics system Introduction to OpenGL Image Compositing Compositing one image over another is most common choice can think of each image drawn on a transparent plastic

More information

Mgr. ubomíra Tomková GEOMETRY

Mgr. ubomíra Tomková GEOMETRY GEOMETRY NAMING ANGLES: any angle less than 90º is an acute angle any angle equal to 90º is a right angle any angle between 90º and 80º is an obtuse angle any angle between 80º and 60º is a reflex angle

More information

Prime Time (Factors and Multiples)

Prime Time (Factors and Multiples) CONFIDENCE LEVEL: Prime Time Knowledge Map for 6 th Grade Math Prime Time (Factors and Multiples). A factor is a whole numbers that is multiplied by another whole number to get a product. (Ex: x 5 = ;

More information

Describe Plane Shapes

Describe Plane Shapes Lesson 12.1 Describe Plane Shapes You can use math words to describe plane shapes. point an exact position or location line endpoints line segment ray a straight path that goes in two directions without

More information

What would you see if you live on a flat torus? What is the relationship between it and a room with 2 mirrors?

What would you see if you live on a flat torus? What is the relationship between it and a room with 2 mirrors? DAY I Activity I: What is the sum of the angles of a triangle? How can you show it? How about a quadrilateral (a shape with 4 sides)? A pentagon (a shape with 5 sides)? Can you find the sum of their angles

More information

6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To...

6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To... 6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To... Report Card Skill: Use ratio reasoning to solve problems a ratio compares two related quantities ratios can be

More information

Number- Algebra. Problem solving Statistics Investigations

Number- Algebra. Problem solving Statistics Investigations Place Value Addition, Subtraction, Multiplication and Division Fractions Position and Direction Decimals Percentages Algebra Converting units Perimeter, Area and Volume Ratio Properties of Shapes Problem

More information

Name Date Class. When the bases are the same and you multiply, you add exponents. When the bases are the same and you divide, you subtract exponents.

Name Date Class. When the bases are the same and you multiply, you add exponents. When the bases are the same and you divide, you subtract exponents. 2-1 Integer Exponents A positive exponent tells you how many times to multiply the base as a factor. A negative exponent tells you how many times to divide by the base. Any number to the 0 power is equal

More information

Filled Area Primitives. CEng 477 Introduction to Computer Graphics METU, 2007

Filled Area Primitives. CEng 477 Introduction to Computer Graphics METU, 2007 Filled Area Primitives CEng 477 Introduction to Computer Graphics METU, 2007 Filled Area Primitives Two basic approaches to area filling on raster systems: Determine the overlap intervals for scan lines

More information

Curvature Berkeley Math Circle January 08, 2013

Curvature Berkeley Math Circle January 08, 2013 Curvature Berkeley Math Circle January 08, 2013 Linda Green linda@marinmathcircle.org Parts of this handout are taken from Geometry and the Imagination by John Conway, Peter Doyle, Jane Gilman, and Bill

More information

Year 6 Mathematics Overview

Year 6 Mathematics Overview Year 6 Mathematics Overview Term Strand National Curriculum 2014 Objectives Focus Sequence Autumn 1 Number and Place Value read, write, order and compare numbers up to 10 000 000 and determine the value

More information

Principles of Computer Game Design and Implementation. Lecture 6

Principles of Computer Game Design and Implementation. Lecture 6 Principles of Computer Game Design and Implementation Lecture 6 We already knew Game history game design information Game engine 2 What s Next Mathematical concepts (lecture 6-10) Collision detection and

More information

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH6 2.1 Warm-Up: See Solved Homework questions 2.2 Cartesian coordinate system Coordinate axes: Two perpendicular lines that intersect at the origin O on each line.

More information

Assignment 1. Simple Graphics program using OpenGL

Assignment 1. Simple Graphics program using OpenGL Assignment 1 Simple Graphics program using OpenGL In this assignment we will use basic OpenGL functions to draw some basic graphical figures. Example: Consider following program to draw a point on screen.

More information

Computer Graphics. OpenGL

Computer Graphics. OpenGL Computer Graphics OpenGL What is OpenGL? OpenGL (Open Graphics Library) is a library for computer graphics It consists of several procedures and functions that allow a programmer to specify the objects

More information

CS 465 Program 4: Modeller

CS 465 Program 4: Modeller CS 465 Program 4: Modeller out: 30 October 2004 due: 16 November 2004 1 Introduction In this assignment you will work on a simple 3D modelling system that uses simple primitives and curved surfaces organized

More information

Maths. Formative Assessment/key piece of work prior to end of unit: Term Autumn 1

Maths. Formative Assessment/key piece of work prior to end of unit: Term Autumn 1 Term Autumn 1 3 weeks Negative numbers Multiples and factors Common factors Prime numbers Ordering decimal numbers Rounding Square numbers and square roots Prime factor decomposition LCM and HCF Square

More information

CSC 8470 Computer Graphics. What is Computer Graphics?

CSC 8470 Computer Graphics. What is Computer Graphics? CSC 8470 Computer Graphics What is Computer Graphics? For us, it is primarily the study of how pictures can be generated using a computer. But it also includes: software tools used to make pictures hardware

More information

Unit Circle. Project Response Sheet

Unit Circle. Project Response Sheet NAME: PROJECT ACTIVITY: Trigonometry TOPIC Unit Circle GOALS MATERIALS Explore Degree and Radian Measure Explore x- and y- coordinates on the Unit Circle Investigate Odd and Even functions Investigate

More information

Lesson 1. Unit 2 Practice Problems. Problem 2. Problem 1. Solution 1, 4, 5. Solution. Problem 3

Lesson 1. Unit 2 Practice Problems. Problem 2. Problem 1. Solution 1, 4, 5. Solution. Problem 3 Unit 2 Practice Problems Lesson 1 Problem 1 Rectangle measures 12 cm by 3 cm. Rectangle is a scaled copy of Rectangle. Select all of the measurement pairs that could be the dimensions of Rectangle. 1.

More information

Developmental Math An Open Program Unit 7 Geometry First Edition

Developmental Math An Open Program Unit 7 Geometry First Edition Developmental Math An Open Program Unit 7 Geometry First Edition Lesson 1 Basic Geometric Concepts and Figures TOPICS 7.1.1 Figures in 1 and 2 Dimensions 1 Identify and define points, lines, line segments,

More information

(Refer Slide Time: 00:02:00)

(Refer Slide Time: 00:02:00) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 18 Polyfill - Scan Conversion of a Polygon Today we will discuss the concepts

More information

Unit 2. Looking for Pythagoras. Investigation 4: Using the Pythagorean Theorem: Understanding Real Numbers

Unit 2. Looking for Pythagoras. Investigation 4: Using the Pythagorean Theorem: Understanding Real Numbers Unit 2 Looking for Pythagoras Investigation 4: Using the Pythagorean Theorem: Understanding Real Numbers I can relate and convert fractions to decimals. Investigation 4 Practice Problems Lesson 1: Analyzing

More information

Scalar Field Visualization I

Scalar Field Visualization I Scalar Field Visualization I What is a Scalar Field? The approximation of certain scalar function in space f(x,y,z). Image source: blimpyb.com f What is a Scalar Field? The approximation of certain scalar

More information

Geometry. (1) Complete the following:

Geometry. (1) Complete the following: (1) omplete the following: 1) The area of the triangle whose base length 10cm and height 6cm equals cm 2. 2) Two triangles which have the same base and their vertices opposite to this base on a straight

More information

Moore Catholic High School Math Department

Moore Catholic High School Math Department Moore Catholic High School Math Department Geometry Vocabulary The following is a list of terms and properties which are necessary for success in a Geometry class. You will be tested on these terms during

More information

Glossary Common Core Curriculum Maps Math/Grade 6 Grade 8

Glossary Common Core Curriculum Maps Math/Grade 6 Grade 8 Glossary Common Core Curriculum Maps Math/Grade 6 Grade 8 Grade 6 Grade 8 absolute value Distance of a number (x) from zero on a number line. Because absolute value represents distance, the absolute value

More information

Data Representation in Visualisation

Data Representation in Visualisation Data Representation in Visualisation Visualisation Lecture 4 Taku Komura Institute for Perception, Action & Behaviour School of Informatics Taku Komura Data Representation 1 Data Representation We have

More information

JMC 2015 Teacher s notes Recap table

JMC 2015 Teacher s notes Recap table JMC 2015 Teacher s notes Recap table JMC 2015 1 Number / Adding and subtracting integers Number / Negative numbers JMC 2015 2 Measuring / Time units JMC 2015 3 Number / Estimating Number / Properties of

More information

202 The National Strategies Secondary Mathematics exemplification: Y7

202 The National Strategies Secondary Mathematics exemplification: Y7 202 The National Strategies Secondary Mathematics exemplification: Y7 GEOMETRY ND MESURES Pupils should learn to: Understand and use the language and notation associated with reflections, translations

More information

Vocabulary: Looking For Pythagoras

Vocabulary: Looking For Pythagoras Vocabulary: Looking For Pythagoras Concept Finding areas of squares and other figures by subdividing or enclosing: These strategies for finding areas were developed in Covering and Surrounding. Students

More information

Scalar Field Visualization I

Scalar Field Visualization I Scalar Field Visualization I What is a Scalar Field? The approximation of certain scalar function in space f(x,y,z). Image source: blimpyb.com f What is a Scalar Field? The approximation of certain scalar

More information

Grade 9 Math Terminology

Grade 9 Math Terminology Unit 1 Basic Skills Review BEDMAS a way of remembering order of operations: Brackets, Exponents, Division, Multiplication, Addition, Subtraction Collect like terms gather all like terms and simplify as

More information

Lesson Polygons

Lesson Polygons Lesson 4.1 - Polygons Obj.: classify polygons by their sides. classify quadrilaterals by their attributes. find the sum of the angle measures in a polygon. Decagon - A polygon with ten sides. Dodecagon

More information

(Refer Slide Time 05:03 min)

(Refer Slide Time 05:03 min) Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture # 27 Visible Surface Detection (Contd ) Hello and welcome everybody to the

More information

Number Mulitplication and Number and Place Value Addition and Subtraction Division

Number Mulitplication and Number and Place Value Addition and Subtraction Division Number Mulitplication and Number and Place Value Addition and Subtraction Division read, write, order and compare numbers up to 10 000 000 and determine the value of each digit round any whole number to

More information

3D Mathematics. Co-ordinate systems, 3D primitives and affine transformations

3D Mathematics. Co-ordinate systems, 3D primitives and affine transformations 3D Mathematics Co-ordinate systems, 3D primitives and affine transformations Coordinate Systems 2 3 Primitive Types and Topologies Primitives Primitive Types and Topologies 4 A primitive is the most basic

More information

Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001

Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001 Computer graphics Assignment 5 1 Overview Ray Tracer I: Ray Casting Due date: 12:00pm December 3, 2001 In this assignment you will implement the camera and several primitive objects for a ray tracer. We

More information

round decimals to the nearest decimal place and order negative numbers in context

round decimals to the nearest decimal place and order negative numbers in context 6 Numbers and the number system understand and use proportionality use the equivalence of fractions, decimals and percentages to compare proportions use understanding of place value to multiply and divide

More information

A triangle that has three acute angles Example:

A triangle that has three acute angles Example: 1. acute angle : An angle that measures less than a right angle (90 ). 2. acute triangle : A triangle that has three acute angles 3. angle : A figure formed by two rays that meet at a common endpoint 4.

More information

Mathematics; Gateshead Assessment Profile (MGAP) Year 6 Understanding and investigating within number

Mathematics; Gateshead Assessment Profile (MGAP) Year 6 Understanding and investigating within number Year 6 Understanding and investigating within number Place value, ordering and rounding Counting reading, writing, comparing, ordering and rounding whole numbers using place value Properties of numbers

More information

New Swannington Primary School 2014 Year 6

New Swannington Primary School 2014 Year 6 Number Number and Place Value Number Addition and subtraction, Multiplication and division Number fractions inc decimals & % Ratio & Proportion Algebra read, write, order and compare numbers up to 0 000

More information

C if U can Shape and space

C if U can Shape and space C if U can Shape and space Name How will this booklet help you to move from a D to a C grade? The topic of shape and space is split into five units angles, transformations, the circle, area and volume

More information

Three-Dimensional Shapes

Three-Dimensional Shapes Lesson 11.1 Three-Dimensional Shapes Three-dimensional objects come in different shapes. sphere cone cylinder rectangular prism cube Circle the objects that match the shape name. 1. rectangular prism 2.

More information

R(-14, 4) R'(-10, -2) S(-10, 7) S'(-6, 1) T(-5, 4) T'(-1, -2)

R(-14, 4) R'(-10, -2) S(-10, 7) S'(-6, 1) T(-5, 4) T'(-1, -2) 1 Transformations Formative Assessment #1 - Translation Assessment Cluster & Content Standards What content standards can be addressed by this formative assessment? 8.G.3 Describe the effect of dilations

More information

Year 6 Maths Long Term Plan

Year 6 Maths Long Term Plan Week & Focus 1 Number and Place Value Unit 1 2 Subtraction Value Unit 1 3 Subtraction Unit 3 4 Subtraction Unit 5 5 Unit 2 6 Division Unit 4 7 Fractions Unit 2 Autumn Term Objectives read, write, order

More information

SHAPE, SPACE and MEASUREMENT

SHAPE, SPACE and MEASUREMENT SHAPE, SPACE and MEASUREMENT Types of Angles Acute angles are angles of less than ninety degrees. For example: The angles below are acute angles. Obtuse angles are angles greater than 90 o and less than

More information

Area rectangles & parallelograms

Area rectangles & parallelograms Area rectangles & parallelograms Rectangles One way to describe the size of a room is by naming its dimensions. So a room that measures 12 ft. by 10 ft. could be described by saying its a 12 by 10 foot

More information

15. First make a parallelogram by rotating the original triangle. Then tile with the Parallelogram.

15. First make a parallelogram by rotating the original triangle. Then tile with the Parallelogram. Shapes and Designs: Homework Examples from ACE Investigation 1: Question 15 Investigation 2: Questions 4, 20, 24 Investigation 3: Questions 2, 12 Investigation 4: Questions 9 12, 22. ACE Question ACE Investigation

More information

Multiply using the grid method.

Multiply using the grid method. Multiply using the grid method. Learning Objective Read and plot coordinates in all quadrants DEFINITION Grid A pattern of horizontal and vertical lines, usually forming squares. DEFINITION Coordinate

More information

Oral and Mental calculation

Oral and Mental calculation Oral and Mental calculation Read and write any integer and know what each digit represents. Read and write decimal notation for tenths, hundredths and thousandths and know what each digit represents. Order

More information

Angles. An angle is: the union of two rays having a common vertex.

Angles. An angle is: the union of two rays having a common vertex. Angles An angle is: the union of two rays having a common vertex. Angles can be measured in both degrees and radians. A circle of 360 in radian measure is equal to 2π radians. If you draw a circle with

More information

Area of Plane Shapes 1

Area of Plane Shapes 1 Area of Plane Shapes 1 Learning Goals Students will be able to: o Understand the broad definition of area in context to D figures. o Calculate the area of squares and rectangles using integer side lengths.

More information

Vector Addition. Qty Item Part Number 1 Force Table ME-9447B 1 Mass and Hanger Set ME Carpenter s level 1 String

Vector Addition. Qty Item Part Number 1 Force Table ME-9447B 1 Mass and Hanger Set ME Carpenter s level 1 String rev 05/2018 Vector Addition Equipment List Qty Item Part Number 1 Force Table ME-9447B 1 Mass and Hanger Set ME-8979 1 Carpenter s level 1 String Purpose The purpose of this lab is for the student to gain

More information

Math 6: Geometry 3-Dimensional Figures

Math 6: Geometry 3-Dimensional Figures Math 6: Geometry 3-Dimensional Figures Three-Dimensional Figures A solid is a three-dimensional figure that occupies a part of space. The polygons that form the sides of a solid are called a faces. Where

More information

Log1 Contest Round 2 Theta Circles, Parabolas and Polygons. 4 points each

Log1 Contest Round 2 Theta Circles, Parabolas and Polygons. 4 points each Name: Units do not have to be included. 016 017 Log1 Contest Round Theta Circles, Parabolas and Polygons 4 points each 1 Find the value of x given that 8 x 30 Find the area of a triangle given that it

More information

CMSC 425: Lecture 4 More about OpenGL and GLUT Tuesday, Feb 5, 2013

CMSC 425: Lecture 4 More about OpenGL and GLUT Tuesday, Feb 5, 2013 CMSC 425: Lecture 4 More about OpenGL and GLUT Tuesday, Feb 5, 2013 Reading: See any standard reference on OpenGL or GLUT. Basic Drawing: In the previous lecture, we showed how to create a window in GLUT,

More information

An Introduction to 2D OpenGL

An Introduction to 2D OpenGL An Introduction to 2D OpenGL January 23, 2015 OpenGL predates the common use of object-oriented programming. It is a mode-based system in which state information, modified by various function calls as

More information

Homework #2 and #3 Due Friday, October 12 th and Friday, October 19 th

Homework #2 and #3 Due Friday, October 12 th and Friday, October 19 th Homework #2 and #3 Due Friday, October 12 th and Friday, October 19 th 1. a. Show that the following sequences commute: i. A rotation and a uniform scaling ii. Two rotations about the same axis iii. Two

More information

MATHEMATICS Key Stage 2 Year 6

MATHEMATICS Key Stage 2 Year 6 MATHEMATICS Key Stage 2 Year 6 Key Stage Strand Objective Child Speak Target Greater Depth Target [EXS] [KEY] Read, write, order and compare numbers up to 10 000 000 and determine the value of each digit.

More information

Maya Lesson 6 Screwdriver Notes & Assessment

Maya Lesson 6 Screwdriver Notes & Assessment Maya Lesson 6 Screwdriver Notes & Assessment Save a new file as: Lesson 6 Screwdriver YourNameInitial Save in your Computer Animation folder. Screwdriver Handle Base Using CVs Create a polygon cylinder

More information

Properties of a Circle Diagram Source:

Properties of a Circle Diagram Source: Properties of a Circle Diagram Source: http://www.ricksmath.com/circles.html Definitions: Circumference (c): The perimeter of a circle is called its circumference Diameter (d): Any straight line drawn

More information

Y6 MATHEMATICS TERMLY PATHWAY NUMBER MEASURE GEOMETRY STATISTICS

Y6 MATHEMATICS TERMLY PATHWAY NUMBER MEASURE GEOMETRY STATISTICS Autumn Number & Place value read, write, order and compare numbers up to 10 000 000 and determine the value of each digit round any whole number to a required degree of accuracy use negative numbers in

More information

CMSC427 Final Practice v2 Fall 2017

CMSC427 Final Practice v2 Fall 2017 CMSC427 Final Practice v2 Fall 2017 This is to represent the flow of the final and give you an idea of relative weighting. No promises that knowing this will predict how you ll do on the final. Some questions

More information

Shadows in the graphics pipeline

Shadows in the graphics pipeline Shadows in the graphics pipeline Steve Marschner Cornell University CS 569 Spring 2008, 19 February There are a number of visual cues that help let the viewer know about the 3D relationships between objects

More information

EVERYTHING YOU NEED TO KNOW TO GET A GRADE C GEOMETRY & MEASURES (FOUNDATION)

EVERYTHING YOU NEED TO KNOW TO GET A GRADE C GEOMETRY & MEASURES (FOUNDATION) EVERYTHING YOU NEED TO KNOW TO GET A GRADE C GEOMETRY & MEASURES (FOUNDATION) Rhombus Trapezium Rectangle Rhombus Rhombus Parallelogram Rhombus Trapezium or Rightangle Trapezium 110 250 Base angles in

More information

Rational Numbers: Graphing: The Coordinate Plane

Rational Numbers: Graphing: The Coordinate Plane Rational Numbers: Graphing: The Coordinate Plane A special kind of plane used in mathematics is the coordinate plane, sometimes called the Cartesian plane after its inventor, René Descartes. It is one

More information

Polygons in the Coordinate Plane

Polygons in the Coordinate Plane Polygons in the Coordinate Plane LAUNCH (8 MIN) Before How can you find the perimeter of the sandbox that the park worker made? During How will you determine whether the park worker s plan for the sandbox

More information