POV-Ray : Newsgroups : povray.advanced-users : specular highlight bug? Server Time
1 Nov 2024 01:25:06 EDT (-0400)
  specular highlight bug? (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Tek
Subject: specular highlight bug?
Date: 23 May 2003 15:39:33
Message: <3ece78f5$1@news.povray.org>
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

From: Philippe Debar
Subject: Re: specular highlight bug?
Date: 23 May 2003 16:34:33
Message: <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

From: Gilles Tran
Subject: Re: specular highlight bug?
Date: 23 May 2003 16:47:30
Message: <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

From: Tek
Subject: Re: specular highlight bug?
Date: 23 May 2003 17:35:16
Message: <3ece9414@news.povray.org>
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

From: Tek
Subject: Re: specular highlight bug?
Date: 23 May 2003 17:36:49
Message: <3ece9471$1@news.povray.org>
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

From: Thorsten Froehlich
Subject: Re: specular highlight bug?
Date: 24 May 2003 02:40:03
Message: <3ecf13c3@news.povray.org>
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

From: Matti Karnaattu
Subject: Re: specular highlight bug?
Date: 24 May 2003 11:25:01
Message: <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

From: Tek
Subject: Re: specular highlight bug?
Date: 25 May 2003 17:59:34
Message: <3ed13cc6@news.povray.org>
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

From: Slime
Subject: Re: specular highlight bug?
Date: 26 May 2003 03:19:18
Message: <3ed1bff6$1@news.povray.org>
> 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

From: Slime
Subject: Re: specular highlight bug?
Date: 26 May 2003 03:22:25
Message: <3ed1c0b1@news.povray.org>
> 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

Goto Latest 10 Messages Next 2 Messages >>>

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