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

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


  
  
  NavigationInfo { type "EXAMINE" }
  Background { skyColor 0 0 1 }
  
  DEF ROOT Transform{ scale .4 .4 .4 children[
  
  DEF cz Transform{ children[
  DEF cy Transform{ children[
  DEF cx Transform{ children[
  DEF cell Transform{ children[
  DEF Cl Transform{ translation 1 1 1 scale .4 .4 .4 children[
  Shape {
  appearance Appearance { material Material { diffuseColor 1 1 0 } }
  geometry DEF sph IndexedFaceSet{ creaseAngle 1
  coord Coordinate { point[
   0 0 1.02,.404 0 .938,-.227 .333 .938,-.147 -.376 .938,.58 .333 .772,
   .506 -.376 .803,-.602 .291 .772,-.0514 .667 .772,.165 -.608 .803,
   -.522 -.418 .772,.858 .291 .471,.352 .667 .688,.784 -.418 .503,-.657 .598 .503,
   -.749 -.0849 .688,-.317 .83 .503,.104 -.883 .503,-.584 -.693 .471,
   .803 .598 .202,.96 -.0849 .336,.49 .83 .336,.722 -.693 .202,-.86 .529 .15,
   -.952 -.154 .336,-.179 .994 .15,.382 -.925 .202,-.271 -.925 .336,
   -.849 -.529 .202,.849 .529 -.202,1.01 -.154 -.0673,.224 .994 .0673,
   .86 -.529 -.15,-.722 .693 -.202,-1.01 .154 .0673,-.382 .925 -.202,
   .179 -.994 -.15,-.224 -.994 -.0673,-.803 -.598 -.202,.584 .693 -.471,
   .952 .154 -.336,.271 .925 -.336,.657 -.598 -.503,-.784 .418 -.503,
   -.96 .0849 -.336,-.104 .883 -.503,.317 -.83 -.503,-.49 -.83 -.336,
   -.858 -.291 -.471,.522 .418 -.772,.749 .0849 -.688,.602 -.291 -.772,
   -.506 .376 -.803,-.165 .608 -.803,.0514 -.667 -.772,-.352 -.667 -.688,
   -.58 -.333 -.772,.147 .376 -.938,.227 -.333 -.938,-.404 0 -.938,,0 0 -1.02]}
  coordIndex [
   0 3 8 5 1 -1 2 7 15 13 6 -1 4 10 18 20 11 -1 9 14 23 27 17 -1 12 21 31 29 19 -1
   16 26 36 35 25 -1 22 32 42 43 33 -1 24 30 40 44 34 -1 28 39 49 48 38 -1
   37 47 55 54 46 -1 41 45 53 57 50 -1 51 52 56 59 58 -1 0 1 4 11 7 2 -1
   0 2 6 14 9 3 -1 1 5 12 19 10 4 -1 3 9 17 26 16 8 -1 5 8 16 25 21 12 -1
   6 13 22 33 23 14 -1 7 11 20 30 24 15 -1 10 19 29 39 28 18 -1
   13 15 24 34 32 22 -1 17 27 37 46 36 26 -1 18 28 38 40 30 20 -1
   21 25 35 45 41 31 -1 23 33 43 47 37 27 -1 29 31 41 50 49 39 -1
   32 34 44 52 51 42 -1 35 36 46 54 53 45 -1 38 48 56 52 44 40 -1
   42 51 58 55 47 43 -1 48 49 50 57 59 56 -1 53 54 55 58 59 57 -1]}}
  ]} # end Cl
  DEF Na Transform{ translation -1 -1 -1 scale .2 .2 .2 children[
  Shape {
  appearance Appearance { material Material { diffuseColor 1 0 0 } }
  geometry USE sph 
  }]} # end Na
   Transform{ translation -2 -2 0 children[ USE Cl] }
   Transform{ translation 0 -2 -2 children[ USE Cl] }
   Transform{ translation -2 0 -2 children[ USE Cl] }
   Transform{ translation 2 2 0 children[ USE Na] }
   Transform{ translation 0 2 2 children[ USE Na] }
   Transform{ translation 2 0 2 children[ USE Na] }
  DEF grid Transform{ children[
  DEF bond Transform{ translation 1 1 0 children[ Shape {
  appearance Appearance { material Material { emissiveColor .5 .5 .5 } }
  geometry IndexedFaceSet{ creaseAngle 1
  coord Coordinate { point[
  .02 .02 2, .02 -.02 2, -.02 -.02 2, -.02 .02 2,
  .02 .02 -2, .02 -.02 -2, -.02 -.02 -2, -.02 .02 -2 ]}
  coordIndex [0 4 7 3 -1 0 1 5 4 -1 1 2 6 5 -1 2 3 7 6 -1 3 2 1 0 -1 4 5 6 7 -1]}}
  ]}
   Transform{ translation -2 -2 0 children[ USE bond] }
   Transform{ translation -2 0 0 children[ USE bond] }
   Transform{ translation 0 -2 0 children[ USE bond] }
  ]} # end grid
   Transform{ rotation 1 0 0 1.57 children[ USE grid] }
   Transform{ rotation 0 1 0 1.57 children[ USE grid] }
  ]} # end cell
   Transform{ translation 4 0 0 children[ USE cell] }
   Transform{ translation -4 0 0 children[ USE cell] }
  ]} # end cx
   Transform{ translation 0 4 0 children[ USE cx] }
   Transform{ translation 0 -4 0 children[ USE cx] }
  ]} # end cy
   Transform{ translation 0 0 4 children[ USE cy] }
   Transform{ translation 0 0 -4 children[ USE cy] }
  ]} # end cz
  
  ]}
  


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