X3D Model Documentation: AlphaBlendModeTest.x3d go to online X3D Example Archives model page

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.1//EN" "https://www.web3d.org/specifications/x3d-4.1.dtd">
  3  <X3D profile='Interchange' version='4.1'  xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.1.xsd'>
  4       <head>
  5            <component level='3' name='Lighting'/>
  6            <component level='2' name='Shape'/>
  7            <meta name='title' content=' AlphaBlendModeTest.x3d '/>
  8            <meta name='description' content='This model tests the various alpha modes available in glTF 2.0 rendering. There are three settings for alphaMode: "OPAQUE" (the default), "BLEND", and "MASK". Of these, "MASK" takes an additional alphaCutoff value that modifies it.'/>
  9            <meta name='created' content='17 July 2021'/>
 10            <meta name='modified' content='28 July 2026'/>
 11            <meta name='translator' content='Michalis Kamburelis'/>
 12            <meta name='reference' content='https://github.com/michaliskambi/x3d-tests/tree/master/gltf/alpha_blend_mode_test'/>
 13            <meta name='info' content='Modifying numerical precision to 4 decimal places reduced file size from 28KB to 20KB with no perceived change in visual quality.'/>
 14            <meta name='creator' content='Ed Mackey'/>
 15            <meta name='source' content='AlphaBlendModeTest.gltf'/>
 16            <meta name='reference' content='https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/AlphaBlendModeTest'/>
 17            <meta name='reference' content='https://khronos/gltf'/>
 18            <meta name='reference' content='https://en.wikipedia.org/glTF'/>
 19            <meta name='reference' content='https://www.web3d.org/x3d4'/>
 20            <meta name='specificationSection' content='X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 12 Shape component, 12.4.2 Appearance'/>
 21            <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/shape.html#Appearance'/>
 22            <meta name='specificationSection' content='X3D 4.0 Architecture, ISO/IEC 19775-1:2023, clause 12 Shape component, Table 12.4 - Shape component support levels'/>
 23            <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/shape.html#t-supportLevels'/>
 24            <meta name='reference' content='https://castle-engine.io/creating_data_model_formats.php#section_gltf'/>
 25            <meta name='generator' content='view3dscene, https://castle-engine.io/view3dscene.php'/>
 26            <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 27            <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendModeTest.x3d '/>
 28            <meta name='license' content=' https://www.web3d.org/x3d/content/examples/license.html '/>
 29       </head>
<!--

Event Graph ROUTE Table shows event connections.

Index for EXPORT statements: EXPORT_GreenArrowsMesh, EXPORT_DecalBlendMesh, EXPORT_DecalOpaqueMesh, EXPORT_TestCutoff75Mesh, EXPORT_TestCutoffDefaultMesh, EXPORT_TestCutoff25Mesh, EXPORT_TestBlendMesh, EXPORT_TestOpaqueMesh, EXPORT_BedMesh, EXPORT_MatBed, EXPORT_MatBlend, EXPORT_MatCutoff25, EXPORT_MatCutoff75, EXPORT_MatCutoffDefault, EXPORT_MatOpaque, EXPORT_Bed, EXPORT_DecalBlend, EXPORT_DecalOpaque, EXPORT_GreenArrows, EXPORT_TestBlend, EXPORT_TestCutoff25, EXPORT_TestCutoff75, EXPORT_TestCutoffDefault, EXPORT_TestOpaque

--> <!-- to top DEF nodes index: Bed, BedMesh, BedMesh_Primitive0, DecalBlend, DecalBlendMesh, DecalBlendMesh_Primitive0, DecalOpaque, DecalOpaqueMesh, DecalOpaqueMesh_Primitive0, GreenArrows, GreenArrowsMesh, GreenArrowsMesh_Primitive0, MatBed, MatBlend, MatCutoff25, MatCutoff75, MatCutoffDefault, MatOpaque, TestBlend, TestBlendMesh, TestBlendMesh_Primitive0, TestCutoff25, TestCutoff25Mesh, TestCutoff25Mesh_Primitive0, TestCutoff75, TestCutoff75Mesh, TestCutoff75Mesh_Primitive0, TestCutoffDefault, TestCutoffDefaultMesh, TestCutoffDefaultMesh_Primitive0, TestOpaque, TestOpaqueMesh, TestOpaqueMesh_Primitive0

-->
 30       <Scene>
 31            <WorldInfo title='AlphaBlendModeTest.x3d'/>
 32            <Group>
 33 
               <!-- This node has a corresponding EXPORT_GreenArrows statement to expose this Transform node to any external model that wants to Inline and then IMPORT GreenArrows. -->
               <Transform DEF='GreenArrows' translation='0.5 1.0682 0.005'>
 34 
                    <!-- This node has a corresponding EXPORT_GreenArrowsMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT GreenArrowsMesh. -->
                    <Group DEF='GreenArrowsMesh'>
 35                           <Shape DEF='GreenArrowsMesh_Primitive0' bboxCenter='1.545 0.0009 0' bboxSize='3.09 0.965 0'>
 36 
                              <!-- Appearance MatOpaque is a DEF node that has 2 USE nodes: USE_1, USE_2<!-- This node has a corresponding EXPORT_MatOpaque statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatOpaque. -->
                              <Appearance DEF='MatOpaque' alphaMode='OPAQUE'>
 37                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallic='0' roughness='0.8'>
 38                                          <ImageTexture containerField='baseTexture'   url=' "AlphaBlendLabels.png"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendLabels.png"image preview '/>
 39                                     </PhysicalMaterial>
 40                                </Appearance>
 41                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 3 4 5 6 7 8' normalPerVertex='true' solid='false' containerField='geometry'>
 42                                     <Coordinate point='1.5 0 0 1.59 -0.095 0 1.59 0.095 0 0 0.3884 0 0.09 0.2934 0 0.09 0.4834 0 3 -0.3866 0 3.09 -0.4816 0 3.09 -0.2916 0'/>
 43                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1'/>
 44                                     <Tangent vector='0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1 0.9998 -0.0175 0 1'/>
 45                                     <MultiTextureCoordinate containerField='texCoord'>
 46                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.8134 0.3877 0.8169 0.3842 0.8169 0.3913 0.8134 0.3877 0.8169 0.3842 0.8169 0.3913 0.8134 0.3877 0.8169 0.3842 0.8169 0.3913'/>
 47                                     </MultiTextureCoordinate>
 48                                </IndexedTriangleSet>
 49                           </Shape>
 50                      </Group>
 51                 </Transform>
 52 
               <!-- This node has a corresponding EXPORT_DecalBlend statement to expose this Transform node to any external model that wants to Inline and then IMPORT DecalBlend. -->
               <Transform DEF='DecalBlend' rotation='-1 0 0 0.9828' translation='0 0 0.409'>
 53 
                    <!-- This node has a corresponding EXPORT_DecalBlendMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT DecalBlendMesh. -->
                    <Group DEF='DecalBlendMesh'>
 54                           <Shape DEF='DecalBlendMesh_Primitive0' bboxCenter='-1.1 0 0.01' bboxSize='0.216 0.228 0'>
 55 
                              <!-- Appearance MatBlend is a DEF node that has 1 USE node: USE_1<!-- This node has a corresponding EXPORT_MatBlend statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatBlend. -->
                              <Appearance DEF='MatBlend' alphaMode='BLEND'>
 56                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallic='0' roughness='0.8'>
 57                                          <ImageTexture containerField='baseTexture'   url=' "AlphaBlendLabels.png"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendLabels.png"image preview '/>
 58                                     </PhysicalMaterial>
 59                                </Appearance>
 60                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
 61                                     <Coordinate point='-0.992 0.114 0.01 -1.208 -0.114 0.01 -0.992 -0.114 0.01 -1.208 0.114 0.01'/>
 62                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
 63                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
 64                                     <MultiTextureCoordinate containerField='texCoord'>
 65                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.9825 0.3375 0.8925 0.2425 0.9825 0.2425 0.8925 0.3375'/>
 66                                     </MultiTextureCoordinate>
 67                                </IndexedTriangleSet>
 68                           </Shape>
 69                      </Group>
 70                 </Transform>
 71 
               <!-- This node has a corresponding EXPORT_DecalOpaque statement to expose this Transform node to any external model that wants to Inline and then IMPORT DecalOpaque. -->
               <Transform DEF='DecalOpaque' rotation='-1 0 0 0.9828' translation='0 0 0.409'>
 72 
                    <!-- This node has a corresponding EXPORT_DecalOpaqueMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT DecalOpaqueMesh. -->
                    <Group DEF='DecalOpaqueMesh'>
 73                           <Shape DEF='DecalOpaqueMesh_Primitive0' bboxCenter='0 0 0.005' bboxSize='6.58 0.312 0.01'>
 74                                <Appearance USE='MatOpaque'/>
 75                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1 4 5 6 4 7 5 8 9 10 8 11 9 12 13 14 12 15 13 16 17 18 16 19 17 20 21 22 20 23 21 24 25 26 24 27 25 28 29 30 28 31 29' normalPerVertex='true' solid='false' containerField='geometry'>
 76                                     <Coordinate point='-0.992 0.114 -0 -1.208 -0.114 -0 -0.992 -0.114 -0 -1.208 0.114 -0 -2.492 0.114 -0 -2.708 -0.114 -0 -2.492 -0.114 -0 -2.708 0.114 -0 -2.492 0.114 0.01 -2.708 -0.114 0.01 -2.492 -0.114 0.01 -2.708 0.114 0.01 0.29 0.156 -0 -0.29 -0.156 -0 0.29 -0.156 -0 -0.29 0.156 -0 1.79 0.156 -0 1.21 -0.156 -0 1.79 -0.156 -0 1.21 0.156 -0 3.29 0.156 -0 2.71 -0.156 -0 3.29 -0.156 -0 2.71 0.156 -0 -1.21 0.156 -0 -1.79 -0.156 -0 -1.21 -0.156 -0 -1.79 0.156 -0 -2.71 0.156 -0 -3.29 -0.156 -0 -2.71 -0.156 -0 -3.29 0.156 -0'/>
 77                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1'/>
 78                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
 79                                     <MultiTextureCoordinate containerField='texCoord'>
 80                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.87 0.455 0.78 0.36 0.87 0.36 0.78 0.455 0.9825 0.455 0.8925 0.36 0.9825 0.36 0.8925 0.455 0.87 0.3375 0.78 0.2425 0.87 0.2425 0.78 0.3375 0.975 0.595 0.83 0.517 0.975 0.517 0.83 0.595 0.975 0.705 0.83 0.627 0.975 0.627 0.83 0.705 0.975 0.82 0.83 0.742 0.975 0.742 0.83 0.82 0.975 0.91 0.83 0.832 0.975 0.832 0.83 0.91 0.975 0.9802 0.83 0.9022 0.975 0.9022 0.83 0.9802'/>
 81                                     </MultiTextureCoordinate>
 82                                </IndexedTriangleSet>
 83                           </Shape>
 84                      </Group>
 85                 </Transform>
 86 
               <!-- This node has a corresponding EXPORT_TestCutoff75 statement to expose this Transform node to any external model that wants to Inline and then IMPORT TestCutoff75. -->
               <Transform DEF='TestCutoff75' translation='3 0 0'>
 87 
                    <!-- This node has a corresponding EXPORT_TestCutoff75Mesh statement to expose this Group node to any external model that wants to Inline and then IMPORT TestCutoff75Mesh. -->
                    <Group DEF='TestCutoff75Mesh'>
 88                           <Shape DEF='TestCutoff75Mesh_Primitive0' bboxCenter='0 1.035 0' bboxSize='1.1 1.87 0'>
 89 
                              <!-- This node has a corresponding EXPORT_MatCutoff75 statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatCutoff75. -->
                              <Appearance DEF='MatCutoff75' alphaCutoff='0.75' alphaMode='MASK'>
 90                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallic='0' roughness='0.8'>
 91                                          <ImageTexture containerField='baseTexture'   url=' "AlphaBlendLabels.png"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendLabels.png"image preview '/>
 92                                     </PhysicalMaterial>
 93                                </Appearance>
 94                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
 95                                     <Coordinate point='0.55 1.97 0 -0.55 0.1 0 0.55 0.1 0 -0.55 1.97 0'/>
 96                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
 97                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
 98                                     <MultiTextureCoordinate containerField='texCoord'>
 99                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.675 0.95 0.125 0.015 0.675 0.015 0.125 0.95'/>
100                                     </MultiTextureCoordinate>
101                                </IndexedTriangleSet>
102                           </Shape>
103                      </Group>
104                 </Transform>
105 
               <!-- This node has a corresponding EXPORT_TestCutoffDefault statement to expose this Transform node to any external model that wants to Inline and then IMPORT TestCutoffDefault. -->
               <Transform DEF='TestCutoffDefault' translation='1.5 0 0'>
106 
                    <!-- This node has a corresponding EXPORT_TestCutoffDefaultMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT TestCutoffDefaultMesh. -->
                    <Group DEF='TestCutoffDefaultMesh'>
107                           <Shape DEF='TestCutoffDefaultMesh_Primitive0' bboxCenter='0 1.035 0' bboxSize='1.1 1.87 0'>
108 
                              <!-- This node has a corresponding EXPORT_MatCutoffDefault statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatCutoffDefault. -->
                              <Appearance DEF='MatCutoffDefault' alphaMode='MASK'>
109                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallic='0' roughness='0.8'>
110                                          <ImageTexture containerField='baseTexture'   url=' "AlphaBlendLabels.png"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendLabels.png"image preview '/>
111                                     </PhysicalMaterial>
112                                </Appearance>
113                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
114                                     <Coordinate point='0.55 1.97 0 -0.55 0.1 0 0.55 0.1 0 -0.55 1.97 0'/>
115                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
116                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
117                                     <MultiTextureCoordinate containerField='texCoord'>
118                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.675 0.95 0.125 0.015 0.675 0.015 0.125 0.95'/>
119                                     </MultiTextureCoordinate>
120                                </IndexedTriangleSet>
121                           </Shape>
122                      </Group>
123                 </Transform>
124 
               <!-- This node has a corresponding EXPORT_TestCutoff25 statement to expose this Transform node to any external model that wants to Inline and then IMPORT TestCutoff25. -->
               <Transform DEF='TestCutoff25'>
125 
                    <!-- This node has a corresponding EXPORT_TestCutoff25Mesh statement to expose this Group node to any external model that wants to Inline and then IMPORT TestCutoff25Mesh. -->
                    <Group DEF='TestCutoff25Mesh'>
126                           <Shape DEF='TestCutoff25Mesh_Primitive0' bboxCenter='0 1.035 0' bboxSize='1.1 1.87 0'>
127 
                              <!-- This node has a corresponding EXPORT_MatCutoff25 statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatCutoff25. -->
                              <Appearance DEF='MatCutoff25' alphaCutoff='0.25' alphaMode='MASK'>
128                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallic='0' roughness='0.8'>
129                                          <ImageTexture containerField='baseTexture'   url=' "AlphaBlendLabels.png"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendLabels.png"image preview '/>
130                                     </PhysicalMaterial>
131                                </Appearance>
132                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
133                                     <Coordinate point='0.55 1.97 0 -0.55 0.1 0 0.55 0.1 0 -0.55 1.97 0'/>
134                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
135                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
136                                     <MultiTextureCoordinate containerField='texCoord'>
137                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.675 0.95 0.125 0.015 0.675 0.015 0.125 0.95'/>
138                                     </MultiTextureCoordinate>
139                                </IndexedTriangleSet>
140                           </Shape>
141                      </Group>
142                 </Transform>
143 
               <!-- This node has a corresponding EXPORT_TestBlend statement to expose this Transform node to any external model that wants to Inline and then IMPORT TestBlend. -->
               <Transform DEF='TestBlend' translation='-1.5 0 0'>
144 
                    <!-- This node has a corresponding EXPORT_TestBlendMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT TestBlendMesh. -->
                    <Group DEF='TestBlendMesh'>
145                           <Shape DEF='TestBlendMesh_Primitive0' bboxCenter='0 1.035 0' bboxSize='1.1 1.87 0'>
146                                <Appearance USE='MatBlend'/>
147                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
148                                     <Coordinate point='0.55 1.97 0 -0.55 0.1 0 0.55 0.1 0 -0.55 1.97 0'/>
149                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
150                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
151                                     <MultiTextureCoordinate containerField='texCoord'>
152                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.675 0.95 0.125 0.015 0.675 0.015 0.125 0.95'/>
153                                     </MultiTextureCoordinate>
154                                </IndexedTriangleSet>
155                           </Shape>
156                      </Group>
157                 </Transform>
158 
               <!-- This node has a corresponding EXPORT_TestOpaque statement to expose this Transform node to any external model that wants to Inline and then IMPORT TestOpaque. -->
               <Transform DEF='TestOpaque' translation='-3 0 0'>
159 
                    <!-- This node has a corresponding EXPORT_TestOpaqueMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT TestOpaqueMesh. -->
                    <Group DEF='TestOpaqueMesh'>
160                           <Shape DEF='TestOpaqueMesh_Primitive0' bboxCenter='0 1.035 0' bboxSize='1.1 1.87 0'>
161                                <Appearance USE='MatOpaque'/>
162                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 0 3 1' normalPerVertex='true' solid='false' containerField='geometry'>
163                                     <Coordinate point='0.55 1.97 0 -0.55 0.1 0 0.55 0.1 0 -0.55 1.97 0'/>
164                                     <Normal vector='0 0 1 0 0 1 0 0 1 0 0 1'/>
165                                     <Tangent vector='1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1'/>
166                                     <MultiTextureCoordinate containerField='texCoord'>
167                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.675 0.95 0.125 0.015 0.675 0.015 0.125 0.95'/>
168                                     </MultiTextureCoordinate>
169                                </IndexedTriangleSet>
170                           </Shape>
171                      </Group>
172                 </Transform>
173 
               <!-- This node has a corresponding EXPORT_Bed statement to expose this Transform node to any external model that wants to Inline and then IMPORT Bed. -->
               <Transform DEF='Bed'>
174 
                    <!-- This node has a corresponding EXPORT_BedMesh statement to expose this Group node to any external model that wants to Inline and then IMPORT BedMesh. -->
                    <Group DEF='BedMesh'>
175                           <Shape DEF='BedMesh_Primitive0' bboxCenter='0 1.0998 -0.1' bboxSize='8.6 2.3995 1.3'>
176 
                              <!-- This node has a corresponding EXPORT_MatBed statement to expose this Appearance node to any external model that wants to Inline and then IMPORT MatBed. -->
                              <Appearance DEF='MatBed' alphaMode='OPAQUE'>
177                                     <PhysicalMaterial baseTextureMapping='TEXCOORD_0' metallicRoughnessTextureMapping='TEXCOORD_0' normalTextureMapping='TEXCOORD_0' occlusionTextureMapping='TEXCOORD_0'>
178                                          <ImageTexture containerField='normalTexture'   url=' "MatBed_normal.jpg"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/MatBed_normal.jpg"image preview '/>
179                                          <ImageTexture containerField='baseTexture'   url=' "MatBed_baseColor.jpg"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/MatBed_baseColor.jpg"image preview '/>
180                                          <ImageTexture containerField='metallicRoughnessTexture'   url=' "MatBed_occlusionRoughnessMetallic.jpg"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/MatBed_occlusionRoughnessMetallic.jpg"image preview '/>
181                                          <ImageTexture containerField='occlusionTexture'   url=' "MatBed_occlusionRoughnessMetallic.jpg"image preview "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/MatBed_occlusionRoughnessMetallic.jpg"image preview '/>
182                                     </PhysicalMaterial>
183                                </Appearance>
184                                <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 0 39 1 3 40 4 41 42 43 9 44 10 12 45 13 15 46 16 18 47 19 48 49 50 51 52 53 54 55 56 24 57 25 58 59 60 30 61 31 33 62 34 63 64 65 66 67 68 69 70 71' normalPerVertex='true' solid='true' containerField='geometry'>
185                                     <Coordinate point='-4.3 0.1 0.25 -4.3 -0.1 -0.75 -4.3 -0.1 0.55 -4.3 0.1 -0.75 4.3 -0.1 -0.75 -4.3 -0.1 -0.75 4.3 -0.1 -0.75 4.3 0.1 0.25 4.3 -0.1 0.55 4.3 0.1 0.25 -4.3 -0.1 0.55 4.3 -0.1 0.55 4.3 -0.1 -0.75 -4.3 -0.1 0.55 -4.3 -0.1 -0.75 -4.3 0.1 -0.75 4.3 0.1 0.25 4.3 0.1 -0.75 4.0566 2.2995 -0.5672 -4.0566 2.2995 -0.4672 4.0566 2.2995 -0.4672 -4.1881 0.0995 -0.5672 4.0566 2.2995 -0.5672 4.1881 0.0995 -0.5672 -4.1881 2.168 -0.5672 -4.1881 0.0995 -0.4672 -4.1881 2.168 -0.4672 4.1881 0.0995 -0.5672 4.1881 2.168 -0.4672 4.1881 0.0995 -0.4672 -4.0566 2.2995 -0.5672 -4.1881 2.168 -0.4672 -4.0566 2.2995 -0.4672 4.0566 2.2995 -0.4672 4.1881 2.168 -0.5672 4.0566 2.2995 -0.5672 4.1881 0.0995 -0.4672 -4.0566 2.2995 -0.4672 -4.1881 0.0995 -0.4672 -4.3 0.1 -0.75 4.3 0.1 -0.75 4.3 -0.1 -0.75 4.3 0.1 -0.75 4.3 0.1 0.25 -4.3 0.1 0.25 4.3 -0.1 0.55 -4.3 0.1 0.25 -4.0566 2.2995 -0.5672 4.1881 2.168 -0.5672 4.1881 0.0995 -0.5672 4.0566 2.2995 -0.5672 -4.1881 0.0995 -0.5672 -4.1881 2.168 -0.5672 -4.0566 2.2995 -0.5672 -4.0566 2.2995 -0.5672 4.0566 2.2995 -0.5672 -4.1881 0.0995 -0.5672 -4.1881 0.0995 -0.5672 4.1881 0.0995 -0.5672 4.1881 2.168 -0.5672 4.1881 2.168 -0.4672 -4.1881 2.168 -0.5672 4.1881 2.168 -0.4672 -4.1881 2.168 -0.4672 -4.1881 0.0995 -0.4672 -4.0566 2.2995 -0.4672 4.1881 0.0995 -0.4672 4.1881 2.168 -0.4672 4.0566 2.2995 -0.4672 4.0566 2.2995 -0.4672 -4.0566 2.2995 -0.4672 4.1881 0.0995 -0.4672'/>
186                                     <Normal vector='-1 0 0 -1 0 0 -1 0 0 0 0 -1 0 0 -1 0 0 -1 1 0 0 1 0 0 1 0 0 0 0.8321 0.5547 0 0.8321 0.5547 0 0.8321 0.5547 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 0 0 -0.7071 0.7071 0 -0.7071 0.7071 0 -0.7071 0.7071 0 0.7071 0.7071 0 0.7071 0.7071 0 0.7071 0.7071 0 0 -0 1 0 -0 1 0 -0 1 -1 0 0 0 0 -1 1 0 0 1 0 0 1 0 0 0 0.8321 0.5547 0 -1 0 0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 -0 0 -1 -0 0 -1 -0 0 -1 0 0 -1 0 0 -1 0 0 -1 -1 0 0 1 0 0 1 0 0 1 0 0 -0.7071 0.7071 0 0.7071 0.7071 0 0 -0 1 0 -0 1 0 -0 1 -0 -0 1 -0 -0 1 -0 -0 1 0 -0 1 0 -0 1 0 -0 1'/>
187                                     <Tangent vector='0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 -0 1 0 -1 -0 1 0 -1 -0 1 0 0.5547 -0.8321 1 0 0.5547 -0.8321 1 0 0.5547 -0.8321 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 -1 -0 1 0 -1 -0 1 0 -1 -0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 -1 0 1 0 -1 0 1 0 -1 -0 1 0 -1 -0 1 0 -1 -0 1 0 0.5547 -0.8321 1 0 0 1 1 0 0 -1 1 0 0 -1 1 0 -1 -0 1 0 -1 -0 1 0 -1 -0 1 -0 -1 -0 1 -0 -1 -0 1 -0 -1 -0 1 -0 -1 -0 1 -0 -1 -0 1 -0 -1 -0 1 0 0 1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 0 0 -1 1 -0 1 0 1 -0 1 0 1 -0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 -0 1 0 1 -0 1 0 1 -0 1 0 1'/>
188                                     <MultiTextureCoordinate containerField='texCoord'>
189                                          <TextureCoordinate mapping='TEXCOORD_0' point='0.9717 0.1181 0.9974 0.0023 0.9974 0.1528 0.9229 0.9977 0.9486 0.0023 0.9486 0.9977 0.9974 0.3079 0.9717 0.1921 0.9974 0.1574 0.617 0.0023 0.5784 0.9977 0.5784 0.0023 0.7506 0.0023 0.9177 0.9977 0.7506 0.9977 0.7455 0.9977 0.617 0.0023 0.7455 0.0023 0.9666 0.0175 0.9537 0.9566 0.9537 0.0175 0.5733 0.9718 0.2905 0.0175 0.5733 0.0023 0.9717 0.5519 0.9846 0.3125 0.9846 0.5519 0.9846 0.5565 0.9717 0.7959 0.9717 0.5565 0.9666 0.9566 0.9537 0.9718 0.9537 0.9566 0.9537 0.0175 0.9666 0.0023 0.9666 0.0175 0.0026 0.0023 0.2853 0.9566 0.0026 0.9718 0.9717 0.0023 0.9229 0.0023 0.9974 0.3079 0.9717 0.3079 0.9717 0.1921 0.617 0.9977 0.9177 0.0023 0.617 0.9977 0.9666 0.9566 0.3074 0.0023 0.5733 0.0023 0.2905 0.0175 0.5733 0.9718 0.3074 0.9718 0.2905 0.9566 0.2905 0.9566 0.2905 0.0175 0.5733 0.9718 0.9717 0.3125 0.9846 0.5565 0.9846 0.7959 0.9717 0.7959 0.9666 0.9718 0.9537 0.0023 0.2684 0.9718 0.0026 0.9718 0.2853 0.9566 0.0026 0.0023 0.2684 0.0023 0.2853 0.0175 0.2853 0.0175 0.2853 0.9566 0.0026 0.0023'/>
190                                     </MultiTextureCoordinate>
191                                </IndexedTriangleSet>
192                           </Shape>
193                      </Group>
194                 </Transform>
195            </Group>
196            <EXPORT localDEF='GreenArrowsMesh'/>
197            <EXPORT localDEF='DecalBlendMesh'/>
198            <EXPORT localDEF='DecalOpaqueMesh'/>
199            <EXPORT localDEF='TestCutoff75Mesh'/>
200            <EXPORT localDEF='TestCutoffDefaultMesh'/>
201            <EXPORT localDEF='TestCutoff25Mesh'/>
202            <EXPORT localDEF='TestBlendMesh'/>
203            <EXPORT localDEF='TestOpaqueMesh'/>
204            <EXPORT localDEF='BedMesh'/>
205            <EXPORT localDEF='MatBed'/>
206            <EXPORT localDEF='MatBlend'/>
207            <EXPORT localDEF='MatCutoff25'/>
208            <EXPORT localDEF='MatCutoff75'/>
209            <EXPORT localDEF='MatCutoffDefault'/>
210            <EXPORT localDEF='MatOpaque'/>
211            <EXPORT localDEF='Bed'/>
212            <EXPORT localDEF='DecalBlend'/>
213            <EXPORT localDEF='DecalOpaque'/>
214            <EXPORT localDEF='GreenArrows'/>
215            <EXPORT localDEF='TestBlend'/>
216            <EXPORT localDEF='TestCutoff25'/>
217            <EXPORT localDEF='TestCutoff75'/>
218            <EXPORT localDEF='TestCutoffDefault'/>
219            <EXPORT localDEF='TestOpaque'/>
220       </Scene>
221  </X3D>
<!--

Event Graph ROUTE Table shows event connections.

Index for EXPORT statements: EXPORT_GreenArrowsMesh, EXPORT_DecalBlendMesh, EXPORT_DecalOpaqueMesh, EXPORT_TestCutoff75Mesh, EXPORT_TestCutoffDefaultMesh, EXPORT_TestCutoff25Mesh, EXPORT_TestBlendMesh, EXPORT_TestOpaqueMesh, EXPORT_BedMesh, EXPORT_MatBed, EXPORT_MatBlend, EXPORT_MatCutoff25, EXPORT_MatCutoff75, EXPORT_MatCutoffDefault, EXPORT_MatOpaque, EXPORT_Bed, EXPORT_DecalBlend, EXPORT_DecalOpaque, EXPORT_GreenArrows, EXPORT_TestBlend, EXPORT_TestCutoff25, EXPORT_TestCutoff75, EXPORT_TestCutoffDefault, EXPORT_TestOpaque

--> <!-- to top DEF nodes index: Bed, BedMesh, BedMesh_Primitive0, DecalBlend, DecalBlendMesh, DecalBlendMesh_Primitive0, DecalOpaque, DecalOpaqueMesh, DecalOpaqueMesh_Primitive0, GreenArrows, GreenArrowsMesh, GreenArrowsMesh_Primitive0, MatBed, MatBlend, MatCutoff25, MatCutoff75, MatCutoffDefault, MatOpaque, TestBlend, TestBlendMesh, TestBlendMesh_Primitive0, TestCutoff25, TestCutoff25Mesh, TestCutoff25Mesh_Primitive0, TestCutoff75, TestCutoff75Mesh, TestCutoff75Mesh_Primitive0, TestCutoffDefault, TestCutoffDefaultMesh, TestCutoffDefaultMesh_Primitive0, TestOpaque, TestOpaqueMesh, TestOpaqueMesh_Primitive0

-->

X3D Tooltips element index: to top Appearance, component, Coordinate, EXPORT, Group, head, ImageTexture, IndexedTriangleSet, meta, MultiTextureCoordinate, Normal, PhysicalMaterial, Scene, Shape, Tangent, TextureCoordinate, Transform, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

🔖   Event Graph ROUTE Table with 0 ROUTE connections, showing X3D event-model relationships for this scene.

Each row with a ROUTE statement shows an event cascade that may occur during a single timestamp interval between frame renderings, performed as part of the X3D execution model.

line 196
EXPORT
<EXPORT localDEF='GreenArrowsMesh' AS=''/>
matches local node <Group DEF='GreenArrowsMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 197
EXPORT
<EXPORT localDEF='DecalBlendMesh' AS=''/>
matches local node <Group DEF='DecalBlendMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 198
EXPORT
<EXPORT localDEF='DecalOpaqueMesh' AS=''/>
matches local node <Group DEF='DecalOpaqueMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 199
EXPORT
<EXPORT localDEF='TestCutoff75Mesh' AS=''/>
matches local node <Group DEF='TestCutoff75Mesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 200
EXPORT
<EXPORT localDEF='TestCutoffDefaultMesh' AS=''/>
matches local node <Group DEF='TestCutoffDefaultMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 201
EXPORT
<EXPORT localDEF='TestCutoff25Mesh' AS=''/>
matches local node <Group DEF='TestCutoff25Mesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 202
EXPORT
<EXPORT localDEF='TestBlendMesh' AS=''/>
matches local node <Group DEF='TestBlendMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 203
EXPORT
<EXPORT localDEF='TestOpaqueMesh' AS=''/>
matches local node <Group DEF='TestOpaqueMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 204
EXPORT
<EXPORT localDEF='BedMesh' AS=''/>
matches local node <Group DEF='BedMesh'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 205
EXPORT
<EXPORT localDEF='MatBed' AS=''/>
matches local node <Appearance DEF='MatBed'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 206
EXPORT
<EXPORT localDEF='MatBlend' AS=''/>
matches local node <Appearance DEF='MatBlend'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 207
EXPORT
<EXPORT localDEF='MatCutoff25' AS=''/>
matches local node <Appearance DEF='MatCutoff25'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 208
EXPORT
<EXPORT localDEF='MatCutoff75' AS=''/>
matches local node <Appearance DEF='MatCutoff75'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 209
EXPORT
<EXPORT localDEF='MatCutoffDefault' AS=''/>
matches local node <Appearance DEF='MatCutoffDefault'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 210
EXPORT
<EXPORT localDEF='MatOpaque' AS=''/>
matches local node <Appearance DEF='MatOpaque'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 211
EXPORT
<EXPORT localDEF='Bed' AS=''/>
matches local node <Transform DEF='Bed'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 212
EXPORT
<EXPORT localDEF='DecalBlend' AS=''/>
matches local node <Transform DEF='DecalBlend'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 213
EXPORT
<EXPORT localDEF='DecalOpaque' AS=''/>
matches local node <Transform DEF='DecalOpaque'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 214
EXPORT
<EXPORT localDEF='GreenArrows' AS=''/>
matches local node <Transform DEF='GreenArrows'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 215
EXPORT
<EXPORT localDEF='TestBlend' AS=''/>
matches local node <Transform DEF='TestBlend'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 216
EXPORT
<EXPORT localDEF='TestCutoff25' AS=''/>
matches local node <Transform DEF='TestCutoff25'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 217
EXPORT
<EXPORT localDEF='TestCutoff75' AS=''/>
matches local node <Transform DEF='TestCutoff75'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 218
EXPORT
<EXPORT localDEF='TestCutoffDefault' AS=''/>
matches local node <Transform DEF='TestCutoffDefault'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

line 219
EXPORT
<EXPORT localDEF='TestOpaque' AS=''/>
matches local node <Transform DEF='TestOpaque'/> which can send or receive events,
if a parent X3D model loads this scene via Inline/IMPORT and then connects
ROUTE statements or shares USE nodes in order to exchange events with it. 

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets.
Have fun with X3D! 😀

-->
go to online X3D Example Archives model page <!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendModeTestIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GltfSampleModels/AlphaBlendModeTest.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)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->