POV-Ray : Newsgroups : povray.newusers : problem with light source : Re: problem with light source Server Time
28 Sep 2024 07:35:59 EDT (-0400)
  Re: problem with light source  
From: clipka
Date: 25 May 2012 20:49:14
Message: <4fc0288a$1@news.povray.org>
Am 25.05.2012 13:51, schrieb Warp:
> Kokni_me<nomail@nomail>  wrote:
>> Yeah, that helped. And could You tell me, how can I make it blurry, so that I
>> have more realistic source of light?
>
>    You have two options, one "proper", and another using a trick.
>
> 1) The "proper" way to do that is to make the sphere completely transparent
> (by making its pigment be "transmit 1") and then add a spherical emitting
> media inside it. (Remember to use the keyword 'hollow' in the sphere or
> else the media won't show up.)

With this approach, make sure to explicitly specify "specular 0".

> 2) The easier and faster way is to use a trick: Make the sphere completely
> transparent (with "transmit 1") like above, but instead of adding a media
> to it, add "specular 1" to its finish. (You can fine-tune the brightness
> and size of the apparent "halo" produced this way by changing that 1 to
> something else as well as specifying different values of "roughness".
> Start with "roughness 0.01".)

or, 3) If you're using POV-Ray 3.7, you can make use of the "aoi" 
pattern to blend between rgbt <1,1,1,1> and rgbt <1,1,1,0>.


Post a reply to this message

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