POV-Ray : Newsgroups : povray.text.scene-files : Dusty media shadow ? Server Time
26 Jun 2024 04:33:20 EDT (-0400)
  Dusty media shadow ? (Message 1 to 2 of 2)  
From: Hugo Asm
Subject: Dusty media shadow ?
Date: 10 Aug 2003 18:42:41
Message: <3f36ca61@news.povray.org>
// See thread with same name, posted at p.b.general.
// I'm after a stronger shadow-in-the-dust effect while
// preserving a discrete fog in the picture.

#version unofficial megapov 1.0;

global_settings {
 assumed_gamma 1
 exposure .1
 exposure_gain 44
}


#declare Cam_Location = <0,3.9,-12>*2.5;
#declare Cam_Lookat = 0;

camera {
 location Cam_Location
 look_at Cam_Lookat
 angle 45
}


#default { finish { ambient 0 } }
box { -<4,3,4>,<4,5,4> pigment { rgb .45 } rotate 30*y }
plane { y,-3 pigment { rgb .2 } }


light_source {
 vrotate ( Cam_Location,<42,54,0>), 325
 spotlight radius 12 falloff 24 point_at Cam_Lookat
 fade_distance 1 fade_power 2

 media_interaction on
 media_attenuation off
}


media {
 scattering { 1, .002 extinction 2 }
 intervals 1
 samples 20
 method 3
}


Post a reply to this message

From: Hughes, B 
Subject: Re: Dusty media shadow ?
Date: 11 Aug 2003 00:31:27
Message: <3f371c1f@news.povray.org>
/* as you can see (after rendering this) I can't seem to get
 anything to work right when I try to enhance the shadow this way.
Maybe you'll understand what I was doing. This was using POV-Ray 3.5 */

#version 3.5; //unofficial megapov 1.0;

global_settings {
 assumed_gamma 1
// exposure .1
// exposure_gain 44
}


#declare Cam_Location = <0,3.9,-12>*2.5;
#declare Cam_Lookat = 0;

camera {
 location Cam_Location
 look_at Cam_Lookat
 angle 45
}


#default { finish { ambient 0 } }

light_group {

box { -<4,3,4>,<4,5,4> pigment { rgb .45 } rotate 30*y }
plane { y,-3 pigment { rgb .2 } }

light_source {
 vrotate ( Cam_Location,<42,54,0>), 3
 spotlight radius 12 falloff 24 point_at Cam_Lookat
 fade_distance 10 fade_power 2

 media_interaction on
 media_attenuation on
}


box {-1,1 scale <15,15,15> hollow
 pigment {rgbf 1}
 interior {
  media {
 method 3
 samples 30
 scattering { 1, .001 extinction 1 }
  }
 }
}
}

light_group {

//plane { y,-3 pigment { rgb 1 } }

light_source {
 vrotate ( Cam_Location,<42,54,0>), 33
 spotlight radius 12 falloff 24 point_at Cam_Lookat
 fade_distance 10 fade_power 2
projected_through {
box { -<4,3,4>*.9999,<4,5,4>*.9999 pigment { rgb .45 } rotate 30*y
no_shadow}
}
 media_interaction on
 media_attenuation on
}


box {-1,1 scale <15,15,15>*.9999 hollow
 pigment {rgbf 1}
 interior {
  media {
 method 3
 samples 30
 scattering { 1, .005 extinction 0 }
  }
 }
}
}


Post a reply to this message

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