|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi!
Im doing a dark alleyway scene, and im experimenting with media a bit...
http://img132.imageshack.us/img132/4606/alley2ru4.jpg
want these "clouds" that appear, probably as a result of the density
thing..
If you got any tips, please help me.
/rush
----------the media code-----------
media { // atmospheric media sample
intervals 10 //10
scattering { 1, 0.05 extinction 0.5 }
density {
bumps
frequency 2 // <- add this line
color_map {
[0.00 color Gray20]
[0.50 color Gray40]
[1.00 color Gray20]
}
}
samples 1, 10
confidence 0.9999
variance 1/1000
ratio 0.9 //0.9
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Well... setting all the colors in the color map to the same did the trick...
Probably not the A+ way to do it, but who can tell on the outcome.. ;)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
RusHHouR nous apporta ses lumieres en ce 01-01-2007 05:34:
> Hi!
> Im doing a dark alleyway scene, and im experimenting with media a bit...
> http://img132.imageshack.us/img132/4606/alley2ru4.jpg
> want these "clouds" that appear, probably as a result of the density
> thing..
> If you got any tips, please help me.
> /rush
> ----------the media code-----------
> media { // atmospheric media sample
> intervals 10 //10
> scattering { 1, 0.05 extinction 0.5 }
> density {
> bumps
> frequency 2 // <- add this line
> color_map {
> [0.00 color Gray20]
> [0.50 color Gray40]
> [1.00 color Gray20]
> }
> }
> samples 1, 10
> confidence 0.9999
> variance 1/1000
> ratio 0.9 //0.9
> }
One thing that you can do, is to contain your media in some container. In your
case, a cone with the sumit slightly over the light and a bit larger than the
light's cone would probably do nice.
As a side bonus, it would render faster as the media will now only be computed
where it's visible.
cone{<0,10,0>,0,0,Light_radius+0.1//adjust dimentions and translate as needed
pigment{rgbt 1}//perfectly transparent
hollow//so it can contain the media. It's the only use of that keyword.
interior{Your_media}
}
--
Alain
-------------------------------------------------
If you're ever about to be mugged by a couple of clowns, don't hesitate - go for
the juggler.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain <ele### [at] netscapenet> wrote:
> RusHHouR nous apporta ses lumieres en ce 01-01-2007 05:34:
> > Hi!
>
> > Im doing a dark alleyway scene, and im experimenting with media a bit...
>
> > http://img132.imageshack.us/img132/4606/alley2ru4.jpg
>
> > want these "clouds" that appear, probably as a result of the density
> > thing..
>
> > If you got any tips, please help me.
> > /rush
>
>
> > ----------the media code-----------
> > media { // atmospheric media sample
> > intervals 10 //10
> > scattering { 1, 0.05 extinction 0.5 }
> > density {
> > bumps
> > frequency 2 // <- add this line
> > color_map {
> > [0.00 color Gray20]
> > [0.50 color Gray40]
> > [1.00 color Gray20]
> > }
> > }
> > samples 1, 10
> > confidence 0.9999
> > variance 1/1000
> > ratio 0.9 //0.9
> > }
>
>
>
>
> One thing that you can do, is to contain your media in some container. In your
> case, a cone with the sumit slightly over the light and a bit larger than the
> light's cone would probably do nice.
> As a side bonus, it would render faster as the media will now only be computed
> where it's visible.
> cone{<0,10,0>,0,0,Light_radius+0.1//adjust dimentions and translate as needed
> pigment{rgbt 1}//perfectly transparent
> hollow//so it can contain the media. It's the only use of that keyword.
> interior{Your_media}
> }
>
> --
> Alain
> -------------------------------------------------
> If you're ever about to be mugged by a couple of clowns, don't hesitate - go for
> the juggler.
Its not harder than that?!
Kewl! And rendering times _were_ getting outta hand...
Thanks!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|