POV-Ray : Newsgroups : povray.binaries.images : Scattering media help : Re: Scattering media help Server Time
7 Nov 2024 11:34:11 EST (-0500)
  Re: Scattering media help  
From: Mike Horvath
Date: 25 Jan 2016 15:06:17
Message: <56a68039$1@news.povray.org>
On 1/25/2016 4:28 AM, Kenneth wrote:
>
> Here's a 'complete' scene including your scattering media (with a camera and a
> light-- having a LIGHT is important for seeing this media type) plus a HOLLOW
> container object for the media to be enclosed in. (A simple sphere here.) At
> least you'll see *something* now! ;-)

I should have clarified. I can *see* the media, it is either the right 
color but too dense if I set the scattering to <0.2,0.4,1.0>, or it is 
properly dense but too dark. There seems to be no way to set the density 
independently of the color.


> Note a few changes: I changed the material's pigment color to plain srgbt 1, for
> simplicity. I eliminated the '10000' divisor in your media color, as that would
> have made the media way too dark to see (or not enough 'density'). I also
> commented-out the scale and rotation at the end of the material statement;
> that's probably best done in the OBJECT instead. (But note that scaling an
> object with media also scales the media density, which you may not want.
> Here's a kind of rule-of-thumb: If you scale up the size of the final object,
> say scale 10, then you should probably scale the media itself to 1/10, to
> compensate. *Then* experiment with further scaling if you want.)

I can't scale the container object because the container object is 
already the correct size to begin with. Scaling it any further would 
make it the wrong size.


Mike


Post a reply to this message

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