basic.x3d
Submitted by Leonard Daly on Fri, 01/08/2016 - 20:12
This is the X3D code for the static basic scene.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd"> <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.2.xsd'> <head> <meta content='basic.x3d' name='title'/> <meta content='Simple static test scene' name='description'/> <meta content='Leonard Daly' name='creator'/> <meta content='2014-08-19' name='created'/> <meta content='2016-01-07' name='modified'/> <meta content='Copyright 2014, Daly Realism' name='rights'/> <meta content='Creative Commons - Attribution, Share-Alike V4 (CC-BY-SA)' name='accessRights'/> <meta content='http://creativecommons.org/licenses/by-sa/4.0/legalcode' name='license'/> </head> <Scene> <Transform translation='-2 0 0'> <Shape> <Box size='2 2 2'></Box> <Appearance> <Material diffuseColor="1 0 0"></Material> </Appearance> </Shape> <Transform translation='0 2 0'> <Shape> <Cone heigh='1' bottomRadius='1'></Cone> <Appearance> <Material diffuseColor="1 1 0"></Material> </Appearance> </Shape> </Transform> </Transform> <Transform translation='2 0 0'> <Shape> <Sphere radius='1'></Sphere> <Appearance> <Material diffuseColor="0 0 1"></Material> </Appearance> </Shape> </Transform> <Transform translation='0 0 -3'> <Shape> <Cylinder height='2' radius='1'></Cylinder> <Appearance> <Material diffuseColor="0 1 0"></Material> </Appearance> </Shape> </Transform> </Scene> </X3D>