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-CubicSym.vr

vrml-math-CubicSym.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 Axes4[ field SFRotation rot 0 0 0 0]{
   Transform{ rotation IS rot children[
   Shape{ appearance Appearance{ material Material{ diffuseColor 1 0 0}}
    geometry IndexedFaceSet{ solid FALSE
     coord Coordinate{
      point[0 1 .1,.1 1 0,0 1 -.1,-.1 1 0,  0 -1 .1,.1 -1 0,0 -1 -.1,-.1 -1 0]}
     coordIndex[0 1 2 3 -1 7 6 5 4]}}
   Shape{ appearance Appearance{ material Material{ emissiveColor 1 0 0}}
    geometry IndexedLineSet{ coord Coordinate{ point[0 1 0,0 -1 0]}
     coordIndex[0 1]}}
  ]}}
  PROTO Axes3[ field SFRotation rot 0 0 0 0]{
   Transform{ rotation IS rot children[
   Shape{ appearance Appearance{ material Material{ diffuseColor 1 0 0}}
    geometry IndexedFaceSet{ solid FALSE coord Coordinate{ point[
  .627 .527 .527,.527 .627 .527,.527 .527 .627
  -.627 -.527 -.527,-.527 -.627 -.527,-.527 -.527 -.627]}
     coordIndex[0 1 2 -1 5 4 3]}}
   Shape{ appearance Appearance{ material Material{ emissiveColor 1 0 0}}
    geometry IndexedLineSet{ coord Coordinate{ point[.557 .557 .557,-.557 -.557 -.557]}
     coordIndex[0 1]}}
  ]}}
  PROTO Axes2[ field SFRotation rot 0 0 0 0]{
   Transform{ rotation IS rot children[
   Shape{ appearance Appearance{ material Material{ diffuseColor 1 0 0}}
    geometry IndexedFaceSet{ solid FALSE coord Coordinate{ point[
  0 .807 .607,-.025 .757 .657,-.03 .707 .707
  0 .607 .807,.025 .657 .757,.03 .707 .707
  0 -.807 -.607,.025 -.757 -.657, .03 -.707 -.707
  0 -.607 -.807,-.025 -.657 -.757, -.03 -.707 -.707]}
     coordIndex[0 1 2 3 4 5 -1 11 10 9 8 7 6]}}
   Shape{ appearance Appearance{ material Material{ emissiveColor 1 0 0}}
    geometry Shape{ appearance Appearance{ material Materė‘|§2`×.html>IndexedLineSet{ coord Coordinate{ point[0 .707 .707,0 -.707 -.707]}
     coordIndex[0 1]}}
  ]}}
  DEF Clock TimeSensor { cycleInterval 15}
  DEF Animation OrientationInterpolator {
     key [ 0, 1 ]
     keyValue [ 1 1 1 0, 1 1 1 2.08 ]}
  DEF XForm Transform{ scale 1.5 1.5 1.5 children[
    Axes4{} Axes4{ rot 1 0 0 1.57} Axes4{ rot 0 0 1 1.57}
    Axes2{} Axes2{ rot 0 1 0 1.57} Axes2{ rot 0 1 0 -1.57}
    Axes2{ rot 0 0 1 1.57} Axes2{ rot 0 0 1 3.14} Axes2{ rot 0 0 1 -1.57}
    Axes3{}
    Axes3{ rot 0 0 1 1.57} Axes3{ rot 0 0 1 3.14} Axes3{ rot 0 0 1 -1.57}
    Shape{ appearance Appearance{
      material Material{ diffuseColor 1 1 1 transparency .5}}
     geometry Sphere{}}
    Shape{ appearance Appearance{ material Material{ diffuseColor 0 0 1}}
     geometry Box{ size .75 .75 .75}}
    DEF Touch TouchSensor{}
  ]
  }
  ROUTE Touch.touchTime TO Clock.startTime
  ROUTE Clock.fraction_changed TO Animation.set_fraction
  ROUTE Animation.value_changed TO XForm.rotation
  


(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.