<?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='Interchange'
version='3.3'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-3.3.xsd
'
>
<head>
</head>
<!--
-->
<Scene>
<!-- Seven slabs are created, each using a Box node. Each slab is shaded a different material: -->
<!-- Slab Diffuse Emissive Transparency; 1. White white black 0.0; 2. Red black red 0.0; 3. Green green black 0.5; 4. Blue blue white 0.25; 5. Yellow yellow black 0.5; 6. Cyan cyan black 0.0; 7. Magenta red magenta 0.0 -->
<!-- Some PC browsers may not support transparency. Others may not support shading using both diffuse and emissive colors. So, your results may vary. -->
<!-- Things to experiment with: -->
<!-- Try different transparency levels. -->
<!-- Turn off the headlight on your VRML browser and observe which slabs glow. -->
<WorldInfo info='"Copyright (c) 1996, David R. Nadeau"' title='Slab World'/>
<Viewpoint DEF='Entry' description='Entry view' position='0.0 1.66 15.0'/>
<NavigationInfo/>
<Transform translation='0.0 2.0 4.0'>
<Shape>
<Appearance>
<Material diffuseColor='1.0 1.0 1.0'/>
</Appearance>
<Box DEF='Slab' size='2.0 4.0 0.3'/>
</Shape>
</Transform>
<Transform translation='0.0 2.0 0.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.0 0.0 0.0' emissiveColor='1.0 0.0 0.0'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
<Transform translation='-3.0 2.0 2.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.0 1.0 0.0' transparency='0.5'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
<Transform translation='4.0 2.0 -2.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.2 0.2 0.2' emissiveColor='0.0 0.0 0.8' transparency='0.25'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
<Transform translation='4.5 2.0 3.0'>
<Shape>
<Appearance>
<Material diffuseColor='1.0 1.0 0.0' transparency='0.5'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
<Transform translation='-3.5 2.0 -5.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.0 1.0 1.0'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
<Transform translation='2.0 2.0 -6.0'>
<Shape>
<Appearance>
<Material diffuseColor='0.5 0.0 0.0' emissiveColor='0.5 0.0 0.5'/>
</Appearance>
<Box USE='
Slab'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/SlabsIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Slabs.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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->