POV-Ray : Newsgroups : povray.binaries.images : Scattering media help : Scattering media help Server Time
7 Nov 2024 11:30:59 EST (-0500)
  Scattering media help  
From: Mike Horvath
Date: 25 Jan 2016 03:41:51
Message: <56a5dfcf@news.povray.org>
I'm trying to add some haze as seen in the attached image I rendered a 
long time ago. Unfortunately, I lost the code I used at the time, and my 
current code is not working at all. Can anyone please assist? Here is my 
current non working code, thanks.

#local atmos_material = material
{
	// check TexQual here?
	texture {pigment {gamma_color_adjust(1) transmit 1}}
	interior
	{
		media
		{
			scattering
			{
				4, color rgb <0.2,0.4,1.0>/10000	// crappy approximaion of TerraPOV 
value
				extinction	1
			}
			samples	1,1
			density
			{
				cylindrical
				poly_wave	0.25
				color_map
				{
					[0	srgb 1.0]
					[1	srgb 0.0]
				}
			}
		}
	}
	scale	city_radius
	rotate	x * 90
}


Post a reply to this message


Attachments:
Download 'gh_scene_spinner_interior_06.png' (477 KB)

Preview of image 'gh_scene_spinner_interior_06.png'
gh_scene_spinner_interior_06.png


 

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