Hi,

has anyone tried to get the fog/zShade effect from Jmol into POV-Ray? There is 
a fog command in povray and the fog of type 2 looks the thing to use. I have 
managed to get a fog in x or y direction that has full effect at half 
width/height and decays fast before. However I am struggling with the z 
direction which is direction of interrest. If anyone has experience with this 
please share it. Thanks.

# My model system
load =1crn;
set zShade true; set zSlab 50; set zDepth 0;

# POV-Ray documentation for the fog command
http://www.povray.org/documentation/view/3.6.1/254/
http://www.povray.org/documentation/view/3.6.2/92/

# Add this to the .pov file exported by Jmol (write POVRAY "fileName") to get a 
fog effect in y direction.
fog {
   distance 1
   color rgbft <0,0,0,0.0,0.0>
   fog_type 2
   up <0,1,0>
   fog_offset Height/2 /* Constant below this */
   fog_alt 1 /* Decay rate */
}


Best
Alexander

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to