© De Montfort University, 20041 3D Graphics and VRML Howell Istance and Chris Hand* De Montfort University * now at

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 11 VRML Animation and Interaction.
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.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 1 – Introduction to VRML.
HYPERMEDIA Chang-Yang Lin Eastern Kentucky University
B.Sc. Multimedia ComputingMedia Technologies 3D Technologies for the Web.
Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation.
Introduction to VRML By Salman Yussof Diego Iglesias.
Adding Functionality To Web-Based VR Basic Concepts Client – server model Client-side static Client-side scripting Server-side scripting.
What Is VRML? VRML is: Stands for Virtual Reality Modeling Language A simple text language for describing 3-D shapes and interactive environments VRML.
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.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
A Standard Humanoid Representation on The Web: VRML/X3D Humanoid Animation Working Group (H-anim) Che-Jen Chen May/30/2003.
University College Dublin1 Scope ROOT Light SourceTransform Light SourceSphere.
CSC 890 Advanced Computer Graphics (Web3D System Design and Development) Ilmi Yoon Monday 4:10 - 6:45.
3D on-line representations Jan Valcik → introduction, main idea → VRML 97 → building of virtual worlds → VRML 97 at work → X3D → MUDVR → animations, navigation.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
VRML Virtual Reality Modeling Language. What Are We Going to See? What is VRML? Syntax of the language Features Examples.
Object Orientated Data Topic 5: Multimedia Technology.
Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
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.
Getting started © juhanita2015.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 3 – Object Definition in VRML.
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
VRML Dr. Alun Moon What is VRML The Virtual Reality Modeling Language (VRML) is a file format for describing interactive 3D objects.
VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
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.
1 Virtual Reality Modeling Language (VRML97) ©Anthony Steed
Object Orientated Data Topic 5: Multimedia Technology.
Information Processes and Technology Multimedia: Graphics.
Animation Basic Concepts.
Computer Graphics Group Script node Jiří Žára. Computer Graphics Group Contents 1.Script node 2.Motion generators 2Script node.
H3D API Training Part 2.1: X3D. Outline  Scene graphs  X3D – XML syntax  X3D components overview.
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,
111/16/ :14 UML Instance Transformation x y z x y z x y z x y z SRT Model Coordinates.
By Courtney Field Creative digital graphics. Types of graphics and examples There are a number of different types of graphics file formats. Each type.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
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.
B.Sc. Digital Media3D Technologies for the Web 3D Technologies.
Multimedia and the Web.
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.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Intro to VRML Let’s build something! The source code examples in this tutorial WORK!
DESIGNING 3D WEB USING VRML Bob Hobbs Introduction to Virtual Reality and Simulation CE
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
WEB 3D – A PEEK UNDER THE HOOD Keerti Joshi. W HAT ’ S THE FUTURE ? Web 3.0 = ?? The Web ain't just for 2D any more !
© 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.
Mohammed AM Dwikat CIS Department Digital Image.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 4 – Object Manipulation in VRML.
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.
Armand Rousso describe the X3D Technology
DLP for Virtual Environments (I)
Chapter 10 Multimedia and the Web.
MPEG-4 Binary Information for Scenes (BIFS)
CSI-447: Multimedia Systems
Department of Computer Science University College London
VIRTUAL REALITY IN ROBOTICS
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Presentation transcript:

© De Montfort University, D Graphics and VRML Howell Istance and Chris Hand* De Montfort University * now at

© De Montfort University, D COMPUTER GRAPHICS Co-ordinates, Lines and Polygons Specify a point in space using (x,y,z) co-ordinates Lines join points Lines form polygons Polygons are shaded with a colour Scenes may include lights – effect on shading needs to be calculated Virtual Camera (user’s “eye”) has a position in space

© De Montfort University, D Scene…

© De Montfort University, Web 3D Describes any programming or descriptive language that can be used to deliver interactive 3D objects and worlds across the internet Consortium Includes open languages –VRML –Java3D –X3D (under development) Includes proprietary (closed) languages as well

© De Montfort University, VIRTUAL REALITY MODELLING LANGUAGE - VRML Born in 1994, intended to allow 3D and Virtual Worlds over the Internet Specification of a file-format as an open standard –VRML 1.0 spec - May 1995 –VRML August 1996 –VRML97 (ISO/IEC ) - October 1997

© De Montfort University, USES OF VRML 1.Specifying 3D Objects and Worlds in a platform independent way – useful as an open interchange format (cf. Proprietary standards such as.DXF) …many 3D modelling packages (e.g 3D Studio) will export to VRML format 2.Creating interactive 3D content for delivery over the Internet, intranets or CD-ROM etc. Pure 3D applications: interactive 3D maps, training, games… 3D user interfaces to web sites, databases… Web advertising - lightweight, interactive 2D/3D banner ads Multi-user 3D worlds (via VRML extension mechanisms)

© De Montfort University, Building a VRML World Collection of objects arranged in a particular order Objects correspond to something physical that has shape, various surface properties (colour, smoothness, shininess) and a position in 3D space other objects include sounds, lights, viewpoints, all of which have a location in 3D space

© De Montfort University, Nodes Fundamental building blocks, some nodes are objects, some nodes are containers to hold nodes which are related –e.g. Shape node contains geometry node and appearance node Geometry - definition of shape, predefined nodes include Cylinder, Box, Sphere, user defined shape represented as an indexed faceset (collection of numbered coordinates and specification of connectivity) Appearance - contains Material node - definition of surface properties of an object, colour, texture, shininess

© De Montfort University, Grouping Nodes Transform - specifies how a group of children nodes may be translated, rotated or scaled –translation field takes a single vector as its value, showing the amount to move in the x, y and z direction VRML coordinate system +x points to the right +y points up +z points out of the screen

© De Montfort University, Scene Graph hierarchical data structure containing nodes, built by browser as the file is loaded, enables groups of nodes to be manipulated by applying transforms to parent nodes which affect all children nodes

© De Montfort University, Fields and Data types Single Value Field Types - prefixed with SF(SFColor, SFFloat, SFString) - spec shows field, data type, identifier, default value Transform { …. exposedField SFVec3f translation … } Material{ …. ExposedField SFColor diffuseColor 0.8, 0.8, 0.8 … } Multiple-valued Field types - prefixed with MF (MFColor, MFFloat, MFString) - essentially arrays of values

© De Montfort University, MULTIMEDIA SUPPORT Text –Use Text and fontStyle nodes –Control over font face,size, spacing, horizontal/vertical alignment and direction Bitmapped images –Support for Texture maps via ImageTexture node –Mono/Greyscale/RGB/RGB+Alpha (opacity) –Plug-ins/Browsers generally support PNG, JPEG and (usually) GIF formats

© De Montfort University, MULTIMEDIA SUPPORT Audio –Sound node with AudioClip node –Digital Audio - support for.WAV (uncompressed PCM) required by spec –MIDI type 1 file support recommended (general MIDI) –Audio is spatialised in 3D Video –MPEG-1 files (video or video+sound) supported as texture maps using MovieTexture node Animation –Extensive support for keyframe animation in 2D and 3D using timers (TimeSensor) and various “interpolators” –Properties of objects that may be animated include Position, Orientation, Colour and Transparency

© De Montfort University, Responding to user actions - events, sensors and scripts In addition to data fields, nodes can contain event fields Events typically used to change things –object position or orientation –material properties (colour, transparency) –switching things on/off EventIn - events which the node can respond to EventOut - events which the node can generate

© De Montfort University, Event Routing nodes are 'wired' together with ROUTE statements (i.e cause the event generated by node1 to trigger a response in node2 ) eventOut and eventIn must be of the same type (e.g.SFBool)

© De Montfort University, Event Graphs Nodes and routes form an Event Graph Each event has a time-stamp and a value, which depends on the type of the event e.g. SFVec3f: (time format is number of seconds since 1-Jan-70) x0.0 y32.5 z10.5 time

© De Montfort University, SENSOR NODES Events usually originate from sensors Environmental sensors Collision ProximitySensor TimeSensor VisibilitySensor Pointing Device Sensors Anchor TouchSensor Drag Sensors CylinderSensor PlaneSensor SphereSensor

© De Montfort University, Example of a Sensor The code in World3.wrl defines a box located 5 units to the right of the origin, which is equipped with a touchsensor the DEF reserved word allows a node to named, for reference in other nodes or statements The generated event from touchBox can be routed another node for processing ROUTE touchBox.isActive TO node2.eventIn

© De Montfort University, Typical Uses TimeSensor – Animations Drag Sensors – manipulating objects (translate, rotate) ProximitySensor, VisibilitySensor – Efficiency, reacting to user presence Anchor, TouchSensor – buttons, signposts Nodes (often grouped with other nodes) which generate events in response to user behaviour –ProximitySensor defines an area which generates an IsActive event when the user enters the area –TouchSensor generates an IsActive event when 'touched' by a mouse-click