| 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='Interchange' 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 | <meta name='title' content=' X3d4Cube.x3d '/> |
| 6 | <meta name='creator' content='Don Brutzman'/> |
| 7 | <meta name='creator' content='Anita Havele'/> |
| 8 | <meta name='created' content='30 September 2020'/> |
| 9 | <meta name='modified' content='30 September 2020'/> |
| 10 | <meta name='description' content='Provides a cube-shaped model with interesting theme words for the Box of X3D Blog!'/> |
| 11 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/CubeWithLabeledSides.x3d '/> |
| 12 |
<meta name='Image' content='logo/X3d4CubeImages.png' />
|
| 13 | <meta name='drawing' content='logo/X3d4CubeImages.vsd'/> |
| 14 | <meta name='drawing' content='https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/TestBoxImages.vsd'/> |
| 15 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/X3d4Cube.x3d '/> |
| 16 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 17 | <meta name='license' content='../license.html'/> |
| 18 | </head> |
| 19 | <Scene> |
| 20 | <WorldInfo title='X3d4Cube.x3d'/> |
| 21 | <Background skyColor='0.05 0.05 0.1'/> |
| 22 | <Group> |
| 23 | <Viewpoint description='Front view' orientation='0 1 0 1.57' position='8 0 0'/> |
| 24 | <Shape DEF='Front'> |
| 25 | <IndexedFaceSet coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
| 26 | |
| 27 | |
| 28 | </IndexedFaceSet> |
| 29 | <Appearance> |
| 30 |
<ImageTexture
url=' "logo/frontGlTF.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/frontGlTF.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/frontGlTF.png
" '/>
|
| 31 | <!-- Possible variation: experiment with indices to as alternative to TextureTransform rotations --> |
| 32 |
<!-- TextureTransform
RotateRight is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <TextureTransform DEF='RotateRight' rotation='-1.57'/> |
| 33 | </Appearance> |
| 34 | </Shape> |
| 35 | <Viewpoint description='Back view' orientation='0 1 0 -1.57' position='-8 0 0'/> |
| 36 | <Shape DEF='Back'> |
| 37 | <IndexedFaceSet coordIndex='7 6 5 4' texCoordIndex='0 1 2 3'> |
| 38 | <Coordinate USE='Points'/> |
| 39 | <TextureCoordinate USE='DefaultTextureCoordinate'/> |
| 40 | </IndexedFaceSet> |
| 41 | <Appearance> |
| 42 |
<ImageTexture
url=' "logo/backWebGL.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/backWebGL.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/backWebGL.png
" '/>
|
| 43 | <TextureTransform USE='RotateRight'/> |
| 44 | </Appearance> |
| 45 | </Shape> |
| 46 | <Viewpoint description='Left view' orientation='0 1 0 3.1416' position='0 0 -8'/> |
| 47 | <Shape DEF='Left'> |
| 48 | <IndexedFaceSet coordIndex='3 2 6 7' texCoordIndex='0 1 2 3'> |
| 49 | <Coordinate USE='Points'/> |
| 50 | <TextureCoordinate USE='DefaultTextureCoordinate'/> |
| 51 | </IndexedFaceSet> |
| 52 | <Appearance> |
| 53 |
<ImageTexture
url=' "logo/leftHTML5.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/leftHTML5.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/leftHTML5.png
" '/>
|
| 54 | <TextureTransform USE='RotateRight'/> |
| 55 | </Appearance> |
| 56 | </Shape> |
| 57 | <Viewpoint description='Right view' position='0 0 8'/> |
| 58 | <Shape DEF='Right'> |
| 59 | <IndexedFaceSet coordIndex='0 4 5 1' texCoordIndex='0 1 2 3'> |
| 60 | <Coordinate USE='Points'/> |
| 61 | <TextureCoordinate USE='DefaultTextureCoordinate'/> |
| 62 | </IndexedFaceSet> |
| 63 | <Appearance> |
| 64 |
<ImageTexture
url=' "logo/rightWebAudio.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/rightWebAudio.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/rightWebAudio.png
" '/>
|
| 65 | |
| 66 | </Appearance> |
| 67 | </Shape> |
| 68 | <Viewpoint description='Top view' orientation='1 0 0 -1.57' position='0 8 0'/> |
| 69 | <Shape DEF='Top'> |
| 70 | <IndexedFaceSet coordIndex='0 3 7 4' texCoordIndex='0 1 2 3'> |
| 71 | <Coordinate USE='Points'/> |
| 72 | <TextureCoordinate USE='DefaultTextureCoordinate'/> |
| 73 | </IndexedFaceSet> |
| 74 | <Appearance> |
| 75 |
<ImageTexture
url=' "logo/topX3D4.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/topX3D4.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/topX3D4.png
" '/>
|
| 76 | <TextureTransform DEF='RotateLeft' rotation='1.57'/> |
| 77 | </Appearance> |
| 78 | </Shape> |
| 79 | <Viewpoint description='Bottom view' orientation='1 0 0 1.57' position='0 -8 0'/> |
| 80 | <Shape DEF='Bottom'> |
| 81 | <IndexedFaceSet coordIndex='1 5 6 2' texCoordIndex='0 1 2 3'> |
| 82 | <Coordinate USE='Points'/> |
| 83 | <TextureCoordinate USE='DefaultTextureCoordinate'/> |
| 84 | </IndexedFaceSet> |
| 85 | <Appearance> |
| 86 |
<ImageTexture
url=' "logo/bottomJoinWeb3D.png
" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/bottomJoinWeb3D.png
" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/bottomJoinWeb3D.png
" '/>
|
| 87 | <TextureTransform USE='Rotate180'/> |
| 88 | </Appearance> |
| 89 | </Shape> |
| 90 | </Group> |
| 91 | </Scene> |
| 92 | </X3D> |
<!--
Color-coding 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.
-->