|
|
On Mon, 28 Mar 2011 08:58:26 +0200, Thomas de Groot
<tDOTdegroot@interdotnlanotherdotnet> wrote:
>
> "Nekar Xenos" <nek### [at] gmailcom> schreef in bericht
> news:op.vs0ao1i0ufxv4h@xena...
>> I'm sure this will be corrected if you remove the spherical media at the
>> lights and use the method I described earlier in conjunction with
>> spotlights.
>
> And get better halos? Remind me where you described this, I seem to have
> forgotten... :-(
>
> Thomas
>
>
I played a bit with media1.pov to get the effect:
///////////////begin code////////////////////////
// Persistence of Vision Raytracer Scene Description File
// File: media1.pov
// Author:
// Description:
// Participating media environment with spotlights.
//
// -w320 -h240
// -w800 -h600 +a0.3
//
//*******************************************
#version 3.6;
global_settings {assumed_gamma 1.0}
//
// The camera.
//
camera {
location <10, 6, -20>
direction <0, 0, 1.5>
look_at <0, 4, 0>
}
//
// Add media.
//
media {
scattering { 1, rgb 0.03}
intervals 1
samples 5
method 3
}
//
// Light source not interacting with the atmosphere.
//
/*
light_source { <0, 15, 0> color rgb 0.7
media_interaction off
shadowless
} */
//
// Spotlight
//
#declare Intensity = 2;
light_source {
<0, 9, -5> color rgb 2
spotlight
point_at <0, 5, 0>
radius 45
falloff 60
tightness 1
fade_distance 5
fade_power 2
media_attenuation on
}
//
// Room.
//
box { <-20, 0, -20>, <20, 20, 20>
pigment { rgb 1 }
finish { ambient 0.2 diffuse 0.5 }
hollow
}
//////////End code///////////////////
--
-Nekar Xenos-
Post a reply to this message
Attachments:
Download 'mediatest.png' (5 KB)
Preview of image 'mediatest.png'
|
|