POV-Ray : Newsgroups : povray.beta-test : Media broken? : Re: Media broken? Server Time
29 Jul 2024 12:28:45 EDT (-0400)
  Re: Media broken?  
From: Tim Nikias
Date: 7 May 2002 00:38:24
Message: <3CD75A15.1095A02E@gmx.de>
Ah. Perhaps a note in the docs would be fitting?

Warp wrote:

> Tim Nikias <tim### [at] gmxde> 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] gmxde


Post a reply to this message

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