POV-Ray : Newsgroups : povray.binaries.images : Shadowless spotlight Server Time
19 Nov 2024 12:21:16 EST (-0500)
  Shadowless spotlight (Message 1 to 5 of 5)  
From: Przemek Loesch
Subject: Shadowless spotlight
Date: 8 Feb 2005 04:25:00
Message: <web.42088446de5bce68b0aac12c0@news.povray.org>
See the message describing this problem in p.g:
http://news.povray.org/web.4207f0fd47077f18b0aac12c0%40news.povray.org

The attached image was produced with the following code:

camera {
  location <0,10,-35>
  look_at <0,10,0>
}

union {
  box {<-20,0,0>, <-10,20,10>}
  box {<-5,0,0>, <5,20,10>}
  box {<10,0,0>, <20,20,10>}
  clipped_by {plane {-z, -1}}
  pigment {rgb 1}
}

plane {y,-1 pigment {rgb <1,1,0>}}

#declare spot = cone{<0,-1,0>, 1, <0,0,0>, 0 pigment {rgb 1} finish {ambient
1}}

light_source {      // middle - unmodified
  <0,10,5>
  rgb 1
  spotlight
  radius 30
  falloff 45
  tightness 0
  point_at <0,0,5>
  looks_like {spot}
}

light_source {      // left:
  <-15,10,5>        // "shadowless" before spotlight defs
  rgb 1             // turns into a point light
  shadowless
  spotlight
  radius 30
  falloff 45
  tightness 0
  point_at <-15,0,5>
  looks_like {spot}
}

light_source {      // right:
  <15,10,5>         // "shadowless" after spotlight defs
  rgb 1             // no effect
  spotlight
  radius 30
  falloff 45
  tightness 0
  point_at <15,0,5>
  shadowless
  looks_like {spot}
}


Post a reply to this message


Attachments:
Download 'shadowless_spot.jpg' (16 KB)

Preview of image 'shadowless_spot.jpg'
shadowless_spot.jpg


 

From: Flash Nick
Subject: Re: Shadowless spotlight
Date: 8 Feb 2005 05:07:47
Message: <42088f73@news.povray.org>
It's pointing at itself.


Post a reply to this message

From: Przemek Loesch
Subject: Re: Shadowless spotlight
Date: 8 Feb 2005 07:40:01
Message: <web.4208b2b64f709a77b0aac12c0@news.povray.org>
Flash Nick <NOS### [at] NOSPAMSPAMLESSSPAMFREECOM> wrote:
> It's pointing at itself.

???

The lightsource or the link to the message?


Post a reply to this message

From: Przemek Loesch
Subject: Re: Shadowless spotlight
Date: 8 Feb 2005 08:00:02
Message: <web.4208b74e4f709a77b0aac12c0@news.povray.org>
> light_source {      // left:
>   <-15,10,5>        // "shadowless" before spotlight defs
>   rgb 1             // turns into a point light

> light_source {      // right:
>   <15,10,5>         // "shadowless" after spotlight defs
>   rgb 1             // no effect

Sorry, I've commented these two light incorrectly. Left one has no effect in
shadow and the right one turns into a point light.

Przemek


Post a reply to this message

From: Lance Birch
Subject: Re: Shadowless spotlight
Date: 8 Feb 2005 08:03:02
Message: <4208b886@news.povray.org>
"Flash Nick" <NOS### [at] NOSPAMSPAMLESSSPAMFREECOM> wrote in message
news:42088f73@news.povray.org...
> It's pointing at itself.

No it isn't.

Lance.

thezone - thezone.firewave.com.au
thehandle - www.thehandle.com


Post a reply to this message

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