Java 3D Pablo Figueroa University of Alberta April 2000.

Slides:



Advertisements
Similar presentations
Programming with OpenGL - Getting started - Hanyang University Han Jae-Hyek.
Advertisements

Virtual Reality Applications Pablo Figueroa Computing Science Department University of Alberta.
Java3D Presented By Chris Gundlach
Exploring JavaFX 3D Jim Weaver Java Technology Ambassador
Intro to Java Monkey Engine Download JME loads/ loads/
Lecture21 Other Java Gamming technologies – Java3D (This lecture will not be assessed)
Virtual reality interfaces in connection with building process simulations. Prof. Nash Dawood Centre for Construction Innovation Research University of.
Multimedia and the WWW Howell Istance and Chris Hand, Napier University.
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.
Introduction to OpenGL. What is OpenGL OpenGL is a low-level software interface to graphics hardware No commands for performing windowing tasks or obtaining.
Graphical Objects and Scene Graphs CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1 of 12 Scene Graphs: the 50,000 ft View. 2 of 12 Traditional Definition Historical roots: Sketchpad  linear display lists  hierarchical display lists.
VRML Virtual Reality Modeling Language. What Are We Going to See? What is VRML? Syntax of the language Features Examples.
AGD: 5. Game Arch.1 Objective o to discuss some of the main game architecture elements, rendering, and the game loop Animation and Games Development.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
Basic 3D Graphics Chapter 5. Bird’s Eye View  Basic 3D Graphics –Basic concepts of 3D graphics, rendering pipeline, Java 3D programming, scene graph,
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
Java ME & Blackberry APIs for Game Dev Week III. Overview Java 2D API Java 3D API SVG Blackberry APIs
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
BY SELVAMUTHUKUMAR.T( ) KAUSHIK.G( ) INFORMATION TECHNOLOGY R.M.K. ENGINEERING COLLEGE,
VRML Dr. Alun Moon What is VRML The Virtual Reality Modeling Language (VRML) is a file format for describing interactive 3D objects.
Shapes Properties Binding Chung Ji Hye.
CS324e - Elements of Graphics and Visualization Checkerboard World.
Java3D Overview Scene graph Java 3D classes Describing objects Groups, transforms Behaviors, interpolators Lighting.
VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.
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.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
A Simple Talk on Java 3D Presented by C.H. Chen on Jul. 6, 2004.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
History of VRML and Its Development Process. Learning Objectives Understand the history of VRML Understand the purpose and functions of VRML Learn how.
The Graphics Rendering Pipeline 3D SCENE Collection of 3D primitives IMAGE Array of pixels Primitives: Basic geometric structures (points, lines, triangles,
1 Virtual Reality Modeling Language (VRML97) ©Anthony Steed
1 Graphics CSCI 343, Fall 2015 Lecture 1 Introduction to Graphics Read: Chapter 1 of textbook.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Web Games Programming An Introduction to Unity 3D.
Open Inventor A short introduction. Capabilities of Open Inventor Easy construction of 3D scenes User interaction Animation.
COMPUTER GRAPHICS CSCI 375. What do I need to know?  Familiarity with  Trigonometry  Analytic geometry  Linear algebra  Data structures  OOP.
1 VR assignment#2 WTK SDK Introduction By Jin-Bey Yu 2001/11/12.
H3D API Training Part 2.1: X3D. Outline  Scene graphs  X3D – XML syntax  X3D components overview.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Virtual Reality Modeling Language 97. What’s VRML? Virtual Reality Modeling Language 2D/3D graphics Audio:.wav,.mid Video: MPEG-1 Interactivity: time-
CS324e - Elements of Graphics and Visualization Java 3D Intro.
VRML Anthony Steed Department of Computer Science University College London ©Anthony Steed
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
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, CG, and others Jyun-Ming Chen Fall 2001.
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.
Lights in the Phong Model 2. What are these? 1. How to compute these?
Zhang & Liang, Computer Graphics Using Java 2D and 3D (c) 2007 Pearson Education, Inc. All rights reserved. 1 Chapter 11 Animation.
1 Angel: Interactive Computer Graphics5E © Addison- Wesley 2009 Image Formation Fundamental imaging notions Fundamental imaging notions Physical basis.
Graphical Objects and Scene Graphs Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Zhang & Liang, Computer Graphics Using Java 2D and 3D (c) 2007 Pearson Education, Inc. All rights reserved. 1 Chapter 5 Basic 3D Graphics.
UFCFSU-30-13D Technologies for the Web An Introduction to Unity 3D.
1 Geometry for Game. Geometry Geometry –Position / vertex normals / vertex colors / texture coordinates Topology Topology –Primitive »Lines / triangles.
Institute for Computer Graphics and Vision Computer Graphics and Interactive Systems 1 Grabner HS i4, 2006/03/08 Web3D, VRVU, SGP Web3D ( ) VRVU.
Game Development with Unity3D
In the name of God Computer Graphics.
3GB3 Game Design Unity 3D Basics.
MPEG-4 Binary Information for Scenes (BIFS)
Computer Graphics.
Graphical Objects and Scene Graphs
Graphical Objects and Scene Graphs
The Graphics Rendering Pipeline
Models and Architectures
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Presentation transcript:

Java 3D Pablo Figueroa University of Alberta April 2000

Contents Introduction What is java 3D API concepts Some demos API details Summary More resources

Introduction: What and Why? What? Represent 3D geometry Interact with 3D information Why? Application specific reasons: Design Architectural walkthroughs Analysis of 3D data

Introduction: Examples Macy’s fashion show Interactive animations (cult3d)

Introduction: Examples (2)

Introduction: Examples (3)

Introduction: Solutions APIs OpenGL, Open Inventor, Performer, Java 3D 3D modeling tools 3D Studio Max, Maya, … VR environments WTK, DIVE, … App. specific tools Cult3D, Character Studio, Rodin, …

What Is Java 3D? Java API for 3D geometry description Platform independent File-format independent A scene graph API Describe the intended use of the model: Modifiable vs. static objects Selectable vs. background objects Abstract device model

API Concepts Scene graph Shape (geometry, appearance, texture) Transforms Lights Sound Behavior Rendering model

Concepts: Scene Graph Objects are described as a hierarchy of nodes: Leafs: shapes, lights, sounds, behaviors Intermediate: transformations, groups Group Switch Ordered Shared

Concepts: Scene Graph (2)

Concepts: Shape Geometry Some primitives Box, Cone, Cylinder, Sphere Indexed face sets Coordinates, normals, colors per vertex, texture coordinates per vertex Appearance Color, material, texture Point, line, and polygon appearance

Concepts: Transforms All geometry coordinates are defined relative to (0,0,0) Translation Rotation In radians Scaling

Concepts: Lights Based on the Phong model At least one light in the environment Several types: Ambient, directional, point, spot Attributes: Color, influencing bounds Uses material attributes: diffuse, ambient, specular, emissive colors

Concepts: Sound Spatially located sound information Several sounds Soundscape (aural environment) Types: Background, point, cone Attributes: Volume, loop parameters, scheduling region, active flag, distance gain (point and cone)

Concepts: Behavior Actions in the world: Object animation Input processing Picking Collisions Level Of Detail (LOD) Interpolations

Concepts: Behavior (2) General attributes: Scheduling region Wake up conditions View position, transform state, collision, other behavior’s state, AWT events, time interval, sensors Interpolator classes: Position, PositionPath, Rotation, Color, Transparency, RotPosScalePath

Example: SimpleSounds An extension of HelloUniverse A cube 3 sounds 2 behaviors: rotate the cube, play sounds

SimpleSounds (2) sound1:PointSound TransformationGroup ColorCube RotationInterpolator BackgroundSound BranchGroup sound2:PointSound SimpleSoundsBehavior

SimpleSounds (3)

Demos From the distribution ObjLoad Loads geometry in format.obj AWTInteraction 2D interface widgets with 3D worlds TickTockCollision Behaviors, collision detection

Demos (2) From the website YouBuildIt Author environment Astro3D (Astronomy Visualization Tool) Navigation + Collaboration Particles Particle-based system

API Details Rendering model Immediate Retained Compiled-retained Hi-resolution coordinates 256-bit fixed-point numbers (hundred-billion light years – protons)

API Details (2) Scene graph in detail: objects

API Details (3) Scene graph in detail: View model

API Details (4) Devices Standard API for keyboard and mouse New model for input devices InputDevice Interface Sensors Math library Tuples, angles, quaternions, matrices

API Details (5) Capability bits User’s intention for each part of the scene. Used for compilation purposes Read/write Transformations, geometry, path, … Collision bounds Sound data

API Details (6) Cloning groups in the scene graph:

Summary 3D, scene-graph based API Compilation capability for performance Integration of other input devices View modeling allows VR apps. Sun, Windows, Linux, and SGI implementations

Summary (2)

More Resources Java 3D site Java 3D related stories Java 3D tutorial Java One 99 presentation media/3D/collateral/j3d_javaone.pdf media/3D/collateral/j3d_javaone.pdf Java Technology Roadshow