#VRML V2.0 utf8 # [X3D] VRML V4.0 utf8 # PROFILE Interchange # [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 # [head] # META "title" "RedSphereBlueBox.x3d" # META "description" "X3D encodings example: show simple Shapes, including different Materials and geometry." # META "creator" "Don Brutzman and Joe Williams" # META "created" "1 June 2002" # META "modified" "28 September 2025" # META "specificationSection" "X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.2 Simple example" # META "specificationUrl" "/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-CD/Part01/examples.html#SimpleExample" # META "identifier" "/x3d/content/examples/Basic/X3dSpecifications/RedSphereBlueBox.x3d" # META "generator" "X3D-Edit 4.0, /x3d/tools/X3D-Edit" # META "license" "../license.html" # [Scene] ========== ========== ========== WorldInfo { title "RedSphereBlueBox.x3d" } Transform { children [ NavigationInfo { headlight FALSE type [ "EXAMINE" ] } DirectionalLight { } Transform { translation 4.0 0.0 1.0 children [ Shape { geometry Sphere { radius 2.3 } appearance Appearance { material Material { diffuseColor 1.0 0.0 0.0 } } } ] } Transform { rotation 0.0 0.707 0.707 0.9 translation -2.4 0.2 1.0 children [ Shape { geometry Box { } appearance Appearance { material Material { diffuseColor 0.0 0.0 1.0 } } } ] } ] }