POV-Ray : Newsgroups : povray.binaries.images : Metal Flares - 1 attachment : Re: Softglow example Server Time
15 Nov 2024 06:13:59 EST (-0500)
  Re: Softglow example  
From: Hugo Asm
Date: 17 Aug 2003 14:56:06
Message: <3f3fcfc6@news.povray.org>
Tim Nikias recently wrote something in SDL that makes a softglow on specular
highlights. The code I wrote is another approch to obtain the same effect,
but they are all inefficient compared to postprocessing in C++. MegaPOV0.7
had such a solution on an experimental basis along with motion_blur and
faked focal_blur. I'm not sure wether these features have been dropped.

The softglow is a blurred copy of the image, added to the original image,
using a "lighten" combination. Bright spots (with a brightness above 1) will
be mostly affected. Well, provided the format hasn't already been cropped to
24 bit (8 bit luminance).

The reason for having softglows is to simulate a camera or a human eye, that
catches a strong light and spread it around the lens. The same effect
results in flares. In addition, sometimes a photographer uses a blurring
lens for glamour shots; weddings or portraits.

I've searched on google but couldn't find great examples. So here's just the
docs from the implementation in MegaPOV:
http://astronomy.swin.edu.au/~pbourke/geomformats/megapovplus/#PP_Soft_Glow

And a small example:
http://users.skynet.be/bs936509/povfr1/concept1/povfr-gs-pp.htm

Regards,
Hugo


Post a reply to this message

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