POV-Ray : Newsgroups : povray.general : Atmospheric Media Server Time
15 Nov 2024 17:14:47 EST (-0500)
  Atmospheric Media (Message 1 to 5 of 5)  
From: Darcy Johnston
Subject: Atmospheric Media
Date: 3 Jan 1999 14:23:02
Message: <368fc396.0@news.povray.org>
Can anyone possibly offer any help here? I've been trying to setup some
atmosphere using media, hoping to have spotlighs running through it. I've
followed the examples files that came with the distribution, but I can't get
my light beams to show up in the media?

My media statement is:
media {
  intervals 40
  scattering { 1, rgb 0.02}
  samples 1, 10
  confidence 0.9999
  variance 1/1000
  ratio 0.9
}

And my lights are just spotlights with media_attenuation on. I've placed
regular cones to verify that the beams should be within my field of view,
but even though the cones show up, the beams never do (and yes, I have
removed the cones <g>).

Any help would be appreciated,
Darcy
djo### [at] inamecomNOSPAM
http://www.geocities.com/SiliconValley/Sector/4317


Post a reply to this message

From: Ken
Subject: Re: Atmospheric Media
Date: 3 Jan 1999 14:28:28
Message: <368FC46C.C4372D79@pacbell.net>
Darcy Johnston wrote:

> Can anyone possibly offer any help here? I've been trying to setup some
> atmosphere using media, hoping to have spotlighs running through it. I've
> followed the examples files that came with the distribution, but I can't get
> my light beams to show up in the media?
>
> My media statement is:
> media {
>   intervals 40
>   scattering { 1, rgb 0.02}
>   samples 1, 10
>   confidence 0.9999
>   variance 1/1000
>   ratio 0.9
> }
>
> And my lights are just spotlights with media_attenuation on. I've placed
> regular cones to verify that the beams should be within my field of view,
> but even though the cones show up, the beams never do (and yes, I have
> removed the cones <g>).
>
> Any help would be appreciated,
> Darcy
> djo### [at] inamecomNOSPAM
> http://www.geocities.com/SiliconValley/Sector/4317

Are you using high intensity spot lights ? I noticed in the example
scenes they have the color values pumped up to a fairly high level.

Try something like color rgb<3,3,3> and see what happens.

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Darcy Johnston
Subject: Re: Atmospheric Media
Date: 3 Jan 1999 17:38:48
Message: <368ff178.0@news.povray.org>
Ken wrote in message <368FC46C.C4372D79@pacbell.net>...
>Darcy Johnston wrote:
>
>> Can anyone possibly offer any help here? I've been trying to setup some
>> atmosphere using media, hoping to have spotlighs running through it. I've
>> followed the examples files that came with the distribution, but I can't
get
>> my light beams to show up in the media?
[...]
>> And my lights are just spotlights with media_attenuation on. I've placed
>> regular cones to verify that the beams should be within my field of view,
>> but even though the cones show up, the beams never do (and yes, I have
>> removed the cones <g>).


>Are you using high intensity spot lights ? I noticed in the example
>scenes they have the color values pumped up to a fairly high level.
>
>Try something like color rgb<3,3,3> and see what happens.


Thanks, I tried intensifying my lights and that seems to have done the
trick.
Although in my case I decided to crank it all the way to 15 or so. :)

Thanks again,
Darcy
djo### [at] inamecomNOSPAM
http://www.geocities.com/SiliconValley/Sector/4317


Post a reply to this message

From: Dan Connelly
Subject: Re: Atmospheric Media
Date: 3 Jan 1999 19:14:28
Message: <369007DE.D125B415@flash.net>
Darcy Johnston wrote:
>
> Thanks, I tried intensifying my lights and that seems to have done the
> trick.
> Although in my case I decided to crank it all the way to 15 or so. :)

Did you try reducing "extinction" from the default of 1 ?

Dan


-- 
http://www.flash.net/~djconnel/


Post a reply to this message

From: Bob Hughes
Subject: Re: Atmospheric Media
Date: 4 Jan 1999 23:39:02
Message: <3691975F.9ADB5981@aol.com>
As Dan said about extinction in scattering statement a lower value than
1 typically increases brightness of the media interacted by lights,
however as Ken suggested about using more intense lights (I do use 1.5
total light color though) that may not be the way to go, especially rgb
15! Reason being, the rest of a scene needs to be considered; most of
all, textures.
Try increasing the scattering rgb instead.
Here's a complete pov script showing a spotlight illuminating the "air".
Please keep in mind this is all I've been able to come up with to check
atmosphere making so beware.

//BEGIN (check for line-wrapping)
light_source {
  0*x
  color rgb 1 //normal enough intensity for testing
  spotlight
  translate <-2, 0, 0>
  point_at <0, 0, 0>
  radius 15
  tightness 1 //default is 10
  falloff 30
  fade_distance 2 fade_power 1 //reduce reach
  media_interaction on
   media_attenuation off //with this off render speeds up considerably
}

camera { //an offset point of view
  location  <-3, 0,-9>
  direction 3*z
  look_at   <0, 0, 0>
}

//the "air" media
media {
 intervals 15 //if more than 2 lights, increase this integer
 samples 10,20
  confidence 0.96 //these two values don't have to be extremely high and
low
  variance 1/123
//ratio lower than 1 increases graininess at light/dark boundaries of
spotlights
   ratio 1
 //emission rgb .1 //not needed
 //absorption rgb .1 //not needed
 scattering {1,rgb .5 //increase rgb value for brighter lit "air",
darker unlit
  extinction .005} //zero if using sky_sphere
 density {rgb .5} //increase rgb value for brighter lit "air", darker
unlit
} //the scattering and density are of prime importance, density lesser
of two

//control object (should show up even if air does not)
box {-.5,.5 pigment {rgb 1} finish {ambient .1} rotate <30,30,30>
translate 1*x hollow}

//non-interacting light
light_source {<-2.5,-5,-10> color rgb .5 media_interaction off
media_attenuation off}

//comment out to see with sky_sphere instead
sphere {0,15 pigment {rgb<.3,.6,.9>} hollow}

sky_sphere { // daytime
  pigment
  {
    gradient y
    color_map { [0.0 color rgb<0.8,0.9,1.0>] [1.0 color
rgb<0.6,0.7,0.9>] }
  }
}
//END

Darcy Johnston wrote:
> 
> Can anyone possibly offer any help here? I've been trying to setup some
> atmosphere using media, hoping to have spotlighs running through it. I've
> followed the examples files that came with the distribution, but I can't get
> my light beams to show up in the media?
> 
> My media statement is:
> media {
>   intervals 40
>   scattering { 1, rgb 0.02}
>   samples 1, 10
>   confidence 0.9999
>   variance 1/1000
>   ratio 0.9
> }
> 
> And my lights are just spotlights with media_attenuation on. I've placed
> regular cones to verify that the beams should be within my field of view,
> but even though the cones show up, the beams never do (and yes, I have
> removed the cones <g>).
> 
> Any help would be appreciated,
> Darcy
> djo### [at] inamecomNOSPAM
> http://www.geocities.com/SiliconValley/Sector/4317

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
=Bob


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

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