Computer Science I 3D Classwork / Homework: plan and implement your own 3D example.

Slides:



Advertisements
Similar presentations
GR2 Advanced Computer Graphics AGR
Advertisements

OpenGL: Simple Use Open a window and attach OpenGL to it Set projection parameters (e.g., field of view) Setup lighting, if any Main rendering loop –Set.
Introduction to Programming
Code Elements and Processing Coordinate System. Code elements: pages Comments: are documentation notes that are ignored by the computer but are.
Introduction to shapes
A Quick Introduction to Processing
Three-Dimensional Figures. Vocabulary Two-dimensional figures (plane figures) – triangles, quadrilaterals, and circles. They lie in one plane.
3D Graphics Rendering and Terrain Modeling
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
Translation and Rotation in 2D and 3D David Meredith Aalborg University.
Visualisation of head.txt. Data capture Data for the head figure was captured by a laser scanner. The object is mounted on a turntable, and illuminated.
CS 4363/6353 INTRODUCTION TO COMPUTER GRAPHICS. WHAT YOU’LL SEE Interactive 3D computer graphics Real-time 2D, but mostly 3D OpenGL C/C++ (if you don’t.
1 of 25 Assignment Orthographic Wireframe Elevation Orthographic Wireframe Plan Orthographic Wireframe End-Elevation Perspective View.
FUNDAMENTALS OF PROGRAMMING SM1204 Semester A 2011.
1 CSCE 441: Computer Graphics Hidden Surface Removal (Cont.) Jinxiang Chai.
Further Programming for 3D applications CE Introduction to Further Programming for 3D application Bob Hobbs Faculty of Computing, Engineering and.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
Getting started © juhanita2015.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
CSE 381 – Advanced Game Programming Basic 3D Graphics
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
Image Synthesis Rabie A. Ramadan, PhD 2. 2 Java OpenGL Using JOGL: Using JOGL: Wiki: You can download JOGL from.
Graphics Programming using OpenGL. OpenGL is a software interface that allows the programmer to create 2D and 3D graphics images. This interface consists.
OpenGl Graphics Programming. Introduction OpenGL is a low-level graphics library specification. It makes available to the programmer a small set of geomteric.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
9-3: Rotations Rigor: Students will rotate figures about a point on and off the coordinate plane. Relevance: Rotations describe movement.
Lecture 6: 3D graphics Concepts 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 718,  ex 2271 
Lecture 11: Exam Revision 1  Principles of Interactive Graphics  CMSCD2012  Dr David England, Room 718,  ex 2271  Coursework.
Programming for Artists ART 315 Dr. J. R. Parker Art/Digital Media Lab Lec 10 Fall 2010.
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Computer Science Term 1, 2006 Tutorial 2 Assignment 3 – The Virtual World.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
OpenGL The Viewing Pipeline: Definition: a series of operations that are applied to the OpenGL matrices, in order to create a 2D representation from 3D.
A Few Things about Graphics Jian Huang Computer Science University of Tennessee.
Image Synthesis Rabie A. Ramadan, PhD 4. 2 Review Questions Q1: What are the two principal tasks required to create an image of a three-dimensional scene?
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Newton’s Second Law: Force and Acceleration
CS COMPUTER GRAPHICS LABORATORY. LIST OF EXPERIMENTS 1.Implementation of Bresenhams Algorithm – Line, Circle, Ellipse. 2.Implementation of Line,
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Classical Viewing Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Fixed-Center Pan-Tilt Projector and Its Calibration Methods Ikuhisa Mitsugami Norimichi Ukita Masatsugu Kidode Graduate School of Information Science Nara.
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.
Computer Science I Share plans for virtual something. Text. Show my virtual dog. Classwork: Plans for your virtual something. Homework: start implementation.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.

FUNDAMENTALS OF PROGRAMMING SM1204 SEMESTER A 2012.
Visualization Recreate the ping pong scene in 3D using ball and racket coordinates.
Computer Science I Text input. Transformations. Yet another jigsaw. Classwork/Homework: Create new application making use of transformations.
1 Computer Graphics Week11 : Hidden Surface Removal.
Computer Science I Animations. Bouncing ball. The if statement. Classwork/homework: bouncing something. Compress and upload work to Moodle.
 The terms LMB, MMB, RMB, and mouse wheel (MW).
Mobile & Casual Gaming OpenGL ES Intro. /red/chapter03.html.
GLSL Review Monday, Nov OpenGL pipeline Command Stream Vertex Processing Geometry processing Rasterization Fragment processing Fragment Ops/Blending.
Electronic Visualization Laboratory University of Illinois at Chicago Programming the Personal Augmented Reality Immersive System (PARIS) Chris Scharver.
Viewing. Classical Viewing Viewing requires three basic elements - One or more objects - A viewer with a projection surface - Projectors that go from.
Chapter Transformations Part 1. Objective: Use a translation, a reflection, and a rotation Describe the image resulting from a transformation.
PROCESSING A computer screen is a grid of small light elements called pixels.
Introduction to 3-D Viewing Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Monday, October 27, 2003.
Computer Graphics (fall,2010) School of Computer Science University of Seoul Minho Kim.
Introduction to Computer Graphics
School of Computer Science
Understand velocity time graphs.
CSCE 441: Computer Graphics Hidden Surface Removal (Cont.)
ICG 2018 Fall Homework1 Guidance
Lesson 4 Volume of Prisms
Presentation transcript:

Computer Science I 3D Classwork / Homework: plan and implement your own 3D example

Processing renderers How Processing interprets information to draw in the display window. Display window specified using horizontal and vertical values Default: use Java libraries size(hs,vs); OpenGL libraries: often faster, extra capabilities size(hs,vs,P2D); or size(hs,vs,P3D);

3D Note: rect, ellipse, triangle, beginShape, etc. still draw flat shapes Plus 2 new primitives: box(), sphere() and custom shapes. Note: the sphere produces a faceted polyhedron. You may choose to use (do) noStroke();

3D coordinates Horizontal x, vertical y, and z coming out of the display Can translate in 3 dimensions Additional rotations: – rotateY, rotateX, rotateZ

Projection Turns a 3D scene into a 2D display – What type of projection? – Where is the camera (eye)? – Where is the light? Hidden line (hidden surface) calculation

More on 3D Can change Lighting Perspective Camera (eye)

Classwork Experiment! – Look up examples – Vary and make your own Reconvene to show example

Tilting board Objective: player uses arrow keys and tilts board but still tries to keep ball on board. The ball accelerates. If the ball falls off, the ball falls straight down. Note: can be improved. Did not use all variables.

Methods setup, draw, keyPressed moveBall, nice Demonstrate program. Show coding.

Classwork/Homework Experiment. More examples next class. Start designing and planning your 3D project now. – Use of classes encouraged.