POV-Ray : Newsgroups : povray.binaries.programming : Patch for media_attenuation bug : Patch for media_attenuation bug Server Time
18 Sep 2021 02:55:02 EDT (-0400)
  Patch for media_attenuation bug  
From: A  Brinkmann
Date: 28 Jul 2004 13:45:45
Message: <4107e649@news.povray.org>
Hi,

I attached a patch for the media_attenuation bug discussed in the
general newsgroup last week, the thread is called "Fog and media
(once again...)". You will only encounter this bug if you use fog
and media in your scene, with media_attenuation for your light
source turned off (which is the default).

I also attached a picture showing the before/after difference, and
the scene used to produce that picture.

I'm not an experienced POV hacker, so my solution might not be the
best... feedback is welcome, of course. Anyway, I hope somebody
will have a use for it.


Post a reply to this message


Attachments:
Download 'media_attenuation_bug.png' (26 KB) Download 'us-ascii' (1 KB) Download 'us-ascii' (6 KB)

Preview of image 'media_attenuation_bug.png'
media_attenuation_bug.png

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