POV-Ray : Newsgroups : povray.binaries.images : Experiment with Light and Media (35KB) : Re: Experiment with Light and Media (35KB) Server Time
4 Oct 2024 07:14:20 EDT (-0400)
  Re: Experiment with Light and Media (35KB)  
From: Justin Whitton
Date: 13 Apr 1999 15:43:21
Message: <37139049.0@news.povray.org>
Andrew Cocker wrote in message <37137971.0@news.povray.org>...
>Very beautiful. I'm surprised no-one has asked for the code to this one,
especially with
>regard to the media settings.
>
>So,....any chance of seeing the code to this one, especially with regard to
the media
>settings?
>
>I thankyou.
>
>----------------------
>Andy

Here's the source, nothing special (quick=0 for the final render). The
picture was rendered with the settings +am2 +r3 +a0.1 +w1600 +h1200 and then
shrunk to 512x384 for posting to this group and my web site. The full size
image is on my site (as a jpeg), and if anyone wants the full 1600x1200 png
file, just ask. (Mind you it's 1.8MB).


sphere {
 0, 20*m
 texture {
  pigment {
   rgbf 1
  }
 }
 hollow
 interior {
  media {
   #if (quick = 1)
    intervals 50
    samples 2,10
    variance 1/64
    confidence (1-2/10)
   #else
    intervals 100
    samples 2,10
    variance 1.256
    confidence (1-1/100)
   #end
   scattering { 1, 1/10 }
   density {
    bozo
   }
  }
 }
 rotate y*(clock*360)
}

Before anyone asks, the setting of variance 1.256 is a typo in the source
(not in this post), but it seams to work :-)

Justin
__
jus### [at] bigfootcom
http://www.bigfoot.com/~justin.whitton
or http://freespace.virgin.net/justin.whitton


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.