Computer Graphics Group Jiří Žára & David Sedláček.

Slides:



Advertisements
Similar presentations
11.1 si31_2001 SI31 Advanced Computer Graphics AGR Lecture 11 VRML - An Introduction.
Advertisements

Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
An introduction to WebGL Viktor Kovács. Content A little 3D modeling. What is WebGL? Introducing Three.js. Visualizing GDL objects.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 1 – Introduction to VRML.
X3D Introduction to Web3D technology Enkhbold N. Information Communication University.
An X3D Presentation Sujan Inala Uday Viyyure David Chiu.
B.Sc. Multimedia ComputingMedia Technologies 3D Technologies for the Web.
Introduction to SVG & Batik Presented by Shang-Ming Huang.
Multimedia and the WWW Howell Istance and Chris Hand, Napier University.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
3D on-line representations Jan Valcik → introduction, main idea → VRML 97 → building of virtual worlds → VRML 97 at work → X3D → MUDVR → animations, navigation.
HCI 201 Week 5 Loose Ends. Agenda Image stuff Image stuff File stuff File stuff Bandwidth Bandwidth UNIX UNIX HTML HTML Design elements Design elements.
Define objects and their relationships to multimedia Explain the fundamentals of C, C++, Java, JavaScript, JScript, C#, ActiveX and VBScript Discuss security.
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.
HYPERTEXT MARKUP LANGUAGE (HTML)
Web Design Basic Concepts.
Programming Tools and Applications. Programming Tools 3D systems – Maya – Blender – Unity – Ogre3D Libraries – OpenGL – Direct3D.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
Declarative 3D for the Web Architecture Web3D 2012 Workshop Johannes Behr, Kristian Sons.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
WebGL Patrick Cozzi University of Pennsylvania CIS Spring 2012.
Computer Graphics Group Jiří Žára. Computer Graphics Group 2X3D Contents 1.Web3D Consortium 2.X3D specification 3.GeoVRML 4.NurbsVRML 2.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
WebGL for lazy dudes Janne Lautamäki 1 GLGE – Janne Lautamäki
Computer Graphics Group David Sedláček. Computer Graphics Group 2X3D Contents 1.DOM manipulation 2.Events 3.Animation 4.Prototypes 5.Augmented Reality.
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.
Website Accessibility Testing. Why consider accessibility People with disabilities – Visual, Hearing, Physical, Cognitive (learning, reading, attention.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
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
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.
به نام خدا تنظیم کننده : فرانه حدادی استاد : مهندس زمانیان تابستان 92.
Computer Graphics Group Jiří Žára. Computer Graphics Group 2X3D Contents 1.Web3D Consortium 2.X3D specification 3.GeoVRML 4.NurbsVRML 2.
H3D API Training Part 2.1: X3D. Outline  Scene graphs  X3D – XML syntax  X3D components overview.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 1 Converting 3D Facial Animation with Gouraud shaded SVG A method.
VRML virtual reality modeling language. what is it? standardised (sort of) notation for virtual reality over the web text file (use normal text editor)
B.Sc. Digital Media3D Technologies for the Web 3D Technologies.
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.
Web Development Process The Site Development Process Site Construction is one of the last steps.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
Web3D Jyun-Ming Chen Fall Contents Definitions, components Examples Task breakdown Survey of available technologies Recommended platform Details.
Kendo Ui Basics.
© Fraunhofer IGD Introduction and Tutorial X3DOM – Declarative (X)3D in HTML5 Yvonne Jung Fraunhofer IGD Darmstadt, Germany
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 !
VIRTUAL REALITY (VR) INTRODUCTION AND BASIC APPLICATIONS الواقع الافتراضي : مقدمة وتطبيقات Dr. Naji Shukri Alzaza Assist. Prof. of Mobile technology Dean.
SVG technology SVG technology is what we want? is what we want? Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
3D modeling Computer programs used for developing a mathematical representation of any three-dimensional surface of objects, also called 3D modeling.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
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
The HTML5 logo was introduced by W3C in 2010
X3DOM : Integrating 3D content seamlessly into webpage
MPEG-4 Binary Information for Scenes (BIFS)
Advanced Graphics Algorithms Ying Zhu Georgia State University
Web3D Consortium X3DOM: Next-Generation Web3D Applications on Open Standards and Open Source Web3D Consortium
Introduction to OpenGL
CIS 133 mashup Javascript, jQuery and XML
CIS 441/541: Introduction to Computer Graphics Lecture 15: shaders
Introduction to OpenGL
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Presentation transcript:

Computer Graphics Group Jiří Žára & David Sedláček

Computer Graphics Group 2X3D Contents 1.Web3D Consortium and X3D specification 2.GeoVRML, NurbsVRML 3.X3Dom 4.VRML to X3Dom 2

Computer Graphics Group 3X3D Web3D Consortium About 15 Working Groups ( source: reference browser (Xj3D) h-anim: humanoid animation (done: ISO standard) web3d-mpeg: integration with MPEG dis: distributed interactive simulation GeoVRML, NurbsVRML (done) vrml-streams: streaming scene graph & data media: universal media (like fonts in op. systems)

Computer Graphics Group 4X3D X3D = Next VRML version The next generation Open Web3D standard Concerted action by key VRML browser companies (blaxxun, ParallelGraphics, Nexternet, OpenWorlds) Full compatibility with VRML97 Influence to other standards (MPEG-4, XML)

Computer Graphics Group 5X3D Architecture Components: Rendering, Geometry, GeoVRML, Language, Texture, Navigation, Nurbs, Scripting, Sensor, etc. Profiles (subset of components + limitations): Core – light renderers (Java applets) Base – full functionality Interactive, Immersive, …

Computer Graphics Group 6X3D Profiles

Computer Graphics Group 7X3D Features XML notation Interfaces to scripting languages Consortium registers new components (OpenGL strategy) Open source reference browser implementation

Computer Graphics Group 8X3D Sample code <Material DEF="MAT1" ambientIntensity="1.0“ shininess="0.2“ diffuseColor=" " specularColor=" "/> <IndexedFaceSet …

Computer Graphics Group 9X3D Specification 1)Abstract specification object oriented 2)Three notations - UTF-8 (like VRML97) - XML - Binary (like MPEG-4) 3)Scene authoring interface Java, ECMAScript, DOM

Computer Graphics Group X3D GeoVRML NurbsVRML 10X3D Test it !

Computer Graphics Group X3Dom - motivation Websites (have) become Web applications Increasing interest in 3D for –Product presentation –Visualization of abstract information –Enriching experience of cultural Heritage Plugins for VRML/X3D are a nuisance –Problems with permissions, installation, security The same application for different OS –PC & mobile devices (Symbian, Android, iOS) 11X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group X3Dom X3Dom – Declarative (X)3D in HTML5 12X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group X3Dom X3Dom – pronounce X-Freedom Developped at Fraunhofer IGD –first stable version 1.0 – –current stable version – WebGL / Flash rendering 13X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group WEB - OpenGL OpenGL and GLSL in the Web: WebGL JavaScript Binding for OpenGL ES 2.0 in Web Browser –Firefox, Chrome, Safari, Opera, Internet Explorer 11 HTML5 element provides 3D rendering context –gl=canvas.getContext(‘webgl’); API calls via GL object –X3D via X3DOM framework – 14X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group why X3Dom not WebGL ? 15X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Simple scene creation –Built-in Navigation and Animation –Simple scene manipulation (DOM and jQuery) Instant behaviour –Automatically split indexes if larger than 65k (webGL limit) – (huge mesh support) –Non PowerOfTwo textures

Computer Graphics Group X3Dom – 1 st example 3D view: 16X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Test it !

Computer Graphics Group X3Dom – 2 nd example 17X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Test it ! All 3D objects are children of the element Every object has a …and a geometry, like e.g. a …and an with material or texture Test it ! #VRML V2.0 utf8 Shape { geometry Box {} appearance Appearance { material Material { diffuseColor }}}

Computer Graphics Group red box X3Dom – 3 rd example 18X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Test it ! red box Background and css styling

Computer Graphics Group VRML / X3D / X3Dom 19X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also basic primitives, indexed face sets materials, textures, lights background, fog interpolators, ! inlines !

Computer Graphics Group X3Dom – VRML LOD Bilboard DEF / USE Elevation grid Extrusion 20X3D Test it ! red box …... <elevationgrid xDimension= zDimension= xSpacing= zSpacing= height=‘ array of scalars ’ > <extrusion creaseAngle=‘.9’ crossSection=‘array of 2f’ orientation=‘array of 4f’ scale=‘array of 2f’ spine=‘array of 3f’> Test it !

Computer Graphics Group X3Dom animation ColorInterpolator, CoordinateInter., NormalInter., OrientationInter., PositionInter., ScalarInter. 21X3D Test it ! green Box <orientationInterpolator DEF='rotace' key=' ' keyValue=' '> <route fromNode='time' fromField='fraction_changed' toNode='rotace' toField='set_fraction'> <route fromNode='rotace' fromField='value_changed‘ toNode='boxTr‘ toField='set_rotation'> Test it !

Computer Graphics Group missing in X3Dom Newly proposed X3D profile –HTML profile, is extended X3D-Interchange profile Not supported nodes –Script It is completely replaced by browser javaScript –PROTO Can be compensate by javaScript nodes generation 22X3D

Computer Graphics Group new in X3Dom 23X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also shadows <directionalLight direction='0 0 -1' intensity='1‘ shadowIntensity='0.7'> Note: i mplemented for all three light types Test it ! Indexed triangle set faster for viewing -> viewer do not run tesselator any -1 in index attribute DOM holds structure and data More than 95% are usually unstructured data !

Computer Graphics Group new in X3Dom 24X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also New Geometry Node Types <binaryGeometry vertexCount=' ' primType='"TRIANGLES"' position=' ' size=' ' coord='binGeo/BG0_interleaveBinary.bin#0+24' coordType='Int16' normal='binGeo/BG0_interleaveBinary.bin#8+24' normalType='Int16‘ color='binGeo/BG0_interleaveBinary.bin#16+24‘ colorType='Int16' > Indexed geometry is binary coded in separate files (less kB) Browser hold data in binary format (as images) outside of DOM

Computer Graphics Group new in X3Dom LOD –VRML approach –PopGeometry - progressive streaming Shaders –Predefined Normal mapping Displacement mapping … –User defined vertex and fragment shaders (in X3Dom file) 25X3D Test it !

Computer Graphics Group … to X3Dom 26X3D …converters Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group VRML to X3D 27X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also By HAND in text editor Using converter of third sides (lossy) Meshlab, Deep Exploration, Accutrans,… VRML to X3D can be TRANSCODED on-line (instant reality encoding converter)instant reality encoding converter off-line (aopt tool from Instant Reality package) – higher trans. control animations, scripts, and code optimizations transcode all variants ( VRML97, X3D, X3Db, X3Dom )

Computer Graphics Group aopt tool 1 28X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Basic transcoding output parameters: aopt –i foo.wrl –x foo.x3d aopt –i foo.wrl –b foo.x3db aopt –i foo.x3d –N foo.html aopt –i foo.x3d –M foo.xhtml aopt –i foo.x3d –u -N foo.html -u : optimization build DEF/USE aopt –i foo.x3d –v foo.wrl

Computer Graphics Group aopt tool 2 29X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Output optimization (binary geometry): similarly for geometry images (-g) mkdir bingeo aopt –i foo.wrl –G “bingeo/:is” –x foo.x3d 4 bin files (coord, index, normal, texCoord/color) aopt –i foo.wrl –G “bingeo/:saI” –x foo.x3d 1 bin file, interleaved values (coord, normal, color/texCoord) Parameters: i : index s : trianglestrip a : autoindex (coordIndex have to be smaller than 16bit = ) c : compact (16bit representation for vertex attributes) p : normal in spherical coordinates I : interleaved (16bit interleaved vertex data) Most compact option ? sacp

Computer Graphics Group aopt tool 3 30X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Huge mesh optimization (binary geometry): aopt –i model.wrl –u –b model-clean.x3db Model cleanup (-u) + binary output for smaller files (-b) aopt –i model-clean.x3db –F Scene –b model-opt.x3d Mesh patching (geo. is splitted for 16bit indices) for specified node aopt –i model-opt.x3d –G “bingeo/:saI” –N model.html Final optimisation with binGeo for HTML/X3Dom aopt can work with VRML/X3D files and possibly with others (.ply,.obj, …) oopt is better for converting other formats to x3d and than use aopt for optimization

Computer Graphics Group X3D editor 31X3D

Computer Graphics Group examples 32X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also

Computer Graphics Group howto X3Dom ? 33X3D Inspired by X3Dom talk at Fraunhofer IGD (Sep. 2012), texts and images are adapted from the talk also Entry points for getting started X3DOM online documentation and code examples – (tutorials and docs) – (12 simple examples) – (7 examples with animation) – (lots of feature tests) More docs and tools – (InstantPlayer and aopt converter) – (links to X3D)

Computer Graphics Group … end of this part Following lecture –X3Dom scripting – DOM manipulation & jQuery –Interaction and manipulation (HUD and sensors) –PROTOs –AR in X3Dom 34X3D34

Computer Graphics Group 35X3D … end of this part 35 Todo: 1.Přidat ukázky animací a routování 1.bitLODGeometry / texture Shadery, cube map 2.Uděláme z toho samostatnou přednášku X3D + X3Dom 3.Možná další příklady X3D / VRML (vztah k 1.) 4.X3dom + js (interakce, prototypy, shadery, ar?)