1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <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'> |
4 | <head> |
5 | <component level='3' name='EnvironmentalEffects'/> |
6 | <meta name='title' content='TextureBackgroundExample.x3d'/> |
7 | <meta name='description' content='Simple TextureBackground node with images only.'/> |
8 | <meta name='creator' content='Don Brutzman'/> |
9 | <meta name='created' content='20 April 2009'/> |
10 | <meta name='modified' content='18 December 2023'/> |
11 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironment/BackgroundImagesOnly.x3d'/> |
12 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/TestImages.x3d'/> |
13 | <meta name='subject' content='X3D TextureBackground example'/> |
14 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter11LightingEnvironmentalEffects/TextureBackgroundExample.x3d'/> |
15 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
16 | <meta name='license' content='../license.html'/> |
17 | </head> |
18 | <Scene> |
19 | <WorldInfo title='TextureBackgroundExample.x3d'/> |
20 | <TextureBackground> |
21 | <ImageTexture containerField='leftTexture' url=' "images/left.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/left.png " '/> |
22 | <ImageTexture containerField='rightTexture' url=' "images/right.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/right.png " '/> |
23 | <ImageTexture containerField='frontTexture' url=' "images/front.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/front.png " '/> |
24 | <ImageTexture containerField='backTexture' url=' "images/back.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/back.png " '/> |
25 | <ImageTexture containerField='topTexture' url=' "images/top.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/top.png " '/> |
26 | <ImageTexture containerField='bottomTexture' url=' "images/bottom.png " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/images/bottom.png " '/> |
27 | </TextureBackground> |
28 | <Shape> |
29 | <Text string='"TextureBackground node using" "ImageTexture nodes" "Look around to see all six sides"'> |
30 | <FontStyle justify='"MIDDLE" "MIDDLE"' style='BOLD'/> |
31 | </Text> |
32 | <Appearance> |
33 | <Material diffuseColor='1 1 1'/> |
34 | </Appearance> |
35 | </Shape> |
36 | </Scene> |
37 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
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. -->