| 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=' GeometryPrimitiveNodes.x3d '/> |
| 6 | <meta name='description' content='Geometry Primitive Nodes: Shape, Box, Cone, Cylinder, Sphere, Text, FontStyle'/> |
| 7 | <meta name='creator' content='Don Brutzman'/> |
| 8 | <meta name='created' content='25 March 2005'/> |
| 9 | <meta name='modified' content='8 July 2023'/> |
| 10 | <meta name='hint' content='Default values have been added to geometry nodes for clarity, ordinarily default values are omitted following X3D Canonicalization (C14N).'/> |
| 11 | <meta name='rights' content='Copyright (c) Don Brutzman and Leonard Daly, 2005'/> |
| 12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter02GeometryPrimitives/GeometryPrimitiveNodes.x3d '/> |
| 13 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 14 | <meta name='license' content='../license.html'/> |
| 15 | </head> |
| 16 | <Scene> |
| 17 | <WorldInfo title='GeometryPrimitiveNodes.x3d'/> |
| 18 | <Transform translation='-5 0 0'> |
| 19 | <Shape DEF='DefaultShape'> |
| 20 | <Box DEF='DefaultBox'/> |
| 21 | <Appearance> |
| 22 | <Material diffuseColor='1 0.2 0.2'/> |
| 23 | </Appearance> |
| 24 | </Shape> |
| 25 | </Transform> |
| 26 | <Transform translation='-2.5 0 0'> |
| 27 | <Shape> |
| 28 | <Cone DEF='DefaultCone'/> |
| 29 | <Appearance> |
| 30 | <Material diffuseColor='0.2 1 0.2'/> |
| 31 | </Appearance> |
| 32 | </Shape> |
| 33 | </Transform> |
| 34 | <Transform> |
| 35 | <Shape> |
| 36 | <Cylinder DEF='DefaultCylinder'/> |
| 37 | <Appearance> |
| 38 | <Material diffuseColor='0.2 0.2 1'/> |
| 39 | </Appearance> |
| 40 | </Shape> |
| 41 | </Transform> |
| 42 | <Transform translation='2.5 0 0'> |
| 43 | <Shape> |
| 44 | <Sphere DEF='DefaultSphere'/> |
| 45 | <Appearance> |
| 46 | <Material diffuseColor='1 1 0.2'/> |
| 47 | </Appearance> |
| 48 | </Shape> |
| 49 | </Transform> |
| 50 | <Transform translation='4 0 0'> |
| 51 | <Shape> |
| 52 | <Text DEF='DefaultText' string='"hello" "X3D!"'> |
| 53 | <FontStyle DEF='DefaultFontStyle'/> |
| 54 | </Text> |
| 55 | <Appearance DEF='DefaultAppearance'> |
| 56 | <Material DEF='DefaultMaterial'/> |
| 57 | </Appearance> |
| 58 | </Shape> |
| 59 | </Transform> |
| 60 | </Scene> |
| 61 | </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.
-->