VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.

Slides:



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

11.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 11 VRML - An Introduction.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques ©2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Concept of Modeling Model -- The representation of an object or a system Modeling -- The creation and manipulation of an object or a system representation.
3D Graphics Rendering and Terrain Modeling
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 1 – Introduction to VRML.
HCI 530 : Seminar (HCI) Damian Schofield.
B.Sc. Multimedia ComputingMedia Technologies 3D Technologies for the Web.
Introduction to VRML By Salman Yussof Diego Iglesias.
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
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.
Cone Trees and Collapsible Cylindrical Trees
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
Java 3D Pablo Figueroa University of Alberta April 2000.
University College Dublin1 Scope ROOT Light SourceTransform Light SourceSphere.
Multimedia Web Components VRML. Introduction to VRML Case sensitive Most easy technique to provide interactive 3D environment in Web Required special.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
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.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
3D Rendering with JOGL Introduction to Java OpenGL Graphic Library By Ricardo Veguilla
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.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 3 – Object Definition in VRML.
Objectives Review some advanced topics, including Review some advanced topics, including Chapter 8: Implementation Chapter 8: Implementation Chapter 9:
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.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Shapes Properties Binding Chung Ji Hye.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 8: Image Techniques.
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
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.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
VRML virtual reality modeling language. what is it? standardised (sort of) notation for virtual reality over the web text file (use normal text editor)
111/16/ :14 UML Instance Transformation x y z x y z x y z x y z SRT Model Coordinates.
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-
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
CS324e - Elements of Graphics and Visualization Java 3D Intro.
VRML Anthony Steed Department of Computer Science University College London ©Anthony Steed
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
In the name of God Computer Graphics.
Intro to VRML Let’s build something! The source code examples in this tutorial WORK!
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
In the name of God Computer Graphics. Introduction Modeling techniques modeling techniques managements Some renderings.
Introduction to VRML for generating 3-D display
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 6 – Texture Maps.
Mohammed AM Dwikat CIS Department Digital Image.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 4 – Object Manipulation in VRML.
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
Chapter 10: Computer Graphics
In the name of God Computer Graphics.
MPEG-4 Binary Information for Scenes (BIFS)
Computer Graphics.
CSI-447: Multimedia Systems
3D Graphics Rendering PPT By Ricardo Veguilla.
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Presentation transcript:

VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady

VRML - 2 VRML n Background n Example VRML n Versions n VRML language n Creating a VRML world

VRML - 3 VRML - Background n Sometimes pronounced “vermel”. n A language for building 3-D worlds on the WWW. n Use a VRML browser to walk around virtual world. n Browser downloads file containing description of world (in VRML format). n Browser interprets scene descriptions and renders the resulting image.

VRML - 4 VRML - Background (2) n Manipulation is performed on client (host) computer. n Use of 3-D cards can speed performance. n Rendering performed through lens of a virtual camera. n Can move, twist and twirl. n Can alter lighting.

VRML - 5 Using VRML VRML text file *.wrl VRML Renderer usually browser plug-in or ActiveX control

VRML - 6

VRML - 7

VRML - 8 VRML - History n WWW conference in March basic requirements defined. n WWW conference October draft specification of VRML 1.0 presented. n Used language from a 3-D modeler n Version 1.0 introduced April n Version 97 now available and in use

VRML - 9 VRML Versions n 1.0 Initial version. Static images. n 97 aims to be multi-user, objects defined their behavior, “participants” can see each other

VRML - 10 VRML Language n VRML 97 provides these extensions and enhancements to VRML 1.0: – Enhanced static worlds – Interaction – Animation – Scripting – Prototyping

VRML - 11 VRML Language n Script-like language in ASCII text n Given extension.wrl n For easy identification of VRML files, every VRML 97 file must begin with the characters: #VRML V2.0 utf8 n Scene graphs consist of “nodes” n Each node has attributes n See example on web site

VRML - 12 VRML Working Process n Generation of a VRML file n Transmission of VRML file to viewer n Viewing of VRML world n Interacting with the VRML world

VRML - 13 The Structure of VRML n VRML can be viewed at a high level of abstraction as a collection of objects which are called nodes. n These objects, or nodes, are defined for 3D graphics n Nodes are arranged in hierarchical structures called scene graphs, which define an ordering for the nodes.

VRML - 14 The Structure of VRML n This was originally based on the Open Inventor 3D toolkit developed by SGI, for VRML 1.0. n The scene graph represents such aspects of a 3D world as geometry, materials, textures, geometric transformations, lights, viewpoints, and nesting structures.

VRML - 15 Characteristics of a Node n A node might be a cube, a sphere, a texture map, a transformation, etc. n The node has parameters that distinguish the node from other nodes of the same type. n The node has a name. n The node can be part of a hierarchy.

VRML - 16 Enhancement of VRML n VRML 97 adds five constructs to VRML 1.0 that can significantly improve a 3D world. n Four of these (namely node event field, routes, sensors, interpolators) connect and control animations, actions and reactions. n The fifth (script nodes) allows for the interface with JavaScript or Java programs.

VRML - 17 Enhancement of VRML n In addition, VRML 97 allows for video images (in MPEG format) to be mapped to a surface, collision detection, fog, text that always points to the user, contoured terrains, and texture mapped backgrounds.

VRML - 18 VRML Language -Nodes n Cylinder { bottom TRUE height 2 radius 1 side TRUE top TRUE }

VRML - 19 VRML Language -Nodes n Cone { bottomRadius 1 height 2 side TRUE bottom TRUE }

VRML - 20 VRML Language -Nodes n Box { size }

VRML - 21 VRML Language -Nodes n Sphere { radius 1 }

VRML - 22 Coordinate Systems and Transformations n VRML uses a Cartesian, right-handed, 3-dimensional coordinate system. n By default, objects are projected onto a 2-dimensional display device by projecting them in the direction of the positive Z-axis, with the positive X-axis to the right and the positive Y-axis up.

VRML - 23 VRML Language -Nodes n Transform { children [ ] scale translation }

VRML - 24 VRML Language -Nodes n Coordinate { point [ ] }

VRML - 25 VRML Language -Nodes n Color { color [ ] }

VRML - 26 VRML Language -Nodes n PointSet { color NULL coord NULL }

VRML - 27 VRML Language -Nodes n IndexedFaceSet { color NULL coord NULL coordIndex [ ] normalIndex [ ] normalPerVertex TRUE solid TRUE }

VRML - 28 VRML Language -Nodes n Appearance { material NULL texture NULL textureTransform NULL }

VRML - 29 VRML Language n Material - with attributes such as diffuseColor, and shininess n diffuseColor is black, is white n shininess 1.0 is highly reflective n Translation - to specify position of object n Level of Detail (LOD) nodes allow varying level of detail with distance n WWWAnchor creates link to another VRML world

VRML - 30 Example 1 - source code #VRML V2.0 utf8 DEF Machine3 Transform { translation rotation children [ Shape { geometry Box { size } appearance Appearance { material Material { diffuseColor }

VRML - 31 Example 2 - source code

VRML - 32 Example 2 - VRML World

VRML - 33 Creating VRML Worlds n Free formed surfaces, such as that arising from imaging, are not included in the VRML specification. n Therefore, a set of polygons should approximate to a free-formed surface or curve.

VRML - 34 Creating VRML Worlds n For the purpose of rendering and shading the created polygons, their normal vectors are calculated and given to the respective polygons. n Suppose that the surface is an imaging object. Then, the surface is translated into a VRML file format.

VRML - 35 Creating VRML Worlds - One Proposal

VRML - 36 Working With VRML n Native code n Converters n Software that produces VRML code n Can be large files - problem is to make the code efficient n IIL work gives about 100:1 reduction from original data set.

VRML - 37 Examples - See IIL SiteIIL Site n Data from MRI n Data from CT –Lung –Lung and tumor

VRML - 38 VRML and Medical Applications n Visualization over WWW n Need advanced methods to map from data to VRML. n Acceleration –3D boards –Better software

VRML - 39 Medical Applications - Creation of Virtual Reality Worlds from Medical Imaging Data n Image Segmentation n VRML Mapping

VRML - 40 Literature on Medical Image Segmentation n Manually n Automatically n Semi-automatically –Thresholding –Boundary finding –Mathematical Morphology –Region Growing

VRML - 41 Literature on Medical Image Segmentation n Segmentation is a challenging task, especially considering an organ like the lung. n Much of the work on lung segmentation has involved manual segmentation (Naidich et al, 1993) but this involves considerable labor and can be prone to bias.

VRML - 42 Literature on Medical Image Segmentation n Two Dimensional (2D) images require that the physician mentally determine 3D images from 2D slices, and this is difficult and error prone. n The fundamental problems with current approaches to 3D display of scans are that they are not interactive once reported.

VRML - 43 Boundary Identification (2D Segmentation) n Grouping Analysis n V x (P x,y,z ) = ABS((MEAN (P x-p,y,z,…. P x-2,y,z, P x-1,y,z )- MEAN (P x+1,y,z, P x+2,y,z, …P x+p,y,z ))

VRML - 44 Case Study - Lung/Tumor

VRML - 45 Case Study - Lung/Tumor

VRML - 46 Other Considerations n Variety of VRML browsers available. n Netscape uses Cosmo player (from SGI, CA) for VRML n Microsoft new browser with IE 4 n For Windows 9x, Direct3D has been defined. n 3D Boards now have Direct3D drivers n Need to have VRML browser with Direct3D support.