Ophthalmologist wanted back

(L) [2007/01/05] [tbp] [Ophthalmologist wanted] Wayback!

[IMG #1 ][IMG #2 ][IMG #3 ][IMG #4 ][IMG #5 ][IMG #6 ]


Fixing (for the nth time, with n > 2) my streaming shading proved way too boring to tackle this morning. On the other hand abusing a gpu...

The unsolved problem of the day is to make it look good.
_________________
May you live in interesting times.

[LINK https://gna.org/projects/radius/ radius] | [LINK http://ompf.org/ ompf] | [LINK http://ompf.org/wiki/ WompfKi]
[IMG #1]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-07-bloomdofication.png
[IMG #2]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-08-bloomdofication.png
[IMG #3]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-09-bloomdofication.png
[IMG #4]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-10-bloomdofication.png
[IMG #5]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-11-bloomdofication.png
[IMG #6]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-12-bloomdofication.png
(L) [2007/01/05] [greenhybrid] [Ophthalmologist wanted] Wayback!

yay, cool stuff [SMILEY Very Happy]
_________________
[LINK http://greenhybrid.net/ greenhybrid.net]

Real Men code Software Graphics.
(L) [2007/01/05] [tbp] [Ophthalmologist wanted] Wayback!

Putting it all together brings us another serie of programmer's art: "Sunglasses, sunglasses, my kingdom for sunglasses".


[IMG #1 ][IMG #2 ][IMG #3 ][IMG #4 ][IMG #5 ][IMG #6 ][IMG #7 ]
_________________
May you live in interesting times.

[LINK https://gna.org/projects/radius/ radius] | [LINK http://ompf.org/ ompf] | [LINK http://ompf.org/wiki/ WompfKi]
[IMG #1]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-14-overbloomdofication.png
[IMG #2]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-15-overbloomdofication.png
[IMG #3]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-16-overbloomdofication.png
[IMG #4]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-17-overbloomdofication.png
[IMG #5]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-18-overbloomdofication.png
[IMG #6]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-19-overbloomdofication.png
[IMG #7]:Not scraped: https://web.archive.org/web/20071029233148im_/http://ompf.org/gallery/wip/20070105-20-overbloomdofication.png
(L) [2007/01/05] [beason] [Ophthalmologist wanted] Wayback!

Great looking images. You are doing some sort of HW blurring using depth and brightness to determine the amount of blur? Or what? How are you using the GPU when doing software ray tracing?


Also are you doing mipmapping? Just curious if you have that working with RTRT.


Anyway, very pretty [SMILEY Smile]
(L) [2007/01/06] [tbp] [Ophthalmologist wanted] Wayback!

It's just some fancy post-processing.


 stream/upload { r,g,b, first-hit ray depth } floats, have the driver build a mipmap and do fp16 conversion (to allow bilinear filtering).

 bloom: pick a mipmap lvl, run a high-pass filter, then a few iteration of Masaki Kawase's expanding blur.

 dof: pick a mipmap lvl, have a few iteration of a gaussian blur on it, based on distance to focal plane, sample both the blurred & original version within the circle of confusion (needs quite a few samples), avoid leakage etc.. mix.

 gather it all: mix bloom & dof, tone map, be done.



So, there's no GPU texturing per-se, that would require to upload some geometry and i only ever send quads to it [SMILEY Smile]


There's a lot of knobs to tweak, it coudln't be any more fake yet it's sometimes pleasing to the eye.


To answer your questions: 'brightness' plays no part in DOFification, and the rtrt itself do no mipmapping. Heck, i've been using my good old reliable mono ray path to produce those images.
_________________
May you live in interesting times.

[LINK https://gna.org/projects/radius/ radius] | [LINK http://ompf.org/ ompf] | [LINK http://ompf.org/wiki/ WompfKi]
(L) [2007/01/13] [beason] [Ophthalmologist wanted] Wayback!

Ok, it's the faithful floating point HDR-ness that just makes me notice the bright areas blurred more.


Are you really doing them at ~75fps? Holy crap. Is that multithreaded? What machine/video card?


Thanks [SMILEY Smile]

back