THREE-DIMENSIONAL VIEWING I

Slides:



Advertisements
Similar presentations
PROJECTION SYSTEMS FFD 104 – PARALINE DRAWINGS ORTOGRAPHIC PROJECTION
Advertisements

Three Dimensional Viewing
Projection.
Three-Dimensional Viewing Sang Il Park Sejong University Lots of slides are stolen from Jehee Lee’s.
1 Projection. 2 Model Transform Viewing Transform Modelview Matrix world coordinates Pipeline Review Focus of this lecture.
3D Projection Transformations
Lecture 3 Sunday, 14 June ENGINEERING GRAPHICS 1E9 Lecture 2: Orthographic Projections.
ENGINEERING GRAPHICS 1E7
Perspective View (finite Center of Projection). Parallel View (Center of Projection at Infinity)
Lecture 5 Monday, 29 June ENGINEERING GRAPHICS 1E7 Lecture 5: Isometric Projections.
Classical Viewing CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
3D Concepts UNIT 3. 3-D Coordinate Spaces Remember what we mean by a 3-D coordinate space x axis y axis z axis P y z x Right-Hand Reference System.
IT- 601: Computer Graphics Lecture-11 Mathematics of Projection Jesmin Akhter Lecturer,IIT Jahangirnagar University, Savar, Dhaka,Bangladesh.
GMED UNIT 1 Pictorial Drawings.
Computer Graphics I, Fall 2010 Classical Viewing.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Chapter 5 Viewing.
1 Classical Viewing. 2 Objectives Introduce the classical views Compare and contrast image formation by computer with how images have been formed by architects,
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
Computer Graphics Bing-Yu Chen National Taiwan University.
Axonometric Projection Chapter Technical Drawing 13 th Edition Giesecke, Mitchell, Spencer, Hill Dygdon, Novak, Lockhart © 2009 Pearson Education,
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lect 3P. 1Autumn Quarter Orthographic Projection Lecture 3.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
Basic Projections 2D to 3D
CS5500 Computer Graphics March 12, 2007.
University of North Carolina at Greensboro
Graphics Graphics Korea University kucg.korea.ac.kr Viewing 고려대학교 컴퓨터 그래픽스 연구실.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Projection.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
CS552: Computer Graphics Lecture 11: Orthographic Projection.
2D Transformation Homogenous Coordinates Scale/Rotate/Reflect/Shear: X’ = XT Translate: X’ = X + T Multiple values for the same point e.g., (2, 3, 6)
RAC/RA Projection Types of Projection Simple Projections Generalized Projection.
TA 101: Technical Arts II Dr. Prishati Raychowdhury Department of Civil Engineering IIT Kanpur Office: FB 330; Phone: 6692
Viewing Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Section 2 Drafting Techniques and Skills
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Computer Graphics Lecture 09 Fasih ur Rehman. Last Class Viewing – Perspectives – Projections.
Computer Graphics Lecture 19 PROJECTIONS I Taqdees A. Siddiqi
Projection. Conceptual model of 3D viewing process.
PROJECTIONS PROJECTIONS 1. Transform 3D objects on to a 2D plane using projections 2 types of projections Perspective Parallel In parallel projection,
COMPUTER GRAPHICS 1/36 Viewing 1 Viewing: Types of Projections Computer Graphics.
CS552: Computer Graphics Lecture 9: Perspective Projection.
Viewing 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Chapter 11 Three-Dimensional Geometric and Modeling Transformations
Computer Graphics - Chapter 5 Viewing
University of North Carolina at Greensboro
PERSPECTIVE PROJECTION…...
Projection Our 3-D scenes are all specified in 3-D world coordinates
CSC461: Lecture 18 Classical Viewing
Engineering Communications GL2 Geometric modelling Projection Systems
Orthographic Projection
Axonometric Projections
Classical Viewing Ed Angel
Orthographic Projection
Isaac Gang University of Mary Hardin-Baylor
Introduction to Computer Graphics with WebGL
Three Dimensional Viewing
Planar Geometric Projection Classes
3D Graphics.
Transformations 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
Viewing (Projections)
Axonometric Projection
Viewing (Projections)
THREE-DIMENSIONAL VIEWING
University of New Mexico
Isaac Gang University of Mary Hardin-Baylor
Presentation transcript:

THREE-DIMENSIONAL VIEWING I 12 고려대학교 컴퓨터 학과 김 창 헌

Contents Classification of Planar Projections Parallel Projection Isometric Projection Oblique Projection Perspective projection Vanishing Point Special techniques

In 3D viewing system... void mouse(int button, int state, int x, int y) {...} void myReshape(int w, int h) { glMatrixMode(GL_PROJECTION); glLoadIdentity(); // gluPerspective(45.0, (GLfloat)h/ (GLfloat)w, 0.1, 1000.0); glOrtho(-10.0,10.0,-10.0,10.0,10.0,200.0); glMatrixMode(GL_MODELVIEW); glViewport(0,0,w,h); } void main() glutInitWindowSize(500, 500); glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE); glutCreateWindow(”Cylinder mapping program"); LoadTexture(); PencilObj = gluNewQuadric(); gluQuadricTexture(PencilObj, GL_TRUE); glutReshapeFunc(myReshape); glutDisplayFunc(display); glutMouseFunc(mouse); glutMotionFunc(motion); glutMainLoop(); #include < Header files...> #define CONSTANTS... // declare global variables.. void display (void) { glEnable(GL_TEXTURE_2D); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); glClearColor(1.0,1.0,1.0,1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glPushMatrix(); glRotatef(90.0,-1.0,0.0,0.0); glRotatef(angle1, 0.0, 1.0, 0.0); glRotatef(angle2, 1.0, 0.0, 0.0); gluQuadricNormals(PencilObj, GLU_FLAT); gluQuadricDrawStyle(PencilObj, GLU_FILL); glCallList(Texture); gluCylinder(PencilObj, 8.0, 8.0, 10.0, 20, 1); glPopMatrix(); glFlush(); glutSwapBuffers(); }

Classification of Planar Projections Parallel Perspective Oblique Orthographic 1-pt 2-pt 3-pt Multiview Orthographic Cavalier Cabinet Axonometric Isometric Dimetric Trimetric

Projections Parallel Projection Perspective Projection

Parallel Projection Orthographic parallel projection the projection is perpendicular to the view plane Oblique parallel projection The projectors are inclined with respect to the view plane

Orthographic Projection Multiview orthographic Singlview orthographic - Axonometric projection - The planes of the object remain parallel to the principle planes of projection - Orthographic projections that display more than one face of an object - The planes of the object are inclined with respect to the projection plane

Orthographic coordinates

Isometric Projection Definition - The most commonly used axonometric projection - Aligning the projection plane so that it intersects each coordinate axis in which the object is defined at the same distance from the origin - The angles between the principal axis are all equal to 120º Isometric axis Isometric Axonometric

Isometric Projection(con’t)

Isometric Projection(con’t) The projections of the unit vectors are found as follows: The projected length of each unit vector is So, the condition for the isometric projection is, (1) (2)

Isometric Projection(con’t) A and, Foreshortening ratio F :

Oblique projection

Oblique projection(con’t)

Oblique projection(con’t) Cavalier projection ( ) Cabinet projection ( )

Perspective Projection

Perspective Projection (con’t)

Perspective Projection(con’t) Orthographic projection Perspective transformation Center of Projection on the x axis Center of Projection on the y axis

Perspective Projection(con’t) 2-point perspectives 3-point perspectives

Vanishing point - When using perspective transformation equations, any set of parallel lines in the object that are not parallel to the plane are projected into converging lines. - The point at which a set of projected parallel lines appears to converge is called a vanishing point. - A scene can have any number of vanishing points, depending on how many sets of parallel lines there are in the scene

Principal vanishing point The vanishing point for any set of lines that are parallel to one of the principal axis of an object One-point perspective projection Two-point perspective projection Three-point perspective projection

Vanishing point a’ a Vanishing line View plane Vanishing Point Projection Center a’ a

Vanishing point(con’t) View plane If lines are parallel to the projection plane, then no vanishing point.

Special techniques Two point Perspective One point Perspective Three point Perspective