prev up next

Previous: Wuerfel.x3d Up: X3D Document Type Definition Next: Pyramide.x3d

Kugel.x3d

Beispiel zur Erstellung einer Kugel


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3DScene SYSTEM "X3D.dtd">

<X3DScene>
  <Group>
        <Translation x="1" y="3" z="4"/>             <!-- transl. of the sphere -->
        <Shape> 
             <Material>                         
                <DiffuseColor r="0" g="121" b="0"/>  <!-- green material -->
             </Material>
             <Sphere/>                               <!-- sphere (radius=1 -->
        </Shape> 
   </Group>
</X3DScene>


prev up next
Previous: Wuerfel.x3d Up: X3D Document Type Definition Next: Pyramide.x3d