POV-Ray : Newsgroups : povray.general : dust Server Time
8 Aug 2024 08:16:58 EDT (-0400)
  dust (Message 1 to 3 of 3)  
From: Jason Scott
Subject: dust
Date: 16 Feb 2001 22:08:15
Message: <3a8deb1f@news.povray.org>
How would I light visible in a fog or a dust like scene ? I can't figure it
out.


Post a reply to this message

From: Margus Ramst
Subject: Re: dust
Date: 16 Feb 2001 22:51:33
Message: <3a8df545$1@news.povray.org>
"Jason Scott" <fir### [at] hotmailcom> wrote:

> How would I light visible in a fog or a dust like scene ? I can't figure
> it out.

See the docs concerning "scattering media", this should do exactly what
you want (i.e. make light beams visible in the atmosphere).
You'll also need to look at the example scenes included with POV
(in the interior\media\ section) and do some experimenting to find the
settings that satisfy you.

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg
Home page http://www.hot.ee/margusrt


Post a reply to this message

From: Warp
Subject: Re: dust
Date: 19 Feb 2001 09:39:17
Message: <3a913015@news.povray.org>
#version Unofficial MegaPov 0.6;

global_settings { ambient_light 2 }
camera { location <-4,2,-10> look_at -x angle 35 }
light_source
{ <10,10,0>, 1
  spotlight point_at 0 radius 8 falloff 10
}
plane { y,-1 pigment { checker rgb 1, rgb .5 } }

media
{ scattering { 1, .2 extinction .2 }
  density { rgb 1 }
  method 3
}

difference
{ box { -1,1 }
  box { <-1.01,-.75,-.75><1.01,.75,.75> }
  box { <-.75,-1.01,-.75><.75,1.01,.75> }
  box { <-.75,-.75,-1.01><.75,.75,1.01> }
  pigment { rgb <1,.5,0> }
  rotate y*35
}


-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

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