POV-Ray : Newsgroups : povray.binaries.programming : Patch for media_attenuation bug Server Time
22 Dec 2024 06:55:06 EST (-0500)
  Patch for media_attenuation bug (Message 1 to 1 of 1)  
From: A  Brinkmann
Subject: Patch for media_attenuation bug
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-2023 Persistence of Vision Raytracer Pty. Ltd.