<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive'  version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd ' >
<head>
<meta name='titlecontent='RoboBill.x3d'/>
<meta name='descriptioncontent="RoboBill is a Robot Billboard that illustrates the use of Group, Transform, and Billboard groups - navigate around, here's looking at you! The left robot's head rotates in the horizontal plane, the right robot's head rotates in any direction."/>
<meta name='creatorcontent='David R. Nadeau'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='1 July 1998'/>
<meta name='translatedcontent='2 February 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent='originals/robobill.wrl'/>
<meta name='referencecontent=' http://www.siggraph.org/s98 '/>
<meta name='referencecontent=' http://www.siggraph.org/s98/conference/courses/18.html '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0093.htm '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/RoboBill.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Index for DEF nodes: Entry, RoboBody, RoboHead, Slab

Index for Viewpoint node: Entry
-->
<Scene>
<!-- Two robots are built with their heads in Billboard groups, but their torsos left out of it. As the viewer walks about the robot, the heads always turn to face the viewer. The left robot's head is constrained to rotate about the Y axis, while the right robot's head can rotate freely. -->
<!-- To make it clear what is, and is not moving to track the viewer, the torso of the robot remains fixed, as does a background of blue slabs. -->
<!-- Things to experiment with: -->
<!-- Place the entire robot in the Billboard group so that the whole robot tracks the viewer, not just the robot's head. -->
<!-- Add textures to the environment. -->
<!-- Add light sources, such as one placed in the lower ball of the robot. Make that ball emissive as well so that it looks like the ball is the source of light. Remember to put the light source inside the robot's transform group so that as the robot moves, the light source moves with it. -->
<!-- Add behavior to the robot. Make it move on its own! -->
<!-- -->
<WorldInfo info='"Copyright (c) 1998, David R. Nadeau"title='Robot Billboard'/>
<Viewpoint DEF='Entrydescription='Entry viewposition='0.0 3.0 12.0'/>
<NavigationInfo/>
<Background/>
<Transform scale='2.0 2.0 2.0translation='-2.0 1.0 0.0'> </Transform>
<Transform scale='2.0 2.0 2.0translation='2.0 1.0 0.0'>
<Inline USE=' RoboBody'/>
<Transform translation='0.0 1.4 0.0'>
<Billboard axisOfRotation='0.0 0.0 0.0'>
<Inline USE=' RoboHead'/>
</Billboard>
</Transform>
</Transform>
<Transform translation='0.0 2.0 -6.0'>
<Shape DEF='Slab'>
<Appearance>
<Material diffuseColor='0.0 0.1 0.5emissiveColor='0.0 0.3 0.5'/>
</Appearance>
<Box size='2.0 4.0 0.3'/>
</Shape>
</Transform>
<Transform translation='-6.0 2.0 0.0'>
<Shape USE=' Slab'/>
</Transform>
<Transform translation='6.0 2.0 0.0'>
<Shape USE=' Slab'/>
</Transform>
<Transform translation='-4.3 2.0 -4.3'>
<Shape USE=' Slab'/>
</Transform>
<Transform translation='4.3 2.0 -4.3'>
<Shape USE=' Slab'/>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF nodes: Entry, RoboBody, RoboHead, Slab

Index for Viewpoint node: Entry
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/RoboBillIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/RoboBill.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->