| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Interchange' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' GolfRange.x3d '/> |
| 6 | <meta name='description' content='Display two practice ranges for golf'/> |
| 7 | <meta name='creator' content='Ms Ng, Hwee Ping'/> |
| 8 | <meta name='created' content='6 September 2004'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/GolfRange.x3d '/> |
| 11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 12 | <meta name='license' content='../../license.html'/> |
| 13 | </head> |
| 14 | <Scene> |
| 15 | <WorldInfo title='GolfRange.x3d'/> |
| 16 | |
| 17 | <Transform translation='0 0 -10'> |
| 18 | <Shape> |
| 19 | <Box size='10 0.1 8'/> |
| 20 | <Appearance> |
| 21 | <Material diffuseColor='0.6 0 0' transparency='0.1'/> |
| 22 |
<ImageTexture
url=' "grass_1.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grass_1.jpg
" '/>
|
| 23 | </Appearance> |
| 24 | </Shape> |
| 25 | </Transform> |
| 26 | <Transform translation='0 3 -6'> |
| 27 |
<!-- Group
Golf_Gate_Breadth is a DEF node that has 1 USE node: USE_1 -->
<Group DEF='Golf_Gate_Breadth'> |
| 28 | <Shape> |
| 29 | <Appearance> |
| 30 | <!-- no material, use emissive texturing. Not really a video, just a .jpg image. --> |
| 31 |
<!-- ImageTexture
Grill_Material is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <ImageTexture DEF='Grill_Material' url=' "grill.png
" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grill.png
" '/>
|
| 32 | <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/> |
| 33 | </Appearance> |
| 34 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
| 35 | <Coordinate point='-5 -3 0.1 5 -3 0.1 5 3 0.1 -5 3 0.1'/> |
| 36 | <TextureCoordinate point='0 0 1 0 1 1 0 1'/> |
| 37 | </IndexedFaceSet> |
| 38 | </Shape> |
| 39 | |
| 40 | <Cylinder height='6' radius='0.1'/> |
| 41 | </Shape> |
| 42 | <Transform translation='-5 0 0'> |
| 43 | <Shape USE='Post'/> |
| 44 | </Transform> |
| 45 | <Transform translation='5 0 0'> |
| 46 | <Shape USE='Post'/> |
| 47 | </Transform> |
| 48 | </Group> |
| 49 | </Transform> |
| 50 | <Transform translation='0 3 -14'> |
| 51 | <Group USE='Golf_Gate_Breadth'/> |
| 52 | </Transform> |
| 53 | <Transform rotation='0 1 0 -1.57' translation='-5 3 -10'> |
| 54 | <Group DEF='Golf_Gate_Length'> |
| 55 | <Shape> |
| 56 | <Appearance> |
| 57 | <!-- no material, use emissive texturing. Not really a video, just a .jpg image. --> |
| 58 | <ImageTexture USE='Grill_Material'/> |
| 59 | <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/> |
| 60 | </Appearance> |
| 61 | <IndexedFaceSet DEF='Screen' solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
| 62 | <Coordinate point='-4 -3 0.1 4 -3 0.1 4 3 0.1 -4 3 0.1'/> |
| 63 | <TextureCoordinate point='0 0 1 0 1 1 0 1'/> |
| 64 | </IndexedFaceSet> |
| 65 | </Shape> |
| 66 | <Transform translation='-4 0 0'> |
| 67 | <Shape USE='Post'/> |
| 68 | </Transform> |
| 69 | <Transform translation='4 0 0'> |
| 70 | <Shape USE='Post'/> |
| 71 | </Transform> |
| 72 | <Transform translation='-2.5 0 0'> |
| 73 | <Shape USE='Post'/> |
| 74 | </Transform> |
| 75 | <Transform translation='2.5 0 0'> |
| 76 | <Shape USE='Post'/> |
| 77 | </Transform> |
| 78 | </Group> |
| 79 | </Transform> |
| 80 | <Transform rotation='1 0 0 1.57' translation='0 6 -10'> |
| 81 | <Group DEF='Golf_Gate_Top'> |
| 82 | <Shape> |
| 83 | <Appearance> |
| 84 | <!-- no material, use emissive texturing. Not really a video, just a .jpg image. --> |
| 85 | <ImageTexture USE='Grill_Material'/> |
| 86 | <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/> |
| 87 | </Appearance> |
| 88 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3' texCoordIndex='0 1 2 3'> |
| 89 | <Coordinate point='-5 -4 0.1 5 -4 0.1 5 4 0.1 -5 4 0.1'/> |
| 90 | <TextureCoordinate point='0 0 1 0 1 1 0 1'/> |
| 91 | </IndexedFaceSet> |
| 92 | </Shape> |
| 93 | </Group> |
| 94 | </Transform> |
| 95 | </Group> |
| 96 | <Transform translation='0 0 7'> |
| 97 | <Group USE='Range'/> |
| 98 | </Transform> |
| 99 | <Viewpoint description='Mini Golf Range' orientation='-0.154 0.966 0.207 1.9863' position='29.3 15.4 -16.6'/> |
| 100 | </Scene> |
| 101 | </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.
-->