| 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=' WoodColor.x3d '/> |
| 6 | <meta name='description' content='Wood coloring: illustrate the use of material colors and a grayscale texture to colorize the texture as it is applied to a shape.'/> |
| 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='reference' content='originals/woodclr.wrl'/> |
| 13 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
| 14 | <meta name='reference' content=' http://www.siggraph.org/s98/conference/courses/18.html '/> |
| 15 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides//mt0271.htm '/> |
| 16 | <meta name='reference' content=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/> |
| 17 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/> |
| 18 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/WoodColor.x3d '/> |
| 19 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 20 | <meta name='generator' content='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 21 | <meta name='license' content='../license.html'/> |
| 22 | </head> |
| 23 | <Scene> |
| 24 | <WorldInfo title='WoodColor.x3d'/> |
| 25 | <Viewpoint description='Entry view' position='1.75 -0.25 6.0'/> |
| 26 | <NavigationInfo/> |
| 27 | <Shape> |
| 28 | <Appearance> |
| 29 | <Material diffuseColor='1.0 0.35 0.23'/> |
| 30 |
<!-- ImageTexture
wood is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 --> <ImageTexture DEF='wood' url=' "wood_g.jpg
" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/wood_g.jpg
" '/>
|
| 31 | </Appearance> |
| 32 | |
| 33 | <Coordinate point='0.0 1.0 0.0 0.0 0.0 0.0 1.1 0.0 0.0 1.1 1.0 0.0'/> |
| 34 | </IndexedFaceSet> |
| 35 | </Shape> |
| 36 | <Transform translation='1.25 0.0 0.0'> |
| 37 | <Shape> |
| 38 | <Appearance> |
| 39 | <Material diffuseColor='1.0 0.45 0.23'/> |
| 40 | <ImageTexture USE='wood'/> |
| 41 | </Appearance> |
| 42 | <IndexedFaceSet USE='square'/> |
| 43 | </Shape> |
| 44 | </Transform> |
| 45 | <Transform translation='2.5 0.0 0.0'> |
| 46 | <Shape> |
| 47 | <Appearance> |
| 48 | <Material diffuseColor='1.0 0.55 0.23'/> |
| 49 | <ImageTexture USE='wood'/> |
| 50 | </Appearance> |
| 51 | <IndexedFaceSet USE='square'/> |
| 52 | </Shape> |
| 53 | </Transform> |
| 54 | <Transform translation='0.0 -1.25 0.0'> |
| 55 | <Shape> |
| 56 | <Appearance> |
| 57 | <Material diffuseColor='1.0 0.65 0.53'/> |
| 58 | <ImageTexture USE='wood'/> |
| 59 | </Appearance> |
| 60 | <IndexedFaceSet USE='square'/> |
| 61 | </Shape> |
| 62 | </Transform> |
| 63 | <Transform translation='1.25 -1.25 0.0'> |
| 64 | <Shape> |
| 65 | <Appearance> |
| 66 | <Material diffuseColor='1.0 0.55 0.43'/> |
| 67 | <ImageTexture USE='wood'/> |
| 68 | </Appearance> |
| 69 | <IndexedFaceSet USE='square'/> |
| 70 | </Shape> |
| 71 | </Transform> |
| 72 | <Transform translation='2.5 -1.25 0.0'> |
| 73 | <Shape> |
| 74 | <Appearance> |
| 75 | <Material diffuseColor='1.0 0.55 0.53'/> |
| 76 | <ImageTexture USE='wood'/> |
| 77 | </Appearance> |
| 78 | <IndexedFaceSet USE='square'/> |
| 79 | </Shape> |
| 80 | </Transform> |
| 81 | </Scene> |
| 82 | </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.
-->