POV-Ray : Newsgroups : povray.general : Hide sky_sphere in render? : Re: Hide sky_sphere in render? Server Time: 23 Jul 2019 11:48:06 GMT
  Re: Hide sky_sphere in render?  
From: Mike Horvath
Date: 7 Aug 2018 22:16:12
On 8/7/2018 5:11 PM, Le_Forgeron wrote:
> What about the ancestor of the sky_sphere: a real sphere (0,1) scaled
> large enough.
> 
> With no_image, later.
> 

Okay, here is my new sphere:


//------------------------------------------------------------------------------
sphere
{
	0, 1
	pigment
	{
		gradient y
		color_map
		{
			[0/4 color srgb (<0.6,0.7,1.0>+1)/2]
			[3/4 color srgb (<0.0,0.1,0.8>+1)/2]
		}
	}
	finish
	{
		diffuse		0
		ambient		0
		emission	1
		reflection	0
	}
	scale 2048*16
	no_image
}
//------------------------------------------------------------------------------


It works fine normally, *but* when I add focal blur, I can still see 
stuff in the background. E.g.


//------------------------------------------------------------------------------
camera
{
	orthographic
	location		-z * 4
	direction		+z * 4
	up				+y * 2
	right			+x * 2 * image_width/image_height
	focal_point		<0,0,0>
	aperture		1/16
	blur_samples	512
	confidence		15/16
	variance		1/256
}
//------------------------------------------------------------------------------


Is this a bug? Is there a workaround?


Mike


Post a reply to this message

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