A Simple Example of an xVRML File

A Red Box



<?xml version="1.0" encoding="UTF-8"?>
<World xmlns="http://www.xvrml.net/schemas/core"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.xvrml.net/schemas/core
  http://www.xvrml.net/schemas/xVRML.xsd">
  <WorldInfo>
    <title>A Glowing Red Box</title>
    <info>A simple demo file</info>
  </WorldInfo>
  <children>
    <Shape>
      <appearance>
        <Material>
          <emissiveColor red="1.0"/>
        </Material>
      </appearance>
      <geometry>
        <Box/>
      </geometry>
    </Shape>
  </children>
</World>

Load this example in Carina viewer