POV-Ray : Newsgroups : povray.text.scene-files : Can anyone help me make a spotlight illuminate a dusty room? Server Time
27 Dec 2024 20:45:04 EST (-0500)
  Can anyone help me make a spotlight illuminate a dusty room? (Message 1 to 6 of 6)  
From:
Subject: Can anyone help me make a spotlight illuminate a dusty room?
Date: 27 Jul 1998 20:27:52
Message: <35BD0D3E.7A661812@shaw.wave.ca>
ok, what i want is to have a ball bouncing (no problem) while being
illuminated mostly by an overhead spotlight (no problem) in a dusty room
(ie the spotlight beam is visible - PROBLEM).  i'm not really sure how
to do this, but maybe someone can help me? =)  here's the code i have so
far (rather, most of it... the pertinent part).  i'm pretty sure the
"media" part is wrong, but i have no clue what to change it to.

thanx for any assistance

media {
 scattering { 1, rgb 0.001 }
}

camera {
 location <-15, 10, -40>
 angle 30
 look_at <0, 2, 0>
}

light_source {
 <0, 25, 0>
 colour rgb 1.25
 spotlight
 radius 10
 falloff 15
// tightness 1
 point_at <0, 0, 0>
 area_light
 <0, 5, 0>, <0, 0, 5>, 5, 5
 jitter
 media_attenuation on
 media_interaction off
}

light_source {
 <-15, 10, -40>
 colour rgb 0.25
 shadowless
 media_interaction off
}

sphere {
 <0, 5, 0>, 2
 texture {
  BallTexture
 }
}

plane {
 <0, 1, 0>, -Rad
 texture {
  PlaneTexture
 }
}


Post a reply to this message

From: K  Tyler
Subject: Re: Can anyone help me make a spotlight illuminate a dusty room?
Date: 28 Jul 1998 02:43:44
Message: <35BD56D3.F0961886@pacbell.net>


> ok, what i want is to have a ball bouncing (no problem) while being
> illuminated mostly by an overhead spotlight (no problem) in a dusty room
> (ie the spotlight beam is visible - PROBLEM).  i'm not really sure how
> to do this, but maybe someone can help me? =)  here's the code i have so
> far (rather, most of it... the pertinent part).  i'm pretty sure the
> "media" part is wrong, but i have no clue what to change it to.
>
> thanx for any assistance
>

Take a look at the example scene file in
the docsdemo directoty called atmos1.pov

K.Tyler


Post a reply to this message

From:
Subject: Re: Can anyone help me make a spotlight illuminate a dusty room?
Date: 28 Jul 1998 10:06:13
Message: <35BDCCB3.97D9D8F5@shaw.wave.ca>
> Take a look at the example scene file in
> the docsdemo directoty called atmos1.pov

sorry, let me also add that i'm using pov 3.1  hence, no docsdemo
directory any more.  thanx neways.


Post a reply to this message

From: PoD
Subject: Re: Can anyone help me make a spotlight illuminate a dusty room?
Date: 28 Jul 1998 18:05:28
Message: <35BE3D0D.527E@merlin.net.au>
Shouldn't that be media_interaction on in the spotlight?


Post a reply to this message

From: Jason Anderson
Subject: Re: Can anyone help me make a spotlight illuminate a dusty room?
Date: 2 Aug 1998 15:37:52
Message: <35c4dc61.1862863@news.povray.org>

<rob### [at] shawwaveca> wrote:

>media {
> scattering { 1, rgb 0.001 }

try raising that scattering value...I find that the higher the value,
the thicker the fog/dust/whatever

and the spotlights need to be set to media_interaction on.
media_interaction off means, simply, that the light doesn't interact
with the media, i.e. no cone of light.

Jason


Post a reply to this message

From: Dylan Hall
Subject: Re: Can anyone help me make a spotlight illuminate a dusty room?
Date: 8 Aug 1998 00:48:03
Message: <35CBCA3C.85520814@pegasus.com.au>

> 
> ok, what i want is to have a ball bouncing (no problem) while being
> illuminated mostly by an overhead spotlight (no problem) in a dusty room
> (ie the spotlight beam is visible - PROBLEM).  i'm not really sure how
> to do this, but maybe someone can help me? =)  here's the code i have so
> far (rather, most of it... the pertinent part).  i'm pretty sure the
> "media" part is wrong, but i have no clue what to change it to.
> 
> thanx for any assistance

i found that the keyword extinction in the media statment can make a
huge difference.. try:

  media {
       scattering {1, Gray50 extinction 0.0 }
        }

this creates an effect similar to emission, but only where the spotlight
is, which is a good effect.. i used that media in an image of a sword
backlite by a spotlight.


Post a reply to this message

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