POV-Ray : Newsgroups : povray.binaries.images : Postprocessing camera (d)effects with POV-Ray Server Time
12 May 2024 00:11:32 EDT (-0400)
  Postprocessing camera (d)effects with POV-Ray (Message 1 to 10 of 17)  
Goto Latest 10 Messages Next 7 Messages >>>
From: Jaime Vives Piqueres
Subject: Postprocessing camera (d)effects with POV-Ray
Date: 27 Dec 2009 15:29:02
Message: <4b37c38e@news.povray.org>
Yes... again, I started something else before finishing the latest project.

And as usual, it started with something innocent: I was looking at the
terrific entries on the 3dRender.com Lighting Challenge, and I noticed one
of them had a subtle chromatic aberration effect that looked very
convincing. I was trying to emulate it with The Gimp, when I figured it
would be not difficult to do it within POV-Ray, with the help of screen.inc.

As the chromatic aberration did work nicely, I tried to simulate other
camera defects: distortion, vignetting, blue-channel noise, dust on the
lens... I was like possessed by Sam Benge, and nothing seemed too difficult,
so I tried next some effects: bloom and cross screen filter... anyone wants
any other specific (d)effect? :)


-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message


Attachments:
Download 'reloj-hdr-cdpp-csf.jpg' (98 KB) Download 'columns-13a-cdpp.jpg' (213 KB) Download 'e-track-6-01-cdpp.jpg' (98 KB) Download 'opensea-cdpp-csf.jpg' (587 KB)

Preview of image 'reloj-hdr-cdpp-csf.jpg'
reloj-hdr-cdpp-csf.jpg

Preview of image 'columns-13a-cdpp.jpg'
columns-13a-cdpp.jpg

Preview of image 'e-track-6-01-cdpp.jpg'
e-track-6-01-cdpp.jpg

Preview of image 'opensea-cdpp-csf.jpg'
opensea-cdpp-csf.jpg


 

From: nemesis
Subject: Re: Postprocessing camera (d)effects with POV-Ray
Date: 27 Dec 2009 16:30:00
Message: <web.4b37d1326a3a44f0412fad2f0@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Yes... again, I started something else before finishing the latest project.

I prefer lots of awesome half-baked images rather than 1 or 2 awesome finished
images. :)

> lens... I was like possessed by Sam Benge, and nothing seemed too difficult,

LOL

amazing what some simple color aberration can do to enhace realism.  That car
picture does indeed look like some true picture, not a render.  I wonder how
much time will it take for game makers to realize this simple truth.

The sea looks good too but the clock looks wii too shiny and without a bit of
DOF for such a close up.


Post a reply to this message

From: Warp
Subject: Re: Postprocessing camera (d)effects with POV-Ray
Date: 27 Dec 2009 17:14:00
Message: <4b37dc28$1@news.povray.org>
Ooh, shiny!

  And very kewl. :)


Post a reply to this message

From: Edouard
Subject: Re: Postprocessing camera (d)effects with POV-Ray
Date: 28 Dec 2009 15:30:01
Message: <web.4b39141c6a3a44f0639ae1e00@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Yes... again, I started something else before finishing the latest project.
>
> And as usual, it started with something innocent: I was looking at the
> terrific entries on the 3dRender.com Lighting Challenge, and I noticed one
> of them had a subtle chromatic aberration effect that looked very
> convincing. I was trying to emulate it with The Gimp, when I figured it
> would be not difficult to do it within POV-Ray, with the help of screen.inc.
>
> As the chromatic aberration did work nicely, I tried to simulate other
> camera defects: distortion, vignetting, blue-channel noise, dust on the
> lens... I was like possessed by Sam Benge, and nothing seemed too difficult,
> so I tried next some effects: bloom and cross screen filter... anyone wants
> any other specific (d)effect? :)

Oh wow - that's fantastic!

My suggestions/requests

Film Grain - add slightly blurry noise to the image, where amount of grain is
modulated by the image (add a little for black, more for dark to medium areas, a
little above medim areas, and none for the bright parts).

Digital sensor blow-out - make very intense pixels go white (e.g. if the pixel
is <4,0.1,0.5>, make it <1,1,1>). Needs an HDR input source. Digital sensors do
this; I actually much prefer the deep saturation you get with film in this
regard, but it's a useful thing to emulate, as people are very used to seeing it
these days.

Cheers,
Edouard.


Post a reply to this message

From: Edouard
Subject: Re: Postprocessing camera (d)effects with POV-Ray
Date: 28 Dec 2009 16:05:01
Message: <web.4b391d626a3a44f0639ae1e00@news.povray.org>
Oh, and

Corner Softness - make the center sharp, but soften the image as you get away
from the middle, so that the corners are a bit soft.

Cheers,
Edouard.


Post a reply to this message

From: gregjohn
Subject: Re: Postprocessing camera (d)effects with POV-Ray
Date: 28 Dec 2009 18:00:01
Message: <web.4b3937e26a3a44f096397b980@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> I prefer lots of awesome half-baked images rather than 1 or 2 awesome finished
> images. :)
>

And that is one awesome watch.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Postprocessing camera (d)effects with POV-Ray - Bokeh
Date: 1 Jan 2010 16:12:50
Message: <4b3e6552@news.povray.org>
Very WIP, just proof of concept that it works, although it needs an
additional "focus map" (see attached one, created by assigning a gradient
pigment to the whole scene).

Edouard, thanks for your fine suggestions, specially the film grain effect:
I found several Photoshop tutorials that should be easy to translate to
POV-Ray...


-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message


Attachments:
Download 'atenea_bokeh.jpg' (70 KB) Download 'atenea_fb-map.jpg' (21 KB)

Preview of image 'atenea_bokeh.jpg'
atenea_bokeh.jpg

Preview of image 'atenea_fb-map.jpg'
atenea_fb-map.jpg


 

From: Jaime Vives Piqueres
Subject: Re: Postprocessing camera (d)effects with POV-Ray - Bokeh
Date: 2 Jan 2010 05:05:49
Message: <4b3f1a7d@news.povray.org>
Almost finished now, with additional parameters for the intensity
distribution, number of diaphragm blades, and even passing an object for the
bokeh shape (as with real black paperboard cuts).

The method is tricky but clean, and is somewhat fast to render... but I
still have to try to automate it (so that you can queue the consecutive passes).

-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message


Attachments:
Download 'atenea_bokeh3.jpg' (95 KB) Download 'atenea_bokeh4.jpg' (65 KB)

Preview of image 'atenea_bokeh3.jpg'
atenea_bokeh3.jpg

Preview of image 'atenea_bokeh4.jpg'
atenea_bokeh4.jpg


 

From: Edouard
Subject: Re: Postprocessing camera (d)effects with POV-Ray - Bokeh
Date: 2 Jan 2010 14:40:01
Message: <web.4b3f9ffa52c95067639ae1e00@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Almost finished now, with additional parameters for the intensity
> distribution, number of diaphragm blades, and even passing an object for the
> bokeh shape (as with real black paperboard cuts).
>
> The method is tricky but clean, and is somewhat fast to render... but I
> still have to try to automate it (so that you can queue the consecutive passes).

Looking really good!

I had some code that could take an iris image in my 35mm Camera Macros - you
rendered the scene multiple times with a slightly different camera shear matrix
each time, and when you averaged the images together you got focal blur with
shaped bokeh. Are you doing something vaguely similar? I can't wait to find out,
and to give your code a spin!

Cheers,
Edouard.


Post a reply to this message

From: Jellby
Subject: Re: Postprocessing camera (d)effects with POV-Ray - Bokeh
Date: 2 Jan 2010 14:40:07
Message: <boi417-kkm.ln1@badulaque.unex.es>
Among other things, Jaime Vives Piqueres saw fit to write:

> Almost finished now, with additional parameters for the intensity
> distribution, number of diaphragm blades, and even passing an object for
> the bokeh shape (as with real black paperboard cuts).
> 
> The method is tricky but clean, and is somewhat fast to render... but I
> still have to try to automate it (so that you can queue the consecutive
> passes).

Looks great! I wonder... how does it handle reflections? Actually, how is
bokeh affected by reflection in real cameras? (I mean, when the bright
spots are not seen directly, but through a reflection.) The same could be
asked with refraction or just transparency.

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

Goto Latest 10 Messages Next 7 Messages >>>

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