media @ VU
[] readme course(s) preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthought(s) appendix reference(s) example(s) resource(s) _

talk show tell print

vrml-math-Cubic.vr

vrml-math-Cubic.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]


  
  
  NavigationInfo{ type "EXAMINE" }
  Viewpoint{ position 0 0 5 description "[100]"}
  Viewpoint{ position 3.5 0 3.5 orientation 0 1 0 .785 description "[110]"}
  Viewpoint{ position 2.9 2.9 2.9 orientation -1 1 0 .955 description "[111]"}
  Background{ skyColor 0 .5 0}
  
  PROTO At[ field SFVec3f trans 0 0 0]{
   Transform{ translation IS trans children[
    Shape{ appearance Appearance{ material Material{ emissiveColor 1 1 1}}
     geometry IndexedLineSet{ coord Coordinate{
      point[1 0 0, -1 0 0, 0 1 0, 0 -1 0, 0 0 1, 0 0 -1]}
      coordIndex[0 1 -1 2 3 -1 4 5]}}
    Shape{ appearance Appearance{ material Material{ diffuseColor 1 1 0 } }
     geometry Sphere{ radius 0.15 }}]}
  }
  Transform{ children[
   Shape{ appearance Appearance{
      material Material{ diffuseColor .5 .5 1 transparency .5}}
    geometry IndexedFaceSet{ solid FALSE
     coord Coordinate{
      point[1 1 1,1 1 -1,1 -1 1,1 -1 -1,  -1 -1 -1,-1 -1 1,-1 1 -1,-1 1 1]}
      coordIndex[0 2 3 1 -1 0 7 5 2 -1 0 1 6 7 -1 4 5 7 6 -1 4 6 1 3 -1 4 3 2 5]}}
   At{ trans 1 1 1} At{ trans 1 1 -1} At{ trans 1 -1 1} At{ trans 1 -1 -1}
   At{ trans -1 1 1} At{ trans -1 1 -1} At{ trans -1 -1 1} At{ trans -1 -1 -1}
  ]
  }
  


(C) A. Eliëns 2/9/2007

You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.