POV-Ray : Newsgroups : povray.binaries.images : Flares Plugin Server Time
2 Aug 2024 08:17:29 EDT (-0400)
  Flares Plugin (Message 1 to 8 of 8)  
From: Zeger Knaepen
Subject: Flares Plugin
Date: 1 Nov 2007 18:58:16
Message: <472a6818@news.povray.org>
The past 2 weeks I've been working on my lensflare-macros, and I think it's 
more or less complete now.  There are 22 pre-defined flare-types (20 ports 
of Colefax's lens effects and 2 of my own), there's a randomized type 
(directly copied from Colefax's system), and 4 types of "visual effects" 
(noise, negative, contrast and brightness).

This image uses one of my own effects.  It also uses the noise, contrast and 
brightness visual effects.

It's slightly slower than Colefax's system, but gives more accurate results, 
and doesn't need a high max_trace_level (this image has a max_trace_level of 
5)

Source posted to p.b.s-f

I still need to write some documentation though...

but anyway! does it look believable?

cu!


Post a reply to this message


Attachments:
Download 'flares_test.jpg' (116 KB)

Preview of image 'flares_test.jpg'
flares_test.jpg


 

From: Nekar Xenos
Subject: Re: Flares Plugin
Date: 2 Nov 2007 02:04:43
Message: <472acc0b@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote in message 
news:472a6818@news.povray.org...
> The past 2 weeks I've been working on my lensflare-macros, and I think 
> it's more or less complete now.  There are 22 pre-defined flare-types (20 
> ports of Colefax's lens effects and 2 of my own), there's a randomized 
> type (directly copied from Colefax's system), and 4 types of "visual 
> effects" (noise, negative, contrast and brightness).
>
> This image uses one of my own effects.  It also uses the noise, contrast 
> and brightness visual effects.
>
> It's slightly slower than Colefax's system, but gives more accurate 
> results, and doesn't need a high max_trace_level (this image has a 
> max_trace_level of 5)
>
> Source posted to p.b.s-f
>
> I still need to write some documentation though...
>
> but anyway! does it look believable?

The first impression is a "bad" photograph :o)
I think you're moving in the right direction, the yellow is too dark though.


-- 
-Nekar Xenos-


Post a reply to this message

From: Woland
Subject: Re: Flares Plugin
Date: 2 Nov 2007 10:35:00
Message: <web.472b432f8550f2da817d81a80@news.povray.org>
WOW ! :o)


Post a reply to this message

From: nemesis
Subject: Re: Flares Plugin
Date: 2 Nov 2007 11:25:01
Message: <web.472b4ec48550f2da2c10637b0@news.povray.org>
very nice, but can't say it looks exatcly realistic:  the light source from the
boat's lamp is too bright for such a sunny day!  But the flares are good
looking no doubt...


Post a reply to this message

From: dlm
Subject: Re: Flares Plugin
Date: 2 Nov 2007 12:33:10
Message: <472b5f56$2@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote in message 
news:472a6818@news.povray.org...
> but anyway! does it look believable?

Believable?
What do you want me to believe? That you were using a camera with multiple 
imperfect lens elements and a six section aperture ring? You succeeded. I 
assume that the trails intersect the 'look at' axis.

I would expect in a simulation of a photograph that the contrast would drop 
dramatically as the imperfections and internal reflections that cause lens 
flare would also produce diffuse glare on the film.

Can you simulate the optics of modern, cheap fixed focus cameras (circular 
apperture, fewer, dirtier lens elements) and so forth?

Nice work. Keep it up.

DLM


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Flares Plugin
Date: 3 Nov 2007 01:48:35
Message: <472c19c3@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote in message 
news:web.472b4ec48550f2da2c10637b0@news.povray.org...
> very nice, but can't say it looks exatcly realistic:  the light source 
> from the
> boat's lamp is too bright for such a sunny day!

I agree, but that can be changed of course :)

> But the flares are good
> looking no doubt...

tnx!

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Flares Plugin
Date: 3 Nov 2007 01:49:16
Message: <472c19ec$1@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote in message 
news:472acc0b@news.povray.org...
> The first impression is a "bad" photograph :o)

I suppose that's the impression I was going for :p

> I think you're moving in the right direction, the yellow is too dark 
> though.

yes, I agree.  Can be changed of course.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Flares Plugin
Date: 3 Nov 2007 02:11:56
Message: <472c1f3c@news.povray.org>
"dlm" <me### [at] addressinvalid> wrote in message 
news:472b5f56$2@news.povray.org...
> Believable?
> What do you want me to believe? That you were using a camera with multiple 
> imperfect lens elements and a six section aperture ring? You succeeded. I 
> assume that the trails intersect the 'look at' axis.
>
> I would expect in a simulation of a photograph that the contrast would 
> drop dramatically as the imperfections and internal reflections that cause 
> lens flare would also produce diffuse glare on the film.

I suppose that can be simulated by using a lower contrast filter (which is 
done by adding Flares_VisualEffect("contrast",.5) to the beginning of the 
scene, right after including "flares_types.inc")

> Can you simulate the optics of modern, cheap fixed focus cameras (circular 
> apperture, fewer, dirtier lens elements) and so forth?

Can see no reason why not.  There are 22 prebuilt lensflares included, and 
if none of those fit your needs, you can always make your own kind out of 10 
kinds of glows, 9 kinds of "rays", 9 kinds of "streaks" and 11 kinds of 
spots.  And if none of those flare-parts look the way you like it, you can 
always make your own.  So in theory, anything's possible.

> Nice work. Keep it up.

thanks! :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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