POV-Ray : Newsgroups : povray.binaries.images : Assumed_gamma, too bright and washed out Server Time
31 Jul 2024 18:29:14 EDT (-0400)
  Assumed_gamma, too bright and washed out (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: SharkD
Subject: Re: Assumed_gamma, too bright and washed out
Date: 5 Sep 2009 21:20:40
Message: <4aa30e68@news.povray.org>
Here's my latest render. The scene uses two media for the sky: one for 
the clouds and one for the haze. Either one of them by itself renders 
pretty fast, but together they cause the render to take a *really* long 
time.

-Mike


Post a reply to this message


Attachments:
Download 'gh_scene_outdoors_cubemap_atmos_gamma_b.png' (533 KB)

Preview of image 'gh_scene_outdoors_cubemap_atmos_gamma_b.png'
gh_scene_outdoors_cubemap_atmos_gamma_b.png


 

From: Alain
Subject: Re: Assumed_gamma, too bright and washed out
Date: 6 Sep 2009 12:25:46
Message: <4aa3e28a$1@news.povray.org>
SharkD a écrit :
> Here's my latest render. The scene uses two media for the sky: one for 
> the clouds and one for the haze. Either one of them by itself renders 
> pretty fast, but together they cause the render to take a *really* long 
> time.
> 
> -Mike
> 
> ------------------------------------------------------------------------
> 
Are they overlaping or sharing the same container?

I'd try with containers that are distinct, with some gap between them. 
That way, you compute one media, them, somewhat further, you compute the 
other one. The haze could easily use a low samples value, like samples 
3, while the clouds will use a larger samples value, like samples 30.



Alain


Post a reply to this message

From: SharkD
Subject: Re: Assumed_gamma, too bright and washed out
Date: 6 Sep 2009 13:43:11
Message: <4aa3f4af$1@news.povray.org>
Alain wrote:
> Are they overlaping or sharing the same container?
> 
> I'd try with containers that are distinct, with some gap between them. 
> That way, you compute one media, them, somewhat further, you compute the 
> other one. The haze could easily use a low samples value, like samples 
> 3, while the clouds will use a larger samples value, like samples 30.

They each use their own container. The smaller container is inside the 
larger. If it makes the scene render faster, I would like to change them 
so they use the same container. Not sure how to go about doing this 
though. I also don't want to make them use distinct volumes. Their media 
should "add".

-Mike


Post a reply to this message

From: Alain
Subject: Re: Assumed_gamma, too bright and washed out
Date: 7 Sep 2009 14:21:45
Message: <4aa54f39$1@news.povray.org>
SharkD a écrit :
> Alain wrote:
>> Are they overlaping or sharing the same container?
>>
>> I'd try with containers that are distinct, with some gap between them. 
>> That way, you compute one media, them, somewhat further, you compute 
>> the other one. The haze could easily use a low samples value, like 
>> samples 3, while the clouds will use a larger samples value, like 
>> samples 30.
> 
> They each use their own container. The smaller container is inside the 
> larger. If it makes the scene render faster, I would like to change them 
> so they use the same container. Not sure how to go about doing this 
> though. I also don't want to make them use distinct volumes. Their media 
> should "add".
> 
> -Mike
This forces both medias to use the same number of samples.
Also, the sampling for the clouds probably continue into the haze media.

To use only one container, you'll need to add another density pattern.

One media with a single density for the haze.
One media with two densities for the clouds. The new pttern can be 
"planar" with a map similar to: (added in the cloud's media block)
density{planar {color_map{ [0 rgb 0][0.02 rgb 1] }}}
To have the clouds go sharply from invisible to full density.

Two media in a container add.
A media with two densities multiply the densities.


Alain


Post a reply to this message

From: SharkD
Subject: Re: Assumed_gamma, too bright and washed out
Date: 7 Sep 2009 20:38:16
Message: <4aa5a778$1@news.povray.org>
Alain wrote:
> This forces both medias to use the same number of samples.
> Also, the sampling for the clouds probably continue into the haze media.
> 
> To use only one container, you'll need to add another density pattern.
> 
> One media with a single density for the haze.
> One media with two densities for the clouds. The new pttern can be 
> "planar" with a map similar to: (added in the cloud's media block)
> density{planar {color_map{ [0 rgb 0][0.02 rgb 1] }}}
> To have the clouds go sharply from invisible to full density.
> 
> Two media in a container add.
> A media with two densities multiply the densities.
> 
> 
> Alain

Actually I am using concentric spheres. The media attached to the 
smaller sphere uses an onion pattern, so I'll need to figure out how to 
limit it to just the assigned area instead of repeating.

-Mike


Post a reply to this message

From: SharkD
Subject: Re: Assumed_gamma, too bright and washed out
Date: 7 Sep 2009 21:46:52
Message: <4aa5b78c$1@news.povray.org>
Here is the media for the cloud sphere, which is the inner of the two 
volumes. What I need is to be able to "clip" the media to "InnerRadius" 
and "OuterRadius" so that I can then simply copy/move the media to the 
larger atmosphere sphere.

-Mike

//BEGIN

	#local InnerRadius = EarthRadius + CloudMinRad;
	#local OuterRadius = InnerRadius + CloudMaxRad;
	#local BoundRadius = sin(acos(EarthRadius/OuterRadius)) * OuterRadius;
	#local ScaleAmount = Width/2;
//	#local testpattern = function {mod(sqrt(Sqr(X) + Sqr(Y) + Sqr(Z)), 1.0)}
	#local CloudPigment = pigment
	{
		average
		pigment_map
		{
			[2 onion	scale CloudMaxRad/ScaleAmount	phase 
-mod(OuterRadius,CloudMaxRad)/CloudMaxRad/ScaleAmount]
			[2 granite	scale 1024 * 32/ScaleAmount]
		}
	}
	#local CloudMedia = media
	{
		scattering	{1, 0.5 * 1/ScaleAmount / 320}
		method		3
		intervals	1
//		samples		30	//30, 100
		samples		4
		density
		{
			pigment_pattern {CloudPigment}
			density_map {[0.60 rgb 0][0.61 rgb 1]}
		}
	}
	#local CloudSphere = difference
	{
		sphere {0, OuterRadius}
		sphere {0, InnerRadius}
		bounded_by {cylinder {<0,EarthRadius,0,>, <0,OuterRadius,0,>, 
BoundRadius}}
		hollow
		material
		{
			texture {pigment {rgbt 1}}
			interior
			{
				media {CloudMedia}
			}
			scale ScaleAmount
		}
		translate -y * EarthRadius
	}

//END


Post a reply to this message

From: Alain
Subject: Re: Assumed_gamma, too bright and washed out
Date: 8 Sep 2009 11:58:23
Message: <4aa67f1f$1@news.povray.org>
SharkD a écrit :
> Alain wrote:
>> This forces both medias to use the same number of samples.
>> Also, the sampling for the clouds probably continue into the haze media.
>>
>> To use only one container, you'll need to add another density pattern.
>>
>> One media with a single density for the haze.
>> One media with two densities for the clouds. The new pttern can be 
>> "planar" with a map similar to: (added in the cloud's media block)
>> density{planar {color_map{ [0 rgb 0][0.02 rgb 1] }}}
>> To have the clouds go sharply from invisible to full density.
>>
>> Two media in a container add.
>> A media with two densities multiply the densities.
>>
>>
>> Alain
> 
> Actually I am using concentric spheres. The media attached to the 
> smaller sphere uses an onion pattern, so I'll need to figure out how to 
> limit it to just the assigned area instead of repeating.
> 
> -Mike
In that case, you can use the spherical pattern, scaled and with a 
color_map set to only have a shell.
something like:

density{spherical scale 1000 color_map{[0 rgb 0][0.0000001 rgb 1][0.001 
rgb 1][0.0010001 rgb 0]}}


Alain


Post a reply to this message

From: Sven Littkowski
Subject: Re: Assumed_gamma, too bright and washed out
Date: 13 Sep 2009 03:08:05
Message: <4aac9a55$1@news.povray.org>
How did you do the glass spheres? Can you give me the code for them? Thanks.


Post a reply to this message

From: SharkD
Subject: Re: Assumed_gamma, too bright and washed out
Date: 13 Sep 2009 15:42:45
Message: <4aad4b35$1@news.povray.org>
Sven Littkowski wrote:
> How did you do the glass spheres? Can you give me the code for them? Thanks.

I *think* this is where I got them from:

http://www.interq.or.jp/blue/kawashu/

-Mike


Post a reply to this message

From: Sven Littkowski
Subject: Re: Assumed_gamma, too bright and washed out
Date: 13 Sep 2009 22:15:30
Message: <4aada742$1@news.povray.org>
Hmm... I just checked it out, maybe not good enough. i couldn't see these 
glass spheres there. Sure it's from there? I just like them!


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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