Introduction to Java3D 1 3D-Pool Game Simulator CS491B Aslan Neishaboori.

Slides:



Advertisements
Similar presentations
Part I: Basics of Computer Graphics Viewing Transformation and Coordinate Systems Chapter
Advertisements

Lecture21 Other Java Gamming technologies – Java3D (This lecture will not be assessed)
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 23: Physical Simulation 2 Ravi Ramamoorthi Most slides.
A Framework for Dynamic Volume Rendering Ptolemy II EECS 290N – Final Project T. Crawford 12/04.
Lecture22 Java3D - Interaction - This lecture will not be assessed.
3D orientation.
Level 2 Mobile and Games Programming Modules Cathy French K233.
Overview Introduction Constructing a scene Rendering Frustum culling OpenGL Performer.
Java 3D Pablo Figueroa University of Alberta April 2000.
Introduction What is this ? What is this ? This project is a part of a scientific research in machine learning, whose objective is to develop a system,
Animation. Outline  Key frame animation  Hierarchical animation  Inverse kinematics.
Graphical Objects and Scene Graphs CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
CS 4731: Computer Graphics Lecture 8: 3D Affine transforms Emmanuel Agu.
Nathaniel Salazar Massachusetts Institute of Technology Mentor: Thomas Meyer Internship Site: MHPCC.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
Basic 3D Graphics Chapter 5. Bird’s Eye View  Basic 3D Graphics –Basic concepts of 3D graphics, rendering pipeline, Java 3D programming, scene graph,
, Computer Engineering Lab II (3rd Year)
Introduction First we learned that transformations can be functions in the coordinate plane. Then we learned the definitions and properties of three isometric.
Created by Barbara Fugitt Vocabulary Transformations Sketches $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final Jeopardy.
C O M P U T E R G R A P H I C S Stuff CMSC 435 / 634 Transformations 1/29 Geometric Transformations Readings: Chapters 5-6.
Transformations of Objects CVG lab. Introduction  Affine transformations : Affine transformations are a fundamental cornerstone of computer graphics.
1 Animation & Java3D ©Anthony Steed Overview n Introduction to Animation Kinematics Dynamics Boids n Java3D Scene graph Animation Vehicles.
Graphical Objects and Scene Graphs 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009.
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
Week 2 - Wednesday CS361.
Computer Graphics Raster Devices Transformations Areg Sarkissian.
2003CS Hons RW778 Graphics1 Chapter 5: Transforming Objects 5.2 Introduction to Transformations 5.2 Introduction to Transformations –Affine transformations.
Part7: Geometric Transformations
Simulating the Physics of Pool using RenerMan ● Shaders and Texture Mapping ● Spherical Texture Maps ● Rotating the Balls ● Lighting ● Physics Equations.
A Simple Talk on Java 3D Presented by C.H. Chen on Jul. 6, 2004.
Unit 5 – Linear Functions
1 CO Games Concepts Week 20 Matrices continued Gareth Bellaby.
Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 4: Transformations 2
Transformations of Objects – 3D
Jul 25, 2014IAT 3551 Scene Graphs.  A data structure that stores information about a graphics scene –Each node has information that structures the interpretation.
CS654: Digital Image Analysis Lecture 6: Basic Transformations.
Holt McDougal Geometry 1-7 Transformations in the Coordinate Plane Identify reflections, rotations, and translations. Graph transformations in the coordinate.
CS324e - Elements of Graphics and Visualization Java 3D Intro.
CS 551/645 Fall 2000 Parameterized Rotations, Curves, and Surfaces.
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Computer Graphics 3D Transformations. Translation.
4-4 Geometric Transformations with Matrices Objectives: to represent translations and dilations w/ matrices : to represent reflections and rotations with.
Objective: Students will be able to represent translations, dilations, reflections and rotations with matrices.
Java 3D Web Apps and Services. Presentation Overview l Java3D Overview l Software l Java3D API l Scene Graph Programming Model l Java3D Terminology l.
Modeling CSCI 440 Computer Graphics based on Chapter 9
Scene Graph & Game Engines. 2 Limitations of Immediate Mode Graphics  When we define a geometric object in an application, upon execution of the code.
1 9 Lighting a Scene v There are four types of lighting: –ambient light –directional light –point light –spotlight v Any number of these can be added to.
David Luebke1/10/2016 CS 551 / 645: Introductory Computer Graphics David Luebke
EQ: How can transformations effect the graph a parent function? I will describe how transformations effect the graph of a parent function.
Java Graphics Opening Discussion zWhat did we talk about last class? zDo you have any questions about the assignment? zOffset between class.
3-D Geometric Transformations
Zhang & Liang, Computer Graphics Using Java 2D and 3D (c) 2007 Pearson Education, Inc. All rights reserved. 1 Chapter 5 Basic 3D Graphics.
Review of Transformations and Graphing Absolute Value
Graphics for Games Particle Systems CO2301 Games Development 1 Week 23.
Pre-Cal Chapter 1 Functions and Graphs Section 1.5 Graphical Transformations.
Computer Graphics Imaging Ying Zhu Georgia State University Lecture 29 Soft Bodies and Rigid Bodies.
Unit 5 Transformations in the Coordinate Plane. Translations.
Modeling Transformation
Creating Visual Effects
Modeling Transformations
IAT 355 Scene Graphs Feb 23, 2017 IAT 355.
Graphical Objects and Scene Graphs
Graphical Objects and Scene Graphs
Lecture 08: Coordinate Transformation II
CS3901 Intermediate Programming & Data Structures Introduction
Geometry PreAP, Revised ©2013 1–7 and 12–1: Transformations
QQ.
TJHSST Systems Lab Rigid Body Dynamics Simulation
Presentation transcript:

Introduction to Java3D 1 3D-Pool Game Simulator CS491B Aslan Neishaboori

Introduction to Java3D 2 Background Simulation: CS area of study CS and other fields hand-in-hand Needs data Provides simulators

Introduction to Java3D 3 Background Benefits: Prediction Unknown aspects of the study matter Cost effective

Introduction to Java3D 4 Background 3D Graphics One of important branches of CS Java 3D Involves advance OO programming

Introduction to Java3D 5 3D pool Simulator The data is provided The physics of the game is known 3D Graphics Somewhere to start! Pool has a simple Geometry

Introduction to Java3D 6 Objective: Simple presentation Accurate physics

Introduction to Java3D 7 Objectives Add involving physical factors one by one Start with main factors Abstract less important factors

Introduction to Java3D 8 What are the factors? Gravity Cue Friction Velocity Rotation, Spin Elasticity of collisions ….

Introduction to Java3D 9 Spin and Translation!

Introduction to Java3D 10 Linear and angular velocity + Friction!

Introduction to Java3D 11 Simplify: Create a simple working model first Add more functionality to that model

Introduction to Java3D 12 Code! Geometry classes Initialization classes Auxiliary classes Behavior classes Collision detection classes

Introduction to Java3D 13 Scene Graph? A scene graph is a tree-like data structure that stores, organizes, and renders 3D scene information (3D objects, materials, lights, behaviours...). It is not a tree It has nodes and arcs (connects the nodes) Nodes are java classes

Introduction to Java3D 14 Content BranchView Branch

Introduction to Java3D 15 BG TG Content Branch

Introduction to Java3D 16 Actual code TransformGroup + shape3D’s BallTG() CueTG() tableGeometry() TableTop() Outlines()

Introduction to Java3D 17 Initializing other classes: Initz_balls() CompleteTable() Init_Cue()

Introduction to Java3D 18 Transformations: Translation Scaling Reflection Rotation

Introduction to Java3D 19 3D Rotation The 3D rotation matrices about each coordinate: About x-axis (x-roll) About y-axis (y-roll) About z-axis (z-roll)

Introduction to Java3D 20 Behavior Classes: StickMouseTranslate() StickMouseRotate() CueBallCollision() KeyNavigatorBehavior() in pool1() class

Introduction to Java3D 21 Problems JAVA 3D API is complex Collision detection Communication between live nodes

Introduction to Java3D 22 Final word 3D pool covers the whole Java 3D Good practice for OO programming Open source / Online project and….

Introduction to Java3D 23 Thank you,