POV-Ray : Newsgroups : povray.general : Hide sky_sphere in render? Server Time: 23 Jul 2019 11:44:50 GMT
  Hide sky_sphere in render? (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Alain
Subject: Re: Hide sky_sphere in render?
Date: 12 Sep 2018 02:55:14
Message: <5b988012@news.povray.org>
Le 18-09-11 à 12:19, Leroy a écrit :
> 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.
> 
> 

The absence of hollow is not the issue here. It will only generate a 
warning about the camera been inside a non-hollow object and media killing.
It have no effect unless you want to use some media or fog that can't 
exist inside a non-hollow object.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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