|
![](/i/fill.gif) |
Ah. Perhaps a note in the docs would be fitting?
Warp wrote:
> Tim Nikias <tim### [at] gmx de> wrote:
> > Build simple scene:
> > camera + two lightsources + media (without container)
>
> > You get:
> > Black image.
>
> Correct behaviour.
> Perhaps not the desired behaviour, but the expected one.
> The problem is that POV-Ray can't sample media along an infinitely long
> ray. There's just no way it can do that. The ray must be finite in order
> to be possible to sample. This means that sampling media is only possible
> for rays that hit an object.
> Another way of being able to sample media is using spotlights because also
> in this case the ray is not infinite (it is sampled only inside the spotlight
> cone).
>
> --
> #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 -
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
Post a reply to this message
|
![](/i/fill.gif) |