<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Demo: XML3D -Interactive 3D Graphics for the Web</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Kristian</forename><surname>Sons</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Philipp Slusallek DFKI Saarbrücken</orgName>
								<address>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Dfki</forename><surname>Saarbrücken</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Philipp Slusallek DFKI Saarbrücken</orgName>
								<address>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><surname>Germany</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Philipp Slusallek DFKI Saarbrücken</orgName>
								<address>
									<country key="DE">Germany</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Demo: XML3D -Interactive 3D Graphics for the Web</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">CAA65D5B7E736852D6C458B396F2F087</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-23T21:04+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>I.3.6 [Methodology and Techniques]: Standards-Languages; I.3.7 [Computer Graphics]: Three-Dimensional Graphics and Realism-Virtual Reality HTML5</term>
					<term>CSS3</term>
					<term>XML3D</term>
					<term>WebGL</term>
					<term>DOM</term>
					<term>Web Integration</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>XML3D is a extension to HTML5 to support interactive 3D graphics in the Browser. XML3D is designed to integrate and inter-operate well with ubiquitous W3C standards such as DOM, CSS, and others. Embedding XML3D into this family of standards brings many benefits: It allows millions of exiting web programmers to directly apply their existing knowledge also to interactive 3D graphics. The XML3D proposal and its implementations serve as a demonstrator platform for the W3C Community Group "Declarative 3D for the Web Architecture". In this demo description, we present a selection of features of XML3D, that demonstrate the advantages of a web-based declarative approach to 3D graphics.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">INTRODUCTION</head><p>Within the proposed demo we would like to demonstrate XML3D <ref type="bibr" target="#b2">[3]</ref> and the XML3D implementations. In all demos, the 3D scene description is embedded inside an XHTML web page and thus available in the DOM. This means, the scene is fully modifiable through the DOM. All interaction with the scene are performed using DOM manipulation, DOM Events and JavaScript.</p><p>An important design question is why we decided to design a new description rather than using an existing format. Only few platform and rendering independent 3D description exist. The probably most well-known is X3D, the successor of VRML. Though there is an integration model into HTML via plug-ins, the development of VRML/X3D and Copyright c 2012 for the individual papers by the papers' authors. Copy- ing permitted only for private and academic purposes. This volume is published and copyrighted by its editors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dec3D2012 workshop at WWW2012, Lyon, France</head><p>Web Technologies such as HTML, DOM and CSS was autonomous. Thus X3D comes with its own run-time and event model and includes concepts unknown in the DOM/HTML world. A possible approach to these problems is to streamline X3D and to extend it with features such as event attributes and CSS. This has been shown in <ref type="bibr" target="#b0">[1]</ref>.</p><p>The pervasiveness of HTML, CSS and DOM technologies is much higher than for any 3D graphics format. That's the main reason why we rated the compatibility to HTML and CSS higher than backwards compatibility to a specific existing format.</p><p>Recently two low-level graphics APIs for the Web popped up, namely WebGL and Stage3D, which provide a wide spread of 3D capabilities in the Browser. However, opposed to a declarative approach, it's not possible to develop 3D web application without a basic understanding of the rasterization pipeline. In our demos we want to show the similarity in developing a XML3D enhanced web application compared to standard web development.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">DEMOS</head><p>In the following section we will describe a selection of demos that demonstrate the capabilities of XML3D. The focus for the selection was integration into HTML, interaction methods, debugging of 3D scenes and building Mash-ups. The demos are online at http://www.xml3d.org/.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Integration and Interaction</head><p>The first simple demo is a XML3D scene integrated into a HTML5 web page. It shows a Rubik's cube (s. Figure <ref type="figure" target="#fig_0">1</ref>). The 3D geometry is described using the XML3D format. It was exported from a 3D modeling application. To integrate this XML3D export into a web page, the web author has just to copy the content into an exiting web page. To add interaction to this scene, the author can e.g. add onmouseover and onmouseout event attributes to the groups or meshes in the scene and execute some arbitrary JavaScript code. The example shows highlighting of the faces changing material attributes. The faces are also configured with onclick attributes. If the users clicks on a face of the cube, a direction selection widget is made visible and positioned in the right place. Then again, this widgets has event listeners to finally start rotating one layer of the cube via an animation.</p><p>All these actions are simple DOM manipulation tasks and do not require a deep understanding of the 3D graphics pipeline, shaders etc. The DOM manipulations tasks can even be simplified using libraries such as jQuery. This demo uses the JS/WebGL implementation of XML3D and runs in every WebGL-capable Browser.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Rendering independence and Debugging of scenes</head><p>The second demo shows three aspects of XML3D: At first, XML3D is not tied to a certain graphics API. For the demo, we use our native XML3D implementation, a modified version of the Chromium Browser that supports OpenGL rendering as well as real-time ray tracing to display the interactive Virtual Museum scene.</p><p>Debugging of 3D scenes is still a major issue in all visualization systems. In the native implementations of XML3D, we can use the development tools that come with the Browser to debug the scene. We use the Inspector to select an object in the 3D scene and the inspector highlights the representation in the DOM. It also possible can (de)activate CSS assignments interactively. Web developers can debug their 3D web application using the tools they already know from standard web development. Again, this is possible because XML3D is integrated so tight into HTML and and related technologies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Drag and drop and Textures from crossdomains</head><p>In the same demo scene, we show that drag and drop is supported in XML3D. The usage is in the same way as web developer know it from standard HTML elements. We show this by dropping an image from a Google Image Search onto a XML3D group with an ondrop event attribute. This changes the texture used by the assigned shader.</p><p>This action shows another feature of declarative approaches:</p><p>We have the possibility to use predefined materials. This disables the possibility to read the foreign image from a script using a timing attack. This is an advantage compared to imperative approaches such as WebGL, disallowing usage of cross-domain elements as textures respectively requires CORS approval.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Mash-ups and Semantics</head><p>The third demo shows, how HTML, XML3D, and XML-HttpRequest are used in combination with a RESTful web service to visualize data from external sources. Each country in the 3D world map is named by it's ISO country code.</p><p>The user can get the full English country name by hovering over the country, again using simple onmouseover and onmouseout events in combination with jQuery UI pop-ups.</p><p>The user can select a topic, an indicator and a time range from three selection menus. These menus are populated dynamically by querying the World Bank database for available data sets. Once the user has selected a data set, the World Bank is queried for the data sets for all available countries. The result is displayed by adapting the height of the countries and their color.</p><p>Information visualization is a good use-case for declarative 3D. Often, no real, but pseudo-3D is required for a good representation of the data. But the development of such visualizations is often easier using real 3D data, because then the projection to 2D is automatically correct.</p><p>In this simple demo, the XML3D elements in the DOM are hard-wired with the database entries from the World Bank using the ISO country codes. Imagine using RDFa to annotate the geometry representation of the countries. Combining semantic Web technologies and semantic services with XML3D has already been done in ISReal <ref type="bibr" target="#b1">[2]</ref>.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Interactive Rubik's cube embedded in HTML (left), 3D world map displaying data from the World Bank database (middle), and debugging a 3D scene using standard web development tools (right).</figDesc></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">X3DOM: a DOM-based HTML5/X3D integration model</title>
		<author>
			<persName><forename type="first">Johannes</forename><surname>Behr</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Peter</forename><surname>Eschler</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Yvonne</forename><surname>Jung</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Michael</forename><surname>Zöllner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 14th International Conference on 3D Web Technology, Web3D &apos;09</title>
				<meeting>the 14th International Conference on 3D Web Technology, Web3D &apos;09<address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="2009">2009</date>
			<biblScope unit="page" from="127" to="135" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">ISReal: An open platform for semantic-based 3D simulations in the 3D Internet</title>
		<author>
			<persName><forename type="first">Patrick</forename><surname>Kapahnke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Pascal</forename><surname>Liedtke</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Stefan</forename><surname>Nesbigall</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Stefan</forename><surname>Warwas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Matthias</forename><surname>Klusch</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 9th international semantic web conference on The semantic web -Volume Part II, ISWC&apos;10</title>
				<meeting>the 9th international semantic web conference on The semantic web -Volume Part II, ISWC&apos;10<address><addrLine>Berlin, Heidelberg</addrLine></address></meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="2010">2010</date>
			<biblScope unit="page" from="161" to="176" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">XML3D: Interactive 3D Graphics for the Web</title>
		<author>
			<persName><forename type="first">Kristian</forename><surname>Sons</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Felix</forename><surname>Klein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Dmitri</forename><surname>Rubinstein</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Sergiy</forename><surname>Byelozyorov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Philipp</forename><surname>Slusallek</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 15th International Conference on Web 3D Technology, Web3D &apos;10</title>
				<meeting>the 15th International Conference on Web 3D Technology, Web3D &apos;10<address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>ACM</publisher>
			<date type="published" when="2010">2010</date>
			<biblScope unit="page" from="175" to="184" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
