|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why does the specular highlight vanish if I make my light source shadowless?
Is there any way round this?
simple test scene:
//the blue light has a specular highlight, the red does not.
sphere { z*3, 1 pigment { rgb .5 } finish { specular 1 roughness 0.01 } }
light_source { <-1,1,-1>*1000 rgb <1,0,0> shadowless }
light_source { <1,1,-1>*1000 rgb <0,0,1> }
Any help would be much appreciated, it's causing massive slowdown in my render
to test shadows for 50 light sources.
--
Tek
http://www.evilsuperbrain.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Not a bug, a feature. Shadowless light_sources were designed to be used
as fill lights, to simulate interdiffuse reflections which produces no
noticeable highlights. I guess removing the highlights gave a speed
boost also.
I know of no speedwise workaround.
Povingly,
Philippe
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3ece78f5$1@news.povray.org...
> Is there any way round this?
Try using light_groups.
camera {location -z*5+y*5 look_at y}
light_group{
light_source{-z*1000, rgb 1 rotate x*40 rotate y*40}
sphere{0,1 translate y pigment{rgb x} finish{phong 1}}
global_lights off
}
plane{y,0 pigment{rgb 1} }
light_source{-z*1000, rgb 1 rotate x*40 rotate y*40 shadowless}
BTW, that was one of the reasons we used a lot of light groups in the space
image (www.oyonale.com/iss) so that objects wouldn't project shadows on each
other and still have highlights.
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Well my problem is that I have a light dome with 50 light sources, so if I have
shadows turned on at all there's a significant performance hit, even when just
testing for self-shadowing.
Ah well, I guess I should just be more patient and allow more time for
rendering.
--
Tek
http://www.evilsuperbrain.com
"Gilles Tran" <git### [at] wanadoofr> wrote in message
news:3ece88e2@news.povray.org...
> 3ece78f5$1@news.povray.org...
>
> > Is there any way round this?
>
> Try using light_groups.
>
> camera {location -z*5+y*5 look_at y}
> light_group{
> light_source{-z*1000, rgb 1 rotate x*40 rotate y*40}
> sphere{0,1 translate y pigment{rgb x} finish{phong 1}}
> global_lights off
> }
> plane{y,0 pigment{rgb 1} }
> light_source{-z*1000, rgb 1 rotate x*40 rotate y*40 shadowless}
>
> BTW, that was one of the reasons we used a lot of light groups in the space
> image (www.oyonale.com/iss) so that objects wouldn't project shadows on each
> other and still have highlights.
>
> G.
>
>
> --
> **********************
> http://www.oyonale.com
> **********************
> - Graphic experiments
> - POV-Ray and Poser computer images
> - Posters
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
We could do with a seperate no_specular tag or something...
Ah well, it's not a big enough problem for me to bother writing my own patched
version of POV :)
--
Tek
http://www.evilsuperbrain.com
"Philippe Debar" <phd### [at] wanadoobe> wrote in message
news:3ece85d9$1@news.povray.org...
> Not a bug, a feature. Shadowless light_sources were designed to be used
> as fill lights, to simulate interdiffuse reflections which produces no
> noticeable highlights. I guess removing the highlights gave a speed
> boost also.
>
> I know of no speedwise workaround.
>
>
> Povingly,
>
> Philippe
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3ece88e2@news.povray.org> , "Gilles Tran" <git### [at] wanadoofr>
wrote:
> BTW, that was one of the reasons we used a lot of light groups in the space
> image (www.oyonale.com/iss) so that objects wouldn't project shadows on each
> other and still have highlights.
Well, that is after all one of the main reasons why light_groups exist :-)
And they are also fairly fast, or, to be precise, there is next to no speed
penalty on objects not lit by those light sources. Nevertheless,
light_groups could still be a bit faster if shadow rays could be controlled
as well as some people have requested in the past...
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Not a bug, a feature. Shadowless light_sources were designed to be used
>as fill lights, to simulate interdiffuse reflections which produces no
>noticeable highlights.
Yap.. That isn't bug. But I have found a serious problem from POV-Ray
highlights. It's impossible to create some metallic highlights because
POV-Ray takes highlight color from DIFFUSE reflectance..
Matti
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Um... specular highlights take their colour from the light source [and the
pigment colour if it's metallic]. They're not directly related to the diffuse
property.
--
Tek
http://www.evilsuperbrain.com
"Matti Karnaattu" <nomail@nomail> wrote in message
news:web.3ecf8e07ac50e57f84d065310@news.povray.org...
> >Not a bug, a feature. Shadowless light_sources were designed to be used
> >as fill lights, to simulate interdiffuse reflections which produces no
> >noticeable highlights.
>
> Yap.. That isn't bug. But I have found a serious problem from POV-Ray
> highlights. It's impossible to create some metallic highlights because
> POV-Ray takes highlight color from DIFFUSE reflectance..
>
> Matti
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Um... specular highlights take their colour from the light source [and the
> pigment colour if it's metallic]. They're not directly related to the
diffuse
> property.
Unless you're specifying "metallic"
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Try using light_groups.
But I thought that objects in one light group still projected shadows on
objects in a different light group?
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |