H3D API Training Part 2.1: X3D. Outline  Scene graphs  X3D – XML syntax  X3D components overview.

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 10 VRML - An Introduction.
Advertisements

17.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 17 – VRML: A Rough Guide.
11.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 11 VRML - An Introduction.
N-Dimensional Presentation States Progress and Paths from WG 11 Michael Aratow, M.D., FACEP Nicholas F. Polys Ph.D. Web3D Consortium.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Java3D Presented By Chris Gundlach
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 1 – Introduction to VRML.
An X3D Presentation Sujan Inala Uday Viyyure David Chiu.
Lecture21 Other Java Gamming technologies – Java3D (This lecture will not be assessed)
© Richard Jones, 2009 CO641 Computer Graphics 1 CO641 Computer Graphics and Animation X3d / VRML Richard Jones SW107
Introduction to VRML By Salman Yussof Diego Iglesias.
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.
An Overview of VRML §Scene Graph Structure VRML files describe 3D objects and worlds using a hierarchical scene graph. Entities in the scene graph are.
© De Montfort University, D Graphics and VRML Howell Istance and Chris Hand* De Montfort University * now at
A Standard Humanoid Representation on The Web: VRML/X3D Humanoid Animation Working Group (H-anim) Che-Jen Chen May/30/2003.
Java 3D Pablo Figueroa University of Alberta April 2000.
University College Dublin1 Scope ROOT Light SourceTransform Light SourceSphere.
3D on-line representations Jan Valcik → introduction, main idea → VRML 97 → building of virtual worlds → VRML 97 at work → X3D → MUDVR → animations, navigation.
Hierarchical Transformations Hierarchical Models Scene Graphs
Basic 3D Graphics Chapter 5. Bird’s Eye View  Basic 3D Graphics –Basic concepts of 3D graphics, rendering pipeline, Java 3D programming, scene graph,
X3D Extension for (Mobile) AR Contents International AR Standards Workshop Seoul, Korea Oct 11-12, 2010 Gerard J. Kim (WG 6 AR Standards Study Group Coordinator)
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.
Programming Tools and Applications. Programming Tools 3D systems – Maya – Blender – Unity – Ogre3D Libraries – OpenGL – Direct3D.
Computer Graphics Group Jiří Žára. Computer Graphics Group 2X3D Contents 1.Web3D Consortium 2.X3D specification 3.GeoVRML 4.NurbsVRML 2.
Computer Graphics Group Jiří Žára & David Sedláček.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 3 – Object Definition in VRML.
BY SELVAMUTHUKUMAR.T( ) KAUSHIK.G( ) INFORMATION TECHNOLOGY R.M.K. ENGINEERING COLLEGE,
Java3D Overview Scene graph Java 3D classes Describing objects Groups, transforms Behaviors, interpolators Lighting.
VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.
H3D API Training  Part 3.3: Python – H3D integration.
VRML Scene Graphs. Learning Objectives Understand the concept of a scene graph Understand how VRML defines transformations (translations, rotations, and.
History of VRML and Its Development Process. Learning Objectives Understand the history of VRML Understand the purpose and functions of VRML Learn how.
Mashups with X3D Earth Mike McCann (MBARI) Alan Hudson (Yumetech)
1 Virtual Reality Modeling Language (VRML97) ©Anthony Steed
1 Mpeg-4 Overview Gerhard Roth. 2 Overview Much more general than all previous mpegs –standard finished in the last two years standardized ways to support:
ArcGIS: ArcMap Tables. Agenda Opening tables The interface Working with columns Working with records Making selections Advanced table tools ▫Add fields.
CVVR National Dong Hwa Univ. 國立東華大學 VRML Virtual Reality Modeling Language
Computer Graphics Group Script node Jiří Žára. Computer Graphics Group Contents 1.Script node 2.Motion generators 2Script node.
1 HTML Forms
Interactive Textures as Spatial User Interfaces in X3D Web3D 2010 Symposium Sabine Webel Y. Jung, M. Olbrich, T. Drevensek, T. Franke, M.Roth, D.Fellner,
A Multi-agent Approach for the Integration of the Graphical and Intelligent Components of a Virtual Environment Rui Prada INESC-ID.
Virtual Reality Modeling Language 97. What’s VRML? Virtual Reality Modeling Language 2D/3D graphics Audio:.wav,.mid Video: MPEG-1 Interactivity: time-
111/22/ :40 UML VRML 2.0 Scene Graph Structure Group Transformation Shape Nodes.
VRML Anthony Steed Department of Computer Science University College London ©Anthony Steed
X3D Extensible 3D (X3D) Part 1: Architecture and base components.
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
Intro to VRML Let’s build something! The source code examples in this tutorial WORK!
Web3D Jyun-Ming Chen Fall Contents Definitions, components Examples Task breakdown Survey of available technologies Recommended platform Details.
CO1552 – Web Application Development Further JavaScript: Part 1: The Document Object Model Part 2: Functions and Events.
Lecture 23 XQuery 1.0 and XPath 2.0 Data Model. 2 Example 31.7 – User-Defined Function Function to return staff at a given branch. DEFINE FUNCTION staffAtBranch($bNo)
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 6 – Texture Maps.
VIRTUAL REALITY (VR) INTRODUCTION AND BASIC APPLICATIONS الواقع الافتراضي : مقدمة وتطبيقات Dr. Naji Shukri Alzaza Assist. Prof. of Mobile technology Dean.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 5 – Animation in VRML.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 4 – Object Manipulation in VRML.
Lecture Rendering pipeline, shaders and effects 1Elias Holmlid.
LiLa – Library of Labs A simple to use tool to build interactive 3D for Open Wonderland Oktober 2011 Co-funden by the community programm eContentplus.
Institute for Computer Graphics and Vision Computer Graphics and Interactive Systems 1 Grabner HS i4, 2006/03/08 Web3D, VRVU, SGP Web3D ( ) VRVU.
X3DOM : Integrating 3D content seamlessly into webpage
MPEG-4 Binary Information for Scenes (BIFS)
Ogre Overview Lecture 3.
Advanced Graphics Algorithms Ying Zhu Georgia State University
Department of Computer Science University College London
Ogre Overview.
Web3D Consortium X3DOM: Next-Generation Web3D Applications on Open Standards and Open Source Web3D Consortium
VIRTUAL REALITY IN ROBOTICS
MEL Interface with Maya.
Object-Oriented Programming: Inheritance and Polymorphism
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Presentation transcript:

H3D API Training Part 2.1: X3D

Outline  Scene graphs  X3D – XML syntax  X3D components overview

Scene Graph Group Transform Shape Box Shape Sphere“gold” children appearance geometry

Scene Graph  The scene graph is a directed graph of nodes used to define and manage applications  Hierarchical structure – children/parent. Each node affects its children.

What is a Node? ◦ A container for fields: ◦ Manages fields  Allocation, deallocation of fields  Initialisation of fields  Manages internal (and external) routes ◦ Reusable modules of functionality ◦ Simplify application development

Nodes

X3D  ISO standard for 3D content and interaction  Backwards compatible with VRML 

X3D - XML  “XML encoding” of X3D  Similar in appearance to HTML (technically a subset of XML)  Basic structure: ◦ Header ◦ Statements (scene graph nodes, routes)

Example

XML  Objects encoded begin with a “<name” and end with either ◦ “/>” for single entities ◦ “ ” for compound entities

Comments  Comments are enclosed within

X3D – DEF/USE

X3D – DEF/USE example  Reference an existing DEFined Node with the USE attribute  Useful to avoid data duplication / redundancy ◦ Especially with appearances ◦ Any mesh geometry that is identical

X3D - ROUTE  Dependencies between field are set up with routes:

Example DEF/USE/ROUTE

X3D - containerField  Indicates the default field that a node should be assigned to ◦ e.g. “child” for Group, Transform, Shape ◦ “appearance” for Appearance ◦ “geometry” for IndexedFaceSet, Sphere  containerField hidden from most X3D and H3D use, but necessary to know about

X3D Components

Grouping Component  Group ◦ Basic grouping.  Transform ◦ Specifies coordinate system transformation.  Switch ◦ Choose one of many children.

Geometry Component  Shape  Appearance  Geometry ◦ Box ◦ Cone ◦ Sphere ◦ IndexedFaceSet ◦ etc

Texturing Component  ImageTexture ◦ MultiTexture ◦ PixelTexture ◦ (MovieTexture)  TextureTransform  TextureCoordinate

Interpolator Component  Useful for basic animations: ◦ ColorInterpolator ◦ CoordinateInterpolator ◦ NormalInterpolator ◦ OrientationInterpolator ◦ PositionInterpolator

Text Component  Text  FontStyle

Lighting Component  DirectionalLight  PointLight  SpotLight

Other Components  Time  RigidBodyPhysics  Rendering  Sound  Device Sensors  Navigation  Programmable shaders  Particle system

X3D Abstract Nodes  X3D specification defines abstract nodes; ◦ Cannot be instantiated / used ◦ Contain common functionality used in certain types of nodes ◦ Nodes inherit from abstract nodes

X3D Abstract Nodes  All X3D abstract nodes begin with “x3d” ◦ X3DNode ◦ X3DChildNode ◦ X3DGroupingNode ◦ X3DGeometryNode ◦ X3DLightNode ◦ etc

Interface objects  X3D specifies a number of abstract interfaces.  Specifies some functionality that a node should implement.  Examples: X3DBoundedObject X3DUrlObject H3DDisplayListObject

H3DLoad and H3DViewer  Settings via H3DLoadSettings program  H3DLoad – console  H3DViewer – window application ◦ Settings for changing different options on the fly.