Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (TipmyPip, EternallyCurious, Quad, AndrewAMD), 906 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
SSAO #239900
12/08/08 07:43
12/08/08 07:43
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
my latest expirimentation... SSAO

A big credit to slin who helped me understand how to render a depthmap.

Heres what i have so far:




well actually there is a blur filter over the shading in my current version that is not shown, but it makes the really dark bars look even worse so im still working on it.

Re: SSAO [Re: lostclimate] #239905
12/08/08 08:01
12/08/08 08:01
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
pretty damn nice...

and it's fast???


3333333333
Re: SSAO [Re: Quad] #239908
12/08/08 08:19
12/08/08 08:19
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
well fullscreen with a 1024x768 resolution, with an extra blur filter over it, it gets 85fps on my machine. keep in mind this is with on depthmap retrieving shader, with an ssao shader that takes 12 samples, and another blur filter over it that takes another 12 samples, so its is running it surprisingly fast for whats involved. my graphics card is a nvidia 9600 gt.


EDIT:
Some images of it with the blur filter over the ssao:








Last edited by lostclimate; 12/08/08 08:28.
Re: SSAO [Re: lostclimate] #239909
12/08/08 08:28
12/08/08 08:28
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
its looking very good

i'm not too famous with this shader, but looking like shadows are not on their places... or this is the main target of SSAO?


if i made bad screen( if its hard to understand what i mean), i can make some more screens smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: SSAO [Re: VeT] #239911
12/08/08 08:40
12/08/08 08:40
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
its sort of what ssao does. it shouldnt be so dark there and that line shouldnt stick out like that, but it is supposed to make areas that are near "occluded" areas darker in order to simulate ambient shading in the room.

Re: SSAO [Re: lostclimate] #239984
12/08/08 17:30
12/08/08 17:30
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline
Serious User
VeT  Offline
Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
in corners of the room i think, but on the screen shadow is on the edge of walls, where shadows mustn't be...
okay, i'd belive you laugh


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: SSAO [Re: VeT] #239997
12/08/08 18:23
12/08/08 18:23
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
awesome job lostclimate smile .

Re: SSAO [Re: Cowabanga] #240217
12/10/08 02:58
12/10/08 02:58
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
well, ive determined that the rings come from a depth issue. the shallower it reads from the closer the rings are until its solid. if only there was enough way to pack more precision into it easier (racking my brain right now)

thought this will be interesting (off of the msdn hlsl reference)

Quote:

double - 64-bit floating point value, that can be used inside a shader function in Direct3D 11 (see the topic, Double Precision in the Direct3D 11 docs).

doubles in shaders? i might just need to get vista when dx 11 comes out laugh

Re: SSAO [Re: lostclimate] #240233
12/10/08 05:14
12/10/08 05:14
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
i'm quite surprised float precision isn't enough!

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: SSAO [Re: JibbSmart] #240235
12/10/08 05:45
12/10/08 05:45
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
it is or others wouldnt be able to make it :P i just dont know how they are doing it...

Page 1 of 3 1 2 3

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