POV-Ray : Newsgroups : moray.win : soft shadows Server Time
5 Jul 2024 08:32:25 EDT (-0400)
  soft shadows (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Lawrence Winstead
Subject: Re: soft shadows
Date: 10 Jan 2002 10:44:14
Message: <3C3DB6C6.5755CD9A@duratechindustries.net>
I agree that your render will be slower.  Also keep in mind that if your forget
to lower the
magnitude for each individual point light, your scene might be a bit brighter
than expected,
whereas an area light only has one magnitude value to worry about.

-Lawrence

Jan Walzer wrote:

> I can't really believe that ...
>
> especially, if they are at the same position, how can the shadows become
> smooth ?
> if you distribute them a little bit, you do the same thing, as area_lights
> do,
> but a_l do more ... They don't need so much light_sources as they support
> jitter and adaptive sampling ...
>
> Note: The more lightsources you have, the slower your rendering will be ...
>
> --
> "Somehow what you suggest is like suggesting to add drills \ jan### [at] lzernet
> to cars so you can drill for oil when you run out of fuel.  \
> Sure you could do it, but it might not be the most practical >          Jan
> solution." [Thorsten Froehlich in p.u.p]                    /        Walzer


Post a reply to this message

From: Warp
Subject: Re: soft shadows
Date: 10 Jan 2002 10:51:18
Message: <3c3db875@news.povray.org>
Alex Wolff <ale### [at] gmxde> wrote:
: and rendering seems to be much faster than with area lights.

  This can't be true.
  You are probably creating a non-adaptive area light with 100 points and
comparing it with 10 individual point lights.
  Create the area_light with the same amount of points as your trick and
use adaptiveness (eg. adaptive 0, adaptive 1 or whatever is the smallest
number which gives a good result). The area_light should render a lot faster.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Jamie Davison
Subject: Re: soft shadows
Date: 10 Jan 2002 14:35:59
Message: <MPG.16a6e8067e3bb22a989aa7@news.povray.org>
On 9 Jan 2002 18:40:42 -0500, Warp wrote...
> Txemi Jendrix <tji### [at] euskalnetnet> wrote:
> : I think the soft shadows with spot and point lights can be obtained using
> : fade_power and fade_distance.
> 
>   Not really. You need area_light for that.

Or you can use lots and lots of point lights or spotlights with 
fade_power etc set.  I know you can 'cos i've done it when I got bored. 
:)

Bye for now,
     Jamie.


Post a reply to this message

From: Warp
Subject: Re: soft shadows
Date: 10 Jan 2002 19:40:23
Message: <3c3e3477@news.povray.org>
Jamie Davison <jam### [at] ntlworldcom> wrote:
:>   Not really. You need area_light for that.

: Or you can use lots and lots of point lights or spotlights with 
: fade_power etc set.

  But why would you want to do so? area_lights do exactly that, but you
can use adaptive sampling in order to seed up the rendering.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Charles Panke
Subject: Re: soft shadows
Date: 11 Jan 2002 01:34:26
Message: <3c3e8772$1@news.povray.org>
Isn't there a 'soft shadows'-Feature in POV3.5?
If so (I don't know really) this should be supported
in a future version of moray.
Very neccessary!

-C-H-A-R-L-E-S-


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: soft shadows
Date: 11 Jan 2002 09:19:44
Message: <3c3ef480@news.povray.org>
> Isn't there a 'soft shadows'-Feature in POV3.5?
> If so (I don't know really) this should be supported
> in a future version of moray.
> Very neccessary!

use an area light instead or a point light

point lights are just that, all the light comes from an infinitely small
point, you will get perfect hard edged shadows

area lights are essentially a grid of point lights, except you can have the
samples merged - giving you soft shadows (the default settings)

just has a play with only area lights


--

Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Antonio Garrido
Subject: Re: soft shadows
Date: 11 Jan 2002 09:40:39
Message: <3c3ef967@news.povray.org>
But I dont want to use area lights. I want to get soft edges with
spotlights. I have seen some kind of example for doing it in povray.
Could I use spotlight in moray, send the file to pov ray, re-write de file
modifyng the spolight settings and re-run the render? Thanks.
Antonio.
Example.

light_source {
    <20, 30, -15>
    color White
    spotlight
    radius 6
    falloff 8
    tightness 10
    area_light <5, 0, 0>, <0, 0, 5>, 3, 3
    adaptive 1
    jitter
    point_at <-.7, 0, 2>
}

light_source {
    <-20, 30, -3>
    color Blue
    spotlight
    radius 4
    falloff 6
    tightness 10
    area_light <5, 0, 0>, <0, 0, 5>, 3, 3
    adaptive 1
    jitter
    point_at <-1, 0, 0>
}

light_source {
    <20, 30, -3>
    color Red
    spotlight
    radius 4
    falloff 6
    tightness 10
    area_light <5, 0, 0>, <0, 0, 5>, 3, 3
    adaptive 1
    jitter
    point_at <1, 0, 0>
}


Post a reply to this message

From: Warp
Subject: Re: soft shadows
Date: 11 Jan 2002 10:07:38
Message: <3c3effba@news.povray.org>
Antonio Garrido <aga### [at] ctves> wrote:
: But I dont want to use area lights. I want to get soft edges with
: spotlights.

  Do you mean that Moray doesn't support lights which are spotlights and
area lights at the same time?

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Jamie Davison
Subject: Re: soft shadows
Date: 11 Jan 2002 15:20:47
Message: <MPG.16a9599a588f0d68989aa8@news.povray.org>
> :>   Not really. You need area_light for that.
> 
> : Or you can use lots and lots of point lights or spotlights with 
> : fade_power etc set.
> 
>   But why would you want to do so? area_lights do exactly that, but you
> can use adaptive sampling in order to seed up the rendering.

I didn't say you waould want to, I was merely correcting your assertion 
that you *had* to use area lights.

Bye for now,
     Jamie.


Post a reply to this message

From: Jan Walzer
Subject: Re: soft shadows
Date: 11 Jan 2002 19:24:50
Message: <3c3f8252$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> schrieb im Newsbeitrag
news:3c3effba@news.povray.org...
> Antonio Garrido <aga### [at] ctves> wrote:
> : But I dont want to use area lights. I want to get soft edges with
> : spotlights.
>
>   Do you mean that Moray doesn't support lights which are spotlights and
> area lights at the same time?


this is of course true for moray ... you can't have both for one
lightsource...
maybe lutz can correct this in his next patch ... but it's been there since
Moray3

--
"Somehow what you suggest is like suggesting to add drills \ jan### [at] lzernet
to cars so you can drill for oil when you run out of fuel.  \
Sure you could do it, but it might not be the most practical >          Jan
solution." [Thorsten Froehlich in p.u.p]                    /        Walzer


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

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