| 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 | <meta name='title' content=' Primitives.x3d '/> |
| 6 | <meta name='description' content='The Primitives on Pedestals scene highlights the geometry primitives, placing each one above a Gothic pedestal. Of note is that the pedestal itself is built using only the geometry primitive nodes.'/> |
| 7 | <meta name='creator' content='David R. Nadeau'/> |
| 8 | <meta name='translator' content='Don Brutzman'/> |
| 9 | <meta name='created' content='1 July 1998'/> |
| 10 | <meta name='translated' content='2 February 2014'/> |
| 11 | <meta name='modified' content='20 October 2019'/> |
| 12 |
<meta name='Image' content='Primitives.png' />
|
| 13 | <meta name='reference' content=' Pedestal.x3d '/> |
| 14 | <meta name='reference' content='originals/prim.wrl'/> |
| 15 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
| 16 | <meta name='reference' content=' http://www.siggraph.org/s98/conference/courses/18.html '/> |
| 17 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0030.htm '/> |
| 18 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/> |
| 19 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/> |
| 20 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Primitives.x3d '/> |
| 21 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 22 | <meta name='generator' content='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 23 | <meta name='license' content='../license.html'/> |
| 24 | </head> |
| 25 | <Scene> |
| 26 | <WorldInfo info='"Copyright (c) 1997, David R. Nadeau"' title='VRML Primitives'/> |
| 27 | <Viewpoint description='Entry view' orientation='0.0 1.0 0.0 0.52' position='5.0 1.6 8.0'/> |
| 28 | <NavigationInfo headlight='false' type='"WALK" "ANY"'/> |
| 29 | <Background skyAngle='1.37 1.57 1.77' skyColor='0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.5 0.0 0.0 0.0'/> |
| 30 | <PointLight ambientIntensity='0.2' color='0.7 0.7 0.7' location='0.0 8.0 10.0'/> |
| 31 | <Transform translation='-3.0 0.0 0.0'> |
| 32 |
<!-- Inline
Pedestal is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 --> <Inline DEF='Pedestal' url=' "Pedestal.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Pedestal.x3d" "Pedestal.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Pedestal.wrl" '/> |
| 33 | <Transform scale='0.375 0.375 0.375' translation='0.0 2.5 0.0'> |
| 34 | <Shape> |
| 35 | <Appearance> |
| 36 | <Material diffuseColor='1.0 0.2 0.2'/> |
| 37 | </Appearance> |
| 38 | <Box/> |
| 39 | </Shape> |
| 40 | </Transform> |
| 41 | </Transform> |
| 42 | <Transform translation='-1.0 0.0 0.0'> |
| 43 | <Inline USE='Pedestal'/> |
| 44 | <Transform scale='0.375 0.375 0.375' translation='0.0 2.5 0.0'> |
| 45 | <Shape> |
| 46 | <Appearance> |
| 47 | <Material diffuseColor='0.0 1.0 0.0'/> |
| 48 | </Appearance> |
| 49 | <Cone/> |
| 50 | </Shape> |
| 51 | </Transform> |
| 52 | </Transform> |
| 53 | <Transform translation='1.0 0.0 0.0'> |
| 54 | <Inline USE='Pedestal'/> |
| 55 | <Transform scale='0.375 0.375 0.375' translation='0.0 2.5 0.0'> |
| 56 | <Shape> |
| 57 | <Appearance> |
| 58 | <Material diffuseColor='0.0 0.8 1.0'/> |
| 59 | </Appearance> |
| 60 | <Cylinder/> |
| 61 | </Shape> |
| 62 | </Transform> |
| 63 | </Transform> |
| 64 | <Transform translation='3.0 0.0 0.0'> |
| 65 | <Inline USE='Pedestal'/> |
| 66 | <Transform scale='0.375 0.375 0.375' translation='0.0 2.5 0.0'> |
| 67 | <Shape> |
| 68 | <Appearance> |
| 69 | <Material diffuseColor='1.0 1.0 0.0'/> |
| 70 | </Appearance> |
| 71 | <Sphere/> |
| 72 | </Shape> |
| 73 | </Transform> |
| 74 | </Transform> |
| 75 | <Transform translation='5.0 0.0 0.0'> |
| 76 | <Inline USE='Pedestal'/> |
| 77 | <Transform scale='0.375 0.375 0.375' translation='0.0 2.2 0.0'> |
| 78 | <Shape> |
| 79 | <Appearance> |
| 80 | <Material diffuseColor='1.0 1.0 1.0'/> |
| 81 | </Appearance> |
| 82 | <Text string='"Text"'> |
| 83 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='2.0' style='BOLD'/> |
| 84 | </Text> |
| 85 | </Shape> |
| 86 | </Transform> |
| 87 | </Transform> |
| 88 | <Shape> |
| 89 | <Appearance> |
| 90 | <TextureTransform scale='20.0 20.0'/> |
| 91 | <Material ambientIntensity='0.1'/> |
| 92 |
<ImageTexture
url=' "stone2.jpg
" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/stone2.jpg
" '/>
|
| 93 | </Appearance> |
| 94 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 -1'> |
| 95 | <Coordinate point='-10.0 0.0 10.0 10.0 0.0 10.0 10.0 0.0 -10.0 -10.0 0.0 -10.0'/> |
| 96 | </IndexedFaceSet> |
| 97 | </Shape> |
| 98 | </Scene> |
| 99 | </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.
-->