Computergrafik SS 2016 Oliver Vornberger. Vorlesung vom Kapitel 23: 3D im Web

Similar documents
CT336/CT404 Graphics & Image Processing. Animation and Interactivity (X3D, Canvas)

Einführung in die Erweiterte Realität - 4. VRML - Gudrun Klinker Nov 11, 2003

Topics. Overview of VRML 97 VRML Today After VRML

2.5 Animations. Applications. Learning & Teaching Design User Interfaces. Content Process ing. Group Communi cations. Documents.

2.5 Animations. Contents. Basics. S ystem s. Services. Usage. Computer Architectures. Learning & Teaching Design User Interfaces.

X3D Geospatial Component

Interactive Authoring Tool for Extensible MPEG-4 Textual Format (XMT)

Multimedia Signals and Systems Virtual Reality and VRML

Computer Graphics - Week 8

Volume 4, Number 3 MPEG-V and Other Virtual Worlds Standards December 2011

Student: Jiewei Lin Advisor: Dr. Chris Pollett Committee Members: Dr. Sin-Min Lee Dr. Ho Kuen Ng May 20, 2003

Introduction to X3D. Roberto Ranon HCI Lab University of Udine, Italy

VISUALIZING OPTIMIZER

H-Anim Facial Animation (Updates)

3D webservices - where do we stand? Emmanuel Belo

3D Graphics without Plugins using SVG

4/7/2009. Model: Abstraction of reality following formal rules e.g. Euclidean space for physical space

Virtual Reality & Physically-Based Simulation

VRML for Visualization

Virtual Intelligent. Environments

Introductory element Main element Part n: Projective Texture Mapping

Digital Asset Management 2. Introduction to Digital Media Format

Dynamically Generated Nodes and Links for a Dynamic Network Structure Using X3D

NAVAL POSTGRADUATE SCHOOL Monterey, California THESIS

6. XML. Thomas Lumley Ken Rice. Universities of Washington and Auckland. Seattle, July 2012

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

Conceptual knowledge-based modeling of interactive 3D content

Novel Globe Publishing Techniques Using WebGL

Easy Mapping with Google

An XML-based 3D model visualization and simulation framework for dynamic models

Fundamentals of Website Development

Augmented Reality, Google Earth and Tcl/Tk. Steve Landers and David Roseman. Abstract

v-slam documentation for v1.09

Google Earth Visualization of Magnetometer Data

A novel approach in converting SVG architectural data to X3D worlds

Map Types Used. Topographical map (1:10 000, 1: ) Land Cadastre Map (1: ) Utility base map (1:500) Joint utility map (1:500)

A Macro that Creates U.S Census Tracts Keyhole Markup Language Files for Google Map Use

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Web Design and HTML. Web Page vs Web Site. Navigation. Links. A web page is a single page viewable using web browser. A web site is a set of web pages

Generation of 3D Models from Stereo-Digitized Vertex Points CE 503 Photogrammetry I Fall 2006, Updated Fall 2007

VRML FOR URBAN VISUALIZATION

MRK260. Week Two. Graphic and Web Design

HTML CS 4640 Programming Languages for Web Applications

Introduction to Virtual Environments - Spring Wernert/Arns. Lecture 4.2 Animation & Interaction

16. HTML5, HTML Graphics, & HTML Media 웹프로그래밍 2016 년 1 학기 충남대학교컴퓨터공학과

Esri UC2013. Technical Workshop. Type Presentation Name Here

OGC ARML 2.0 Candidate Standard - Comparison with Existing Formats

CodeHS Hour of Code: Teacher Guide

X3DOM Getting declarative (X)3D into HTML

Web Visualization of a Trajectory Generated from the General Mission Analysis Tool (Part 1)

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Google Earth II: Create a tour with Google Earth

Part III: Survey of Internet technologies

VRML++: A Language for Object-Oriented Virtual-Reality Models

Introduction to XML. An Example XML Document. The following is a very simple XML document.

Extensible 3D (X3D) Graphics: Scene Design for Autonomous Underwater Vehicle (AUV) Mission Visualization

Scientific Communication CITS4008. Designing and Writing Web Pages Rachel Cardell-Oliver 2013 Based on notes by Robyn Owens

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

CS144 Notes: Web Standards

TARDEC ---TECHNICAL REPORT--- CREATION OF VIRTUAL REALITY MODELING LANGUAGE (VRML) STATIONARY XY VIEW DATA FROM DISPLACEMENT DATA.

EXPLORE MODERN RESPONSIVE WEB DESIGN TECHNIQUES

Fulfilling the Mandate of Information Durability and Access. Nov 2, 2018

Road maps. Introduction. Structure

Maps on the Web. Chapter 1. Emmanuel Stefanakis.

Visualization/dissemination of 3D Cadastral Information

Getting Started with X3D

Web Systems & Technologies: An Introduction

Genealogical Searching the World Wide Web. July 2015 Slides at:

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Multimedia Technology

Information technology Computer graphics, image processing and environmental representation Projective texture mapping

CITS3403 Agile Web Development Semester 1, 2016

HTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Library

Review of VRML and WWW Techniques

Working with Google Earth

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

AN INTERACTIVE LAND USE VRML APPLICATION (ILUVA) WITH SERVLET ASSIST. Lee A. Belfore, II Suresh Chitithoti

WebGL Seminar: O3D. Alexander Lokhman Tampere University of Technology

Tutorial for Importing Open Green Map Sites into Google Earth

Semantic Web Lecture Part 1. Prof. Do van Thanh

Chapter 1: Symmetry and Surface Area

Web Systems & Technologies: An Introduction

VRML PROGRAMS FOR ROOM VENTILA non APPLICA nons

MPEG-4 AUTHORING TOOL FOR THE COMPOSITION OF 3D AUDIOVISUAL SCENES

CS4HS#workshop! Google&maps!!!

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

X3D - Texture, Material Properties, Artificial Light Models -

CIS 408 Internet Computing. Dr. Sunnie Chung Dept. of Electrical Engineering and Computer Science Cleveland State University

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

RESEARCH ON APPLICATION OF 3D MODELING TECHNIQUE BASED ON NETWORK IN DRAWING EDUCATION

Xml Schema Attribute Definition Language (xsd) 1.0

CSC9B1: Essential Skills WWW 1

Tutorial 1: HTML Tutorial (Windows Version) HTML (Hypertext Markup Language) Basics Objectives

Google Maps Manually Place Marker On Click V3 Remove

WebGL Meetup GDC Copyright Khronos Group, Page 1

Using The EAI The process of using the EAI is best understood through example. Simplifying a bit, the overall process goes as follows:

Data Acquisition using Mashup and 3-D Technology. Matt Rahr College of Agriculture and Life Sciences University of Arizona

Writing Space-Time Point Data To KML

Transcription:

Computergrafik SS 2016 Oliver Vornberger Vorlesung vom 20.06.2016 Kapitel 23: 3D im Web 1

Virtual Reality Modelling Language 3D-Vektorgrafik für Webseiten offizieller Standard des W3C in ASCII geschrieben exportierbar von CAD-Tools verlustfrei skalierbar Grafik, Text, Audio, Video erlaubt Interaktion unterstützt Javascript verlangt Plugin im Browser verlangt Rechenleistung im Browser http://de.wikipedia.org/wiki/vrml 2

Geschichte von VRML April 1994 1st Internat. WWW Conference Tim Berners-Lee, Mailing List Okt. 1994 2nd Internat. WWW Conference VRML 1.0 (statische Szenen) Dez. 1995 1st VRML Conference VRML 97 (+ Animation + Sound + Video) ab 2000: Stillstand 3

# VRML V2.0 utf8 Box Transform { translation 0 0 3 rotation 0.44-0.68-0.57 1.03 scale 2 2 2 children [ Shape { geometry Box {size 1 1 1 } appearance Appearance { material Material {diffusecolor 1 1 0} } } ] } 4

Webseite mit VRML <HTML> <HEAD><TITLE>VRML</TITLE></HEAD> <BODY <H1>VRML-Beispiel</H1> <EMBED SRC ="cube.wrl" WIDTH =300 HEIGHT =300> </BODY> </HTML> http://www-lehre.inf.uos.de/gp/virtuellerstadtbummel-gp.wrl 5

X3D 3D-Vektorgrafik für Webseiten offizieller Standard des W3C in ASCII geschrieben als XML-Anwendung exportierbar von CAD-Tools verlustfrei skalierbar Grafik, Text, Audio, Video erlaubt Interaktion unterstützt Javascript verlangt Rechenleistung im Browser verlangt Plugin im Browser: http://www.bitmanagement.com./de/download Oder Javascriptbibliothek http://www.x3dom.org/ 6

X3D http://de.wikipedia.org/wiki/x3d http://x3dgraphics.com/ http://www.x3dom.org/ http://www.web3d.org/realtime-3d/x3d/what-x3d http://3dspace.com/2016/02/x3dom-vs-three-js/ 7

# VRML V2.0 utf8 Transform { translation 0 0 3 rotation 0.44-0.68-0.57 1.03 scale 2 2 2 children [ Shape { geometry Box {size 1 1 1 } appearance Appearance { material Material {diffusecolor 1 1 0} } } ] } VRML versus X3D <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Transform translation="0 0 3" rotation="0.44-0.68-0.057 1.03" scale ="2 2 2"> <Box size="1 1 1"/> <Material diffusecolor="1 1 0"/> </Scene> </X3D> http://www-lehre.inf.uos.de/~cg/2016/x3d/alles.html 8

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint description="start" orientation="1 0 0-0.174" position="0 5 20"/> <Transform translation="0 0 0"> <Material diffusecolor="0 1 0.5" /> <Box size="2 3.5 2"/> <Transform translation="0 1 0" rotation="0 0 1 1.57075" > <Cylinder radius="0.2" height ="5.0"/> <Material diffusecolor = "0 0 1" /> <Transform translation="0 3 0"> <Sphere radius="1.5"/> <ImageTexture url="medien/oliver.jpg"/> <Transform translation="0 4.5 0" rotation="1 0 0-0.1745278" > <Cone bottomradius="2.0" height ="1"/> <Material diffusecolor = "1 0 0" /> </Scene> </X3D> Box, Cylinder, Sphere, Cone http://www-lehre.inf.uos.de/~cg/2016/x3d/figur.html 9

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint orientation="1 0 0-0.174" position="0 5 20"/> </Scene> </X3D> <IndexedFaceSet colorpervertex="false" coordindex='4 0 1-1 4 1 2-1 4 2 3-1 4 3 0-1 3 2 1 0-1'> <Coordinate point='-1 0 1 1 0 1 1 0-1 -1 0-1 0 1.5 0'/> <Color color="0 1 1 1 0 0 1 1 0 0 1 0 0 0 1" /> </IndexedFaceSet> <Material/> IndexedFaceSet http://www-lehre.inf.uos.de/~cg/2016/x3d/pyramid.html 10

Gruppe <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint description="vogel" orientation="1 0 0-0.174" position= 0 5 30"/> <Viewpoint description="frosch" orientation="0 1 0 1.5707" position="20 0 0"/> <Background skycolor='1 1 1'/> <Fog color="1 1 1" fogtype="exponential" visibilityrange="40"/> <Transform translation="-4 0-12"> <Inline url="figur.x3d"/> <Transform translation=" 4 0-12"> <Inline url="figur.x3d"/> <Transform translation="-4 0-4"> <Inline url="figur.x3d"/> <Transform translation=" 4 0-4"> <Inline url="figur.x3d"/> <Transform translation=" 4 0 4"> <Inline url="figur.x3d"/> <Transform translation="-4 0 4"> <Inline url="figur.x3d"/> </Scene> </X3D> http://www-lehre.inf.uos.de/~cg/2016/x3d/gruppe.html 11

Hintergrund <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint orientation="1 0 0-0.174" position="0 5 20"/> <Background skycolor = "0.0 0.1 0.5 1.0 1.0 1.0" skyangle = "1.571" groundcolor = "0.15 0.15 0.15 0.75 0.75 0.75" groundangle = "1.571" fronturl="medien/mountain.png" backurl ="medien/mountain.png" lefturl ="medien/mountain.png" righturl="medien/mountain.png" /> <Transform translation="0 0 0"> <Inline url="gruppe.x3d"/> </Scene> </X3D> http://www-lehre.inf.uos.de/~cg/2016/x3d/hintergrundbild.html 12

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> Transparenz <Transform rotation="0.44-0.68-0.057 1.03"> <Material diffusecolor="1 1 0"/> <Box size="2 2 2"/> <Transform translation= "0 1 0"> <Sphere radius="1"/> <Material diffusecolor="1 0 0" transparency="0.5"/> </Scene> </X3D> http://www-lehre.inf.uos.de/~cg/2016/x3d/transparenz.html 13

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint orientation="1 0 0-0.174" position="0 5 20"/> <Billboard axisofrotation="0 1 0"> <IndexedFaceSet coordindex="0 1 2 3-1"> <Coordinate point = "2-2 0 2 2 0-2 2 0-2 -2 0"/> </IndexedFaceSet> <ImageTexture url="medien/baum.gif" /> </Billboard> <Transform translation="0 0-4"> <Box size="8 4 2" /> <ImageTexture url="medien/ziegel.gif" /> </Scene> </X3D Billboard http://www-lehre.inf.uos.de/~cg/2016/x3d/billboard.html 14

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint orientation="1 0 0-0.174" position="3 5 20"/> <Material diffusecolor="1 1 0"/> <ElevationGrid xdimension="9" zdimension="9" creaseangle="1.57" solid="false" height="0.0 0.0 0.5 1.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.5 0.5 0.0 0.0 0.0 0.0 0.0 0.5 0.5 3.0 1.0 0.5 0.0 1.0 0.0 0.0 0.5 2.0 4.5 2.5 1.0 1.5 0.5 1.0 2.5 3.0 4.5 5.5 3.5 3.0 1.0 0.0 0.5 2.0 2.0 2.5 3.5 4.0 2.0 0.5 0.0 0.0 0.0 0.5 1.5 1.0 2.0 3.0 1.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.0 1.5 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0"/> </Scene> </X3D Elevation Grid http://www-lehre.inf.uos.de/~cg/2016/x3d/elevation-grid.html 15

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Scene> <Viewpoint orientation="1 0 0-0.174" position="0 5 20"/> <Transform DEF="Figur"> <Inline url="figur.x3d"/> <TouchSensor DEF="Klick" description="bitte klicken!"/> <TimeSensor DEF="Zeit" cycleinterval="5" loop="false"/> <OrientationInterpolator DEF="Drehen" key ='0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9' keyvalue='1 0 0 0 1 0 0 3.14 1 0 0 6.28 0 1 0 0 0 1 0 3.14 0 1 0 6.28 0 0 1 0 0 0 1 3.14 0 0 1 6.28'/> <ROUTE fromnode="klick" fromfield="touchtime" tonode="zeit tofield="starttime" /> <ROUTE fromnode="zeit" fromfield="fraction_changed" tonode="drehen" tofield="set_fraction"/> <ROUTE fromnode="drehen" fromfield="value_changed" tonode="figur" tofield="set_rotation" /> </Scene> </X3D> Sensor http://www-lehre.inf.uos.de/~cg/2016/x3d/sensor.html 16

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd"> <X3D> Audio <Scene> <Transform> <Box/> <Material diffusecolor ="1 0 0" /> <Sound location="0 0 0" direction="0 0 1" maxfront="100" minfront="10"> <AudioClip loop="true" url="medien/loop.wav"/> </Sound> </Scene> </X3D> http://www-lehre.inf.uos.de/~cg/2016/x3d/audio.html 17

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd"> <X3D> <Viewpoint description="start" position="0 0 20"/> <Scene> <Transform translation="0 0 0"> <Box size="16 9 0.2"/> <MovieTexture DEF="Film" url="medien/happy-feet.mov" /> <Transform translation="0-6 0"> <Box size="16 1 0.2"/> <Material diffusecolor="0.04 0.38 0.75"/> <TouchSensor DEF="Knopf" description="bitte klicken!"/> <ROUTE fromfield='touchtime' fromnode="knopf" tofield='starttime' tonode="film"/> </Scene> </X3D> Video.../X3D/movie texture.html http://www-lehre.inf.uos.de/~cg/2016/x3d/video.html 18

Google SketchUp 2000: @last software 2006: Google Schwerpunkte: Architektur Modellieren in 3D Zusammenspiel mit Google Earth http://www.sketchup.com/de/download 19

Google Earth 20

Keyhole Markup Language (KML) <?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://earth.google.com/kml/2.2"> <Placemark> <name>osnabrücker Schloss</name> <description> Dies ist der Innenhof des Osnabrücker Schlosses </description> <Point> <coordinates> 8.044, 52.2716,0 </coordinates> </Point> </Placemark> </kml> http://www-lehre.inf.uos.de/~cg/2016/google/kml.html 21

Google Earth API http://www-lehre.inf.uos.de/~cg/2016/google/alles.html 22

<?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Placemark> <name>schloss</name> <description>hier steht das Schloss</description> KML <Style> <LineStyle> <color>ff00ff00</color> <width>6</width> </LineStyle> </Style> <LineString> <coordinates> 8.0432,52.271,0 8.0452,52.271,0 8.0452,52.272,0 8.0432,52.272,0 8.0432,52.271,0 </coordinates> </LineString> </Placemark> </Document> </kml> http://www-lehre.inf.uos.de/~cg/2016/google/linestring.kml 23

Microsoft Photosynth http://labs.live.com/photosynth 24