#VRML V2.0 utf8 # [X3D] VRML V4.0 utf8 # PROFILE Immersive # [X3D] version=4.0 # [X3D] noNamespaceSchemaLocation=/specifications/x3d-4.0.xsd # X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xslt # /x3d/content/X3dToVrml97.xslt # Transformation using XSLT processor: Saxonica ### Info: differs from profile='Interchange' computed for this model # [head] # COMPONENT TextureProjection:2 # META "title" "TextureProjectorComponentExample.x3d" # META "description" "Texture projector component example" # META "creator" "Kwan Hee Yoo, Dick Puk and Don Brutzman" # META "created" "1 January 2019" # META "modified" "7 December 2024" # META "reference" "/member-only/mantis/view.php?id=1255" # META "specificationSection" "X3D encodings, ISO/IEC 19775-1, Part 1: Architecture and base components, Clause 42 Texture projector component, subclause 42.4.1 TextureProjector" # META "specificationUrl" "/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/textureProjector.html#TextureProjector" # META "identifier" "/x3d/content/examples/Basic/X3dSpecifications/TextureProjectorComponentExample.x3d" # META "generator" "X3D-Edit 4.0, /x3d/tools/X3D-Edit" # META "license" "../license.html" # [Scene] ========== ========== ========== TextureProjector { description "Project a red delicious texture" direction -1 0 -1 fieldOfView 0.26 location 3 3 3 upVector 0 1 0 ambientIntensity 0 color 1 1 1 intensity 0.7854 texture DEF RedDelicious ImageTexture { url [ "Red_Delicious.jpg" "/x3d/content/examples/Basic/X3dSpecifications/Red_Delicious.jpg" "https://upload.wikimedia.org/wikipedia/commons/f/fb/Red_Delicious.jpg" ] } } Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 } } geometry IndexedFaceSet { coordIndex [ 3 2 1 0 -1 4 5 2 3 -1 5 6 1 2 -1 ] solid FALSE coord Coordinate { point [ 1 0 1 -1 0 1 -1 0 -1 1 0 -1 1 1 -1 -1 1 -1 -1 1 1 ] } } } # add additional node example for validation testing TextureProjectorParallel { description "Project a red delicious texture, parallel orthographic projection" direction -1 0 -1 fieldOfView -1.5 -1.5 1.5 1.5 location 3 3 3 ambientIntensity 0 color 1 1 1 intensity 0.7854 upVector 0 1 0 texture USE RedDelicious }