Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,089 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Re: The reason i love the new stages feature [Re: Michael_Schwarz] #172338
12/12/07 16:47
12/12/07 16:47
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
ello: The trick is to render to depthmap to the alpha channel and not the rgb channel. The alpha channel is 24Bit whereas the rgb channels are 8 bit each. You might want to have a look at this paper:
http://ati.amd.com/developer/gdc/Scheuermann_DepthOfField.pdf
I didn't get their depthmap shader to work, so i wrote my own. As for the DoF shader example: 0.5 values in the depthmap are sharp, anything above or below 0.5 will be blurred. Just thought i should tell you, as it gave me some headaches until i realized it.
However this shader isn't perfect from what i can tell. A good improvement would be to dynamically blur the depthmap if the values are above or below a certain value. That way focused objects would stay sharp and unfocused objects would be even more blurry and won't have hard edges (They don't have hard edges all the time, but for some depthalues they have).

the others: thanks, i'm glad you like it However don't expect this shader to be released before christmas. There's still some things i want to improve. I also have another project I'm working on which is more important right now, so I wont be working on DoF 24/7

Oh yeah: Got autofocus to work. You look at an object and it becomes sharp. I think this shader would be great for machinima projects once it's finished.


Shade-C EVO Lite-C Shader Framework
Re: The reason i love the new stages feature [Re: BoH_Havoc] #172339
12/12/07 20:15
12/12/07 20:15
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
wow! If you release this shader i might just have to be forced to go and Buy A7 :O
Please, keep us posted!

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: The reason i love the new stages feature [Re: Helghast] #172340
12/12/07 21:40
12/12/07 21:40
Joined: Mar 2005
Posts: 82
Switzerland, Oberriet
proteK Offline
Junior Member
proteK  Offline
Junior Member

Joined: Mar 2005
Posts: 82
Switzerland, Oberriet
very n1 work, i hope you give the code or an example to the community,:-)


Cybertron G Studios Switzerland A7.06 Pro http://www.cybertron.ch Contact us protek@hispeed.ch
Re: The reason i love the new stages feature [Re: proteK] #172341
12/14/07 19:02
12/14/07 19:02
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
That is why I'm planning to buy A7 comm.
In general, it more flexible than its predeccesor.

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: The reason i love the new stages feature [Re: frazzle] #172342
12/26/07 22:06
12/26/07 22:06
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Well, christmas is over. I got my books...and started playing around immediately

Volumetric fog/clouds/fire/explosions


things to do:
- create a noise map through shaders and apply it to final result to add detail.
- Get rid of three nasty seams i get when downsampling the image

mockup:



High Dynamic Range Rendering (weeeee~)
Looking directly into the sun:


Looking away from the sun (same camera position):


to do:
dynamically adjust gamma of the bloom effect, simulating the human eye getting used to overbright areas.

As for the DoF effect:
Runs much faster now. I realized i didn't correctly applied downsampling and always passed the full sized image to the shader instead of a downsampled image (1/16 of the original scene).

I don't know how moch more work i will put into this stuff at the moment as i have to finish some things till the end of january. So don't expect too many updates. But i think i will work some more on these till the end of the year. Maybe I'll get it finished, we'll see

Well, anyway: Hope you like it!

[edit] I'm working on a tft with a baaaaad colorscheme/brightness at the moment and therefor don't know if the used values for the shaders look good on "normal" tfts/crts. Sorry for that

Last edited by BoH_Havoc; 12/26/07 22:13.

Shade-C EVO Lite-C Shader Framework
Re: The reason i love the new stages feature [Re: BoH_Havoc] #172343
12/26/07 23:44
12/26/07 23:44
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline
Serious User
Stansmedia  Offline
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
Nice man! It would be pretty cool if you sent out a trace from the camera, and focus the blur based on what the camera is pointed at (or where the trace hits... same thing i guess). It would be like your actually looking at stuff.


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: The reason i love the new stages feature [Re: Stansmedia] #172344
12/27/07 00:01
12/27/07 00:01
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Quote:

It would be pretty cool if you sent out a trace from the camera, and focus the blur based on what the camera is pointed at (or where the trace hits... same thing i guess). It would be like your actually looking at stuff.




Already implemented

Quote:

Oh yeah: Got autofocus to work. You look at an object and it becomes sharp. I think this shader would be great for machinima projects once it's finished.





Shade-C EVO Lite-C Shader Framework
Re: The reason i love the new stages feature [Re: BoH_Havoc] #172345
12/27/07 03:27
12/27/07 03:27
Joined: Jun 2004
Posts: 655
to your left
BoH_Havoc Offline OP
User
BoH_Havoc  Offline OP
User

Joined: Jun 2004
Posts: 655
to your left
Tried to combine the dof and hdr effect. Didn't took to long as i already had that planned, here's the result:



Both DoF and HDR are using 3 blurrpasses now instead of only 2. The scene gets blurred by a boxblur first (1 pass) and then by a gaussian blur (2 passes). This results in a much smoother look. The impact on framerate isn't that high as i'm using correctly downsampled images now.
All in all this scene runs at ~290 fps with a resolution of 1024x768.

Again, i'm sorry if the colors/gamma/saturation doesn't look good on the picture. I'm still working on that ****** tft. And that won't change till the second week of january. So bare with me


Shade-C EVO Lite-C Shader Framework
Re: The reason i love the new stages feature [Re: BoH_Havoc] #172346
12/27/07 15:21
12/27/07 15:21
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quite impressive features

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: The reason i love the new stages feature [Re: frazzle] #172347
12/27/07 15:49
12/27/07 15:49
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
What are your computers specs?

Page 2 of 6 1 2 3 4 5 6

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1