3D Game Development Intro to Game

Similar documents
Java game programming. Game engines. Fayolle Pierre-Alain

IT 386: 3D Modeling and Animation. Review Sheet. Notes from Professor Nersesian s IT 386: 3D Modeling and Animation course

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

Programming 3D Applications with HTML5 and WebGL

My Materials. In this tutorial, we ll examine the material settings for some simple common materials used in modeling.

Chapter 6 - The Scene Graph

Character Creation You can customize a character s look using Mixamo Fuse:

Introduction to Computer Graphics

The Rocket Steam Locomotive - Animation

Plug-in Software Developer Kit (SDK)

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

Our One-Year 3D Animation Program is a comprehensive training in 3D using Alias

Maya 2014 Still Life Part 1 Texturing & Lighting

JavaFX Session Agenda

The Car Tutorial Part 1 Creating a Racing Game for Unity

Introduction to Computer Graphics. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Using HDR Panoramas. Dr Ryan Southall - School of Architecture & Design, University of Brighton.

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation

Thea Omni Light. Thea Spot Light. Light setup & Optimization

How To Teach Computer Graphics

Getting Started with iray in 3ds Max 2014

Intro to 3D Animation Using Blender

Chapter 6 - The Scene Graph

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Develop Computer Animation

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation

Silverlight for Windows Embedded Graphics and Rendering Pipeline 1

Character Animation Tutorial

INTRODUCTION TO RENDERING TECHNIQUES

Rally Sport Racing Game: CodeName Space Racer

Jordan Shearer. Portfolio. 1Maya Modeling

Experiences with 2-D and 3-D Mathematical Plots on the Java Platform

CURRICULUM VITAE EDUCATION:

CS 378: Computer Game Technology

Course: 3D Design Title: Deciduous Trees Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (June 2012) Deciduous Trees

Computer Graphics. Computer graphics deals with all aspects of creating images with a computer

CREATE A 3D MOVIE IN DIRECTOR

Introduction to ANSYS ICEM CFD

COMP-557: Fundamentals of Computer Graphics McGill University, Fall 2010

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

So, you want to make a photo-realistic rendering of the Earth from orbit, eh? And you want it to look just like what astronauts see from the shuttle

Recent Advances and Future Trends in Graphics Hardware. Michael Doggett Architect November 23, 2005

<Insert Picture Here> Java, the language for the future

MODESTO CITY SCHOOLS COURSE OUTLINE. MEETS GRADUATION REQUIREMENTS: Practical Arts and/or Computer Literacy

3D-GIS in the Cloud USER MANUAL. August, 2014

ESRI China (Hong Kong) Limited

Shader Model 3.0. Ashu Rege. NVIDIA Developer Technology Group

Web-Based Enterprise Data Visualization a 3D Approach. Oleg Kachirski, Black and Veatch

Advanced Diploma of Professional Game Development - Game Art and Animation (10343NAT)

Games Development Education to Industry. Dr. Catherine French Academic Group Leader Games Programming, Software Engineering and Mobile Systems

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

Windows Phone 7 Game Development using XNA

A Short Introduction to Computer Graphics

Sweet Home 3D user's guide

AR-media TUTORIALS OCCLUDERS. (May, 2011)

Creating Your Own 3D Models

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC

Republic Polytechnic School of Information and Communications Technology C391 Animation and Visual Effect Automation.

Quick Start Tutorial Imperial version

Quickstart for Desktop Version

Real Time Rendering. Preface What's New Getting Started Basic Tasks Advanced Tasks Workbench Description Index

4VATARS PROJECT. Standard avatar specification for content creation in RealXtend

Homeschool Programming, Inc.

Lecture Notes, CEng 477

CUBE-MAP DATA STRUCTURE FOR INTERACTIVE GLOBAL ILLUMINATION COMPUTATION IN DYNAMIC DIFFUSE ENVIRONMENTS

MicroStation V8i Training Manual 3D Level 3

D animation. Advantages of 2-D2. Advantages of 3-D3. Related work. Key idea. Applications of Computer Graphics in Cel Animation.

SketchUp Instructions

PRODUCT LIFECYCLE MANAGEMENT COMPETENCY CENTRE RENDERING. PLMCC, JSS Academy of Technical Education, Noida Rendering 1 of 16

Game Design Document and Production Timeline. John Laird and Sugih Jamin University of Michigan

Image Draping & navigation within Virtual GIS

1. INTRODUCTION Graphics 2

Castle Modeling. In this PDF tutorial we will be modeling a simple castle as pictured above.

Introduction to Computer Graphics

Editing Common Polygon Boundary in ArcGIS Desktop 9.x

3D Animation Graphic Designer

Maxwell Render 1.5 complete list of new and enhanced features

Glass coloured glass may pick up on scan. Top right of screen tabs: these tabs will relocate lost windows.

I ntroduction. Accessing Microsoft PowerPoint. Anatomy of a PowerPoint Window

CS130 - Intro to computer graphics. Dr. Victor B. Zordan vbz@cs.ucr.edu Objectives

Scripting in Unity3D (vers. 4.2)

Introduction to Computer Graphics. Reading: Angel ch.1 or Hill Ch1.

Introduction Computer stuff Pixels Line Drawing. Video Game World 2D 3D Puzzle Characters Camera Time steps

1. Definition of the project. 2. Initial version (simplified texture) 3. Second version (full textures) 5. Modelling and inserting 3D objects

Technical What s New. Autodesk Alias Product Line

Materials in NX Render

Examples. Pac-Man, Frogger, Tempest, Joust,

IMGD 1001: The Game Art Pipeline

3D VIRTUAL DESKTOP APPLICATION Of UNSW. Introduction. What we propose to do 2/4. What we propose to do 1/4. What we propose to do 4/4

Transcription:

3D Game Development Intro to Game Engines Jay Urbain, Ph.D. SE3250 OpenGL Programming Guide: http://www.glprogramming.com/red/ http://people.msoe.edu/~urbain/cs421/index.html http://jmonkeyengine.org

Game engine System designed for the creation and development ofvideo games. Software framework for developers. Core functionality: rendering engine for 2D or 3D graphics physics engine for collision detection/response Sound Scripting Animation AI Networking, streaming, memory management, threading, localizationsupport, and ascene graph.

Game engine The process ofgame developmentis often economized, in large part, by reusing/adapting the same game engine to create different games. Select appropriate Game Engine from engine attributes (previous slide). Use Java Monkey (jme3) as exemplar.

jmonkeyengine(jme) Game engine made for 3D development. Usesshadertechnology extensively. jmonkeyengineis written injavaand useslwjglas its default renderer. OpenGL 2 through OpenGL 4 is fully supported. jmonkeyengine is a collection of libraries, making it a lowlevelgame development tool. Coupled with anidelike the officialjmonkeyengine 3 SDKit becomes a higher level game development environment with multiple graphical components (NetBeans).

3D Graphics and Audio OpenGLis the Open Graphics Library, a platform-independent specification for rendering 2D/3D computer graphics. Alternatively, Microsoft XNAis a set of tools and runtime environment for video game development and management. XNA is based on.net Compact Framework2.0 for Xbox 360 development and.net Framework 2.0 on Windows. For Java, there are two implementations of OpenGL-based renderers: Lightweight Java Game Library (LWJGL) jme3 uses lwjgl. Java OpenGL (JOGL) OpenALis the Open Audio Library, a platform-independent 3D audio API.

jme-context, Display, Renderer Contextmakes settings, renderer, timer, input and event listeners, display system, accessible to a game. Display Systemis what draws the custom JME window (instead of Java Swing). TheInput Systemis the component that lets you respond to user input: Mouse clicks and movements, keyboard presses, and joystick motions. TheRendereris what does all the work of calculating how to draw the 3D scenegraphto the 2D screen. TheShaderis a programmable part of the rendering pipeline.

Scene Graph Objects in a virtual space. Virtual space where your game appears. Objects in the scene graph are called spatials. Spacials have a translation (location), rotation, and scale. Locations in the scene graph are defined using X, Y, and Z Locations in the scene graph are defined using X, Y, and Z coordinates.

Three Dimensions

Translation

Rotation

Rotation

Geometry A geometry is the type of spatial that is visible on the screen. A geometry has a mesh to define its form and a material to define its appearance.

Geometry A geometry is the type of spatial that is visible on the screen. A geometry has a mesh to define its form and a material to define its appearance. Geometry with and without material color.

Nodes Spacial that can have other spatials as children, i.e., a collection. Children of the node are moved and rotated relative to their parent node. The scene graph uses a base root node that all spatialsare connected to.

Nodes Spacial that can have other spatials as children, i.e., a collection. Children of the node are moved and rotated relative to their parent node. The scene graph uses a base root node that all spatialsare connected to.

Nodes and Geometries

Translate Geometry

Child Geometry Relative to Node

Translate Node

Translate Node

Rotate Node

Rotate Geometry (child object)

Rotate Geometry

Rotate Node about Z-Axis

Scale Node

Scale Node

Scale Child

Scale Child

Organizing with Nodes

Geometry -Polygon, Mesh, Vertex Most visible objects in a 3D scene are made up of polygon meshes game characters, terrains, buildings, etc. A meshis a grid-like structure that represents a complex shape. Mathematically simple to render in real time, and detailed enough to be recognizable. Every shapeis reduced to a number of connected polygons, usually triangles; including round surfaces. Polygons' corner points are called vertices. Every vertex is positioned at a coordinate, all vertices together describe the outline of the shape. Create 3D meshes in tools called mesh editors, e.g in Blender, Maya. jme can load finished meshes (models) and arrange them in scenes.

Materials: Color, Lighting/Shading Color" is part of an object's light reflection. Our brain uses shading and reflecting properties to infer an object's shape and material. Differentiate chalk & milk, skin & paper, water & plastic. Ambient color The uniform base color of the mesh what it looks like when not influenced by any light source. Usually similar to the Diffuse color. Min. color you need for an object to be visible. Diffuse color Base color of the mesh plus shattered light and shadows that are caused by a light source. Usually similar to the Ambient color.

No light source material color Ambient Lighting

Light Sources -Emissive color Emissive color The color of light emitted by a light source or glowing material. Only glowing materials such as lights have an emissive color, normal objects don't have this property. Often white (sun light).

Light Sources -Reflections Reflections: Shininess Degree of shininess of a surface. Shiny objects have small, clearly outlined specular highlights. (E.g. glass, water, silver) Normal objects have wide, blurry specular highlights. (E.g. metal, plastic, stone, polished materials). Uneven objects are not shiny and have no specularhighlights. (E.g. cloth, paper, wood, snow).

Light Sources -Reflections Reflections: Specular Color If the material is shiny, then the SpecularColor is the color of the reflected highlights. Usually the same as the emissive color of the light source (e.g. white). You can use colors to achieve special speculareffects, such as metallic or iridescent reflections. Non-shiny objects have a black specular color.

Materials: Textures Simplest case: object has one texture, the Color Map, loaded from one image file. The more information you provide to the Color Map, the higher the degree of detail and realism. Whether you want photo-realistic rendering or "toon" rendering (Cel Shading), everything depends on the quality of your materials and textures. Modern 3D graphics use several layers of information to describe one material, each mapped layer is a texture.

Color Map / Diffuse Map A plain image file or a procedural texture that describes an object's visible surface. The image can have alpha channels for transparency. A Color Map is the minimum texture.you can map more textures as optional improvements. Color Maps are unshaded. The same is called Diffuse Map in a Phong-illuminated material, because this texture defines the basic colors of light that are diffused by this object.