POV-Ray : Newsgroups : povray.general : Patch idea : Re: Patch idea Server Time
4 Aug 2024 00:24:26 EDT (-0400)
  Re: Patch idea  
From: Warp
Date: 27 Aug 2003 08:42:25
Message: <3f4ca731@news.povray.org>
Christopher James Huff <cja### [at] earthlinknet> wrote:
>> It also explains why media effects slow rendering down tremendously.

> Yes...media is done by marching the ray through the media, sampling it 
> at various points along the ray. Solving it analytically would be 
> faster, but far more limited.

  Fog in POV-Ray is calculated analytically (instead of ray-marching).
We all know how more limited fog is compared to media (and how faster as
well)...

-- 
#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.