POV-Ray : Newsgroups : povray.newusers : Media - Dust in room : Re: Media - Dust in room Server Time
4 Nov 2024 19:20:41 EST (-0500)
  Re: Media - Dust in room  
From: Warp
Date: 16 Dec 2002 06:05:02
Message: <3dfdb35e@news.povray.org>
Admiral Justin <web### [at] admiraljustincom> wrote:
> What happens is either I don't see any effect, or the entire scene 
> becomes one giant gray mass.

  Hmm? I didn't have any problem in getting a good-looking scattering media
with a little trying:

camera { location <-9,1,-15> look_at 0 angle 55 }
background { rgb 1 }
light_source { <1000,600,-400>, 1 }
light_source { <0,4,-10>,.5 media_interaction off }

union
{ difference
  { box { -<10.5,5.5,16.5>, <10.5,5.5,7.5> }
    box { -<10,5,16>, <10,5,7> }
    box { <9.9, -1, -2.5>, <10.6, 4, 2.5> }
  }
  box { <10, -1, -.25>, <10.5, 4, .25> }
  box { <10, 1.25, -2.5>, <10.5, 1.75, 2.5> }
  pigment { rgb 1 }
}

box
{ <-10.1,-5.1,-2.6>, <10.1, 5.1, 7.1>
  hollow no_shadow
  pigment { rgbt 1 }
  interior
  { media
    { scattering { 1, .1 extinction .2 }
      samples 50,100
    }
  }
}


-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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