CSE 381 – Advanced Game Programming Code Setup.

Slides:



Advertisements
Similar presentations
16.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 16 – Some Special Rendering Effects.
Advertisements

Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
CSE 380 – Computer Game Programming Introduction ITS 102 – 3D Modeling for Games Introduction.
3D Graphics Rendering and Terrain Modeling
Shared Graphics Skills Cameras and Clipping Planes
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
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.
Intro to Blender Alex Hawker. First Steps Download
CS485/685 Computer Vision Prof. George Bebis
3-D Geometry.
Three-Dimensional Concepts
3D Models, Textures and Bone Animations for Games.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation.
1, 2 & Multiple Point Perspective
Getting started © juhanita2015.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
CSE 380 – Computer Game Programming Introduction ITS 102 – 3D Modeling for Games Blender's User Interface.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
3D Programming Concepts How objects are described in 3D and Rendering Pipelines – A conceptual way of thinking of the steps involved of converting an abstract.
Computer Visualization BIM Curriculum 03. Topics  History  Computer Visualization Methods  Visualization Workflow  Technology Background.
CSE 381 – Advanced Game Programming Basic 3D Graphics
Course Introduction CSIS 5835: Graphics and Animation for Gaming.
Week 2 - Wednesday CS361.
Transformation & Projection Feng Yu Proseminar Computer Graphics :
3D Computer Graphics An oh so brief introduction.
Week 5 - Wednesday.  What did we talk about last time?  Project 2  Normal transforms  Euler angles  Quaternions.
Week 2 - Friday.  What did we talk about last time?  Graphics rendering pipeline  Geometry Stage.
Course Introduction and Terminology CGDD 4113 – 3D MODELING AND ANIMATION.
CS-378: Game Technology Lecture #2.1: Projection Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney, Zoran Popovic, Jessica.
Computer Graphics Bing-Yu Chen National Taiwan University.
V part 1 Obtained from a Guildford County workshop-Summer, 2014.
Fundamental principles of technical sketching and visualization techniques Unit B, Objective 4.01.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Unit 6 3D Modeling Concepts
SE 313 – Computer Graphics Lecture 8: Transformations and Projections Lecturer: Gazihan Alankuş 1.
CS 325 Introduction to Computer Graphics 02 / 22 / 2010 Instructor: Michael Eckmann.
Mark Nelson 3d projections Fall 2013
Basic 3D Concepts. Overview 1.Coordinate systems 2.Transformations 3.Projection 4.Rasterization.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
12/24/2015 A.Aruna/Assistant professor/IT/SNSCE 1.
Navigating in 3D MAX CTEC V part 1. Viewing Objects and/or Scenes Depending upon the software program, the image on the monitor could be a Perspective.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Computer Graphics Matrices
CS 445 / 645: Introductory Computer Graphics Review.
Technion - Israel Institute of Technology Faculty of Mechanical Engineering Laboratory for CAD & Lifecycle Engineering Lab 9: 3D & Projections Basics.
Design Visualization Software Introduction / Review.
Mobile & Casual Gaming OpenGL ES Intro. /red/chapter03.html.
CS 551 / 645: Introductory Computer Graphics Viewing Transforms.
Pack 001 Introduction to 3D modeling Presenting Blender, the open source 3D environment Heikki Hietala IT Dept. Malmi Campus HAAGA-HELIA University of.
Computer Graphics Projections.
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.
Introduction to Computer Graphics
Games Development Practices 3D Modelling
- Introduction - Graphics Pipeline
Ying Zhu Georgia State University
PERSPECTIVE PROJECTION…...
Chapter 4 Linear Perspectives and Cubic Shapes
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
Unit 4 3D Viewing Pipeline Part - 2
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
CS451Real-time Rendering Pipeline
Panther Creek High V part 1
Planar Geometric Projection Classes
Chapter I Introduction
Game Programming Algorithms and Techniques
Guilford County SciVis V part 1
Presentation transcript:

CSE 381 – Advanced Game Programming Code Setup

Fix the Working Directory [ERROR] Failed to initialize the resource cac he! Are your paths set up correctly? Function: GameCodeApp::InitInstance \psf\home\desktop\gamecode4\source\gcc\gam ecode4\gamecode.cpp Line: 178 Solution: Right-click on the TeapotWars project and go to properties. Then go to the Debugging section and enter in..\..\..\Game as the Working Directory.

Game Programmers 30 Years Ago Used to do everything design art code

Today’s Game Programmer Typically Specialized Character movements programmer Network communications programmer Web programmer …

Why is that important?

Oh by the way Version Control is not just for Code Assets too Don’t lose a model an artist spent weeks on

Paraphrasing Richard Garriott (a.k.a Lord British) The game industry is a lot like the movie industry BUT At the beginning of every game project we start by inventing new cameras, film, and processing techniques, and projectors.

SDKs Pros & Cons Pros: Speed Up Development Flexible Well Tested (hopefully) Can be powerful But, might:: Be inflexible for your purposes Have difficult to find bugs Have big differences between versions

Game Engine SDKs with Tools For Building game merging & optimizing assets organizing content Adding triggers, dynamic object generators, bots, etc. Level geometry/terrain likely built elsewhere i.e. Maya

Unity Scene Editor

Lots of them Out There

For Next Wednesday Read Chapters 2-5 (that’s 125 pages or so) Download & Install Blender3D do Noob to Pro Tutorial Units 1-2B I’ll check next Wed. to make sure everyone completed the Simple Person with a Hat

Why Blender3D? It can make great content It's widely used It's free

Download & Install Latest version 2.68a

Blender 3D: Noob to Pro

What can blender do? Create 3D content Create 3D worlds Produce realistic, beautiful, fantastic 2D projected renderings of 3D content/worlds

First, some formal definitions What's a 3D model? –an abstract version of an object –renderable –data (vertices, edges, textures, etc.) What's modeling? –Process of making 3D models

Model Data Vertices Edges Faces Surface Normals

Steps in the Modeling Process Object modeling Shading Lighting Rigging Posing

Shading includes Texturing Wrapping 3D geometry in images Atlas and Model

Polygon Mesh Creation Example

3D World Construction & Rendering Based on Geometry Imagine a model of this room Everything needs a position in 3D space –think 3D coordinates (x, y, z) –Where's the origin (0,0,0) of our room?

Blender3D Axes X, Y, Z –Cartesian Coordinates –Are negative coordinates ok? Right-handed System, Huh?

Axes of Rotation We'll want to rotate stuff How do we denote a rotation? We need 2 things: –Axis of rotation –Angle around axis Right-grip rule

Coordinate Transformations Changes an object's coordinate values in some way –Moving an object (translation) –Rotating an object (rotation) –Enlarging or shrinking an object (scaling)

Translation, Rotation, & Scaling

Multiple Transformations They can be combined on an object Order of processing matters

Projections Our 3D worlds are projected onto 2D screens –Orthographic vs. Perspective projection Orthographic Perspective

Orthographic views can be useful. Why?

Perspective Projection uses Foreshortening What's that? –nearby objects rendered larger than faraway objects –gives the illusion of depth and distance

What's a vanishing point? Imagine looking down a set of train tracks They appear to converge at a point on the horizon This is the vanishing point

The Projection Plane Depends on camera position and orientation

Blender Coordinates Global Coordinate System –each scene has its own –fixed origin & orientation –virtual camera may be moved about Local Coordinate System –each object has its own