POV-Ray : Newsgroups : povray.binaries.images : variable density : Re: variable density Server Time
14 Nov 2024 04:29:34 EST (-0500)
  Re: variable density  
From: Urs Holzer
Date: 29 Mar 2004 09:53:40
Message: <40683874@news.povray.org>
Dan P wrote:
 
> I need to see the code to understand what you mean. The marbles looked
> like you had a transmit value to them because of the unnatural look
> inside. But, I could be totally off my rocker on this (making this just
> another one of the billions of things I'm off my rocker on) so without
> the code, I'm just making wild guesses. :-)

A ball looks like this:

sphere {
  0, 0.5
  pigment { rgbt 1 }
  finish { phong 0.8 }
  hollow
  interior {
    ior 1.5
    media {
      scattering { 1, rgb 1 extinction 1 }
      density {
        crackle
        scale 0.1
      }
    }
  }
}


Post a reply to this message

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