pouët.net

Bokeh DOF

category: code [glöplog]
try focusing your finger behind some lights
added on the 2011-06-29 01:24:07 by xernobyl xernobyl
Imperfections in the human eye mean you usually see distorted star shaped bokeh instead of nice round ones unfortunately. Maybe with special contact lenses with a rectangular hole you'd get rectangular bokeh?

Speaking of curious optical effects, I learned how some people make the nice star images with a cross type effect. Tie 2 pieces of fishing line across the front of the lens! If only it were that easy for us :)
added on the 2011-06-29 02:13:41 by psonice psonice
it's also in this unreal tech demo from the looks of it ... like tears in ... rain
apart from the obvious overlays sometimes I might add
unreal engine is promise to be strong
added on the 2011-06-29 09:13:33 by Bartoshe Bartoshe
You (!)§"'#§& didn't read my first post in this thread, right? DO IT NOW.
added on the 2011-06-29 10:26:41 by las las
las: While I may have failed to read your post (you started out by linking to the most boring bokeh-video ever, I just assumed it was rubbish), I suggest you actually read the articles you link yourself.

Clue: The "The Danger Zone"-articles DOES suggest to use convolution for the DOF, but also adds in some particles for the bokeh-look (technique 5).

I also brought a new interesting link to the table ;)
added on the 2011-06-29 10:37:13 by kusma kusma
Efficient Depth of Field Rasterization using a Tile Test based on Half-Space Culling
http://fileadmin.cs.lth.se/graphics/research/papers/2011/dof/
added on the 2011-06-29 13:25:12 by hornet hornet
http://www.daionet.gr.jp/~masa/archives/CEDEC2010_kawase.ppt

Now we need our japanese sceners to translate that one ;)
added on the 2011-06-29 15:14:09 by las las
Actually I kinda like this approch:
http://www.gamedev.net/topic/563149-real-time-bokeh-high-quality-dof/

I'll give it a try...
added on the 2011-06-29 15:17:50 by las las
What about using a noisy low sample count DOF pass and a apply a median filter after?
added on the 2011-07-30 05:38:00 by xernobyl xernobyl
Crytek's latest presentation http://crytek.com/cryengine/presentations mentions their DOF technique.
added on the 2011-08-01 21:31:43 by xernobyl xernobyl
Not very elaborate as to where the bokeh is coming from...
added on the 2011-08-02 11:13:11 by raer raer
AFAICR they simply use a different blur kernel on consoles and a special DX11 based Bokeh shader (with point sprites) on PC.
added on the 2011-08-02 12:51:53 by kb_ kb_
Quote:

http://www.daionet.gr.jp/~masa/archives/CEDEC2010_kawase.ppt

Now we need our japanese sceners to translate that one ;)


This slide explains about optics of real camera which is needed to implement realistic bokeh of real camea.
It also explains
But it doesn't explains how to implement optical correct bokeh with OpenGL/Direct3D.

I went to the CEDEC 2010 and attended kawase's seminor.
He talked about optics of a camera with this slide.
But I couldn't understand most of them, because I don't know about mechanism of camera well.

I'm sorry but it is difficult for me to translate this slide.
added on the 2011-08-02 13:13:57 by tomohiro tomohiro
There really aren't many ways to fake bokeh. You either use a blur kernel, spallter some random sprites around or take a more analytical aproach if you know the shape and distance of your emitter / bright spots. Not counting on the realistic aproach. You could render some fake plenoptic camera like scene, and then do some sampling magic again.
added on the 2011-08-02 17:58:05 by xernobyl xernobyl
Forgot to mention the oldschool camera jitter thing.
added on the 2011-08-02 17:58:43 by xernobyl xernobyl
do the hokeypokey
POKE 775,171
added on the 2011-08-02 21:39:13 by trc_wm trc_wm
Boker Tov!
added on the 2011-08-03 10:08:12 by zaphands zaphands
BOKEH 775,171
added on the 2011-08-03 11:35:21 by bdk bdk
http://advances.realtimerendering.com/s2011/White,%20BarreBrisebois-%20Rendering%20in%20BF3%20(Siggraph%202011%20Advances%20in%20Real-Time%20Rendering%20Course).pdf

That technique looks awesome and fast! Must try to implement.
added on the 2011-08-19 22:52:47 by xernobyl xernobyl
So if understand correctly, some people try to have unlimited details while other just want to blur them! WTF!
added on the 2011-08-20 12:56:48 by baah baah

login