POV-Ray : Newsgroups : povray.text.scene-files : Can anyone help me make a spotlight illuminate a dusty room? : Re: Can anyone help me make a spotlight illuminate a dusty room? Server Time
29 Jul 2024 02:20:30 EDT (-0400)
  Re: Can anyone help me make a spotlight illuminate a dusty room?  
From: Dylan Hall
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.