POV-Ray : Newsgroups : povray.general : Hide sky_sphere in render? Server Time
24 Nov 2024 13:41:32 EST (-0500)
  Hide sky_sphere in render? (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Mike Horvath
Subject: Hide sky_sphere in render?
Date: 7 Aug 2018 16:23:58
Message: <5b69ffde$1@news.povray.org>
Is there a way to make a sky_sphere show up in reflections but not in 
the image? I want to create a render with alpha channel, but am not sure 
how to hide the sky_sphere but still have it show up in reflections. Thanks.


Mike


Post a reply to this message

From: Bald Eagle
Subject: Re: Hide sky_sphere in render?
Date: 7 Aug 2018 16:30:00
Message: <web.5b6a00e2b21dbd8dc437ac910@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> Is there a way to make a sky_sphere show up in reflections but not in
> the image? I want to create a render with alpha channel, but am not sure
> how to hide the sky_sphere but still have it show up in reflections. Thanks.
>
>
> Mike

I'm assuming you've tried the standard no_image tag and it doesn't work with
sky_sphere?


Post a reply to this message

From: Mike Horvath
Subject: Re: Hide sky_sphere in render?
Date: 7 Aug 2018 16:55:08
Message: <5b6a072c$1@news.povray.org>
On 8/7/2018 4:28 PM, Bald Eagle wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>> Is there a way to make a sky_sphere show up in reflections but not in
>> the image? I want to create a render with alpha channel, but am not sure
>> how to hide the sky_sphere but still have it show up in reflections. Thanks.
>>
>>
>> Mike
> 
> I'm assuming you've tried the standard no_image tag and it doesn't work with
> sky_sphere?
> 
> 

Correct.

Mike


Post a reply to this message

From: Le Forgeron
Subject: Re: Hide sky_sphere in render?
Date: 7 Aug 2018 17:11:31
Message: <5b6a0b03$1@news.povray.org>
Le 07/08/2018 à 22:55, Mike Horvath a écrit :
> On 8/7/2018 4:28 PM, Bald Eagle wrote:
>> Mike Horvath <mik### [at] gmailcom> wrote:
>>> Is there a way to make a sky_sphere show up in reflections but not in
>>> the image? I want to create a render with alpha channel, but am not sure
>>> how to hide the sky_sphere but still have it show up in reflections.
>>> Thanks.
>>>
>>>
>>> Mike
>>
>> I'm assuming you've tried the standard no_image tag and it doesn't
>> work with
>> sky_sphere?
>>
>>
> 
> Correct.
> 
> Mike

What about the ancestor of the sky_sphere: a real sphere (0,1) scaled
large enough.

With no_image, later.


Post a reply to this message

From: Mike Horvath
Subject: Re: Hide sky_sphere in render?
Date: 7 Aug 2018 17:41:37
Message: <5b6a1211$1@news.povray.org>
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.
> 

What about lighting? Should I set the emission to 1?


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Hide sky_sphere in render?
Date: 7 Aug 2018 18:16:12
Message: <5b6a1a2c$1@news.povray.org>
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

From: clipka
Subject: Re: Hide sky_sphere in render?
Date: 8 Aug 2018 03:32:14
Message: <5b6a9c7e$1@news.povray.org>
Am 08.08.2018 um 00:16 schrieb Mike Horvath:

> 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?

Apparently orthographic camera and focal blur don't mix well. What
you're seeing is (as far as I can tell) not the pseudo sky sphere /per
se/, but its reflection, blown up in /some/ manner I haven't had the
time & energy to analyze in more depth.


Post a reply to this message

From: Mike Horvath
Subject: Re: Hide sky_sphere in render?
Date: 8 Aug 2018 10:02:55
Message: <5b6af80f@news.povray.org>
On 8/8/2018 3:32 AM, clipka wrote:
> Am 08.08.2018 um 00:16 schrieb Mike Horvath:
> 
>> 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?
> 
> Apparently orthographic camera and focal blur don't mix well. What
> you're seeing is (as far as I can tell) not the pseudo sky sphere /per
> se/, but its reflection, blown up in /some/ manner I haven't had the
> time & energy to analyze in more depth.
> 

Is there another way besides focal blur to eliminate the moire patterns 
on the ground plane toward the horizon?


Mike


Post a reply to this message

From: clipka
Subject: Re: Hide sky_sphere in render?
Date: 8 Aug 2018 10:26:24
Message: <5b6afd90$1@news.povray.org>
Am 08.08.2018 um 16:03 schrieb Mike Horvath:

> Is there another way besides focal blur to eliminate the moire patterns
> on the ground plane toward the horizon?

UberPOV's anti-aliasing mode 3 would do the trick.


Post a reply to this message

From: Leroy
Subject: Re: Hide sky_sphere in render?
Date: 11 Sep 2018 12:20:00
Message: <web.5b97eb00b21dbd8df2077890@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> 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

Just a guess but would hollow in the sky sphere help.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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