I just see that instead of USEing materials in cylinders,
one can even USE appearances like this:

   DEF os Shape {
    geometry Sphere { radius 0.34 }
    appearance DEF oa Appearance {
     material DEF om Material { diffuseColor 1.0 0.050980393  
0.050980393 transparency 0.0 }
    }
   }

and later:

Transform {
  translation -2.3224998 0.113 -1.43525
  rotation 0.004921757 1.3608977 -0.93259245 3.14159
  children [
   Shape {
    geometry Cylinder { height 0.60959095 radius 0.15 }
    appearance USE oa
   }
  ]
}

with further savings.

ralf

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to