sidebar features
sidebar content

Go Back   Blender Artists Forums > Game Engine > Works in Progress and Game Demos

Reply
 
Thread Tools
mtracer's Avatar
mtracer mtracer is offline
Member
 
Join Date: Apr 2008
Posts: 271
I've been fooling around with Ambient Occlusion methods recently, specifically SSAO. Blender does not allow one to use a normal buffer, so I have developed a simple technique for realtime rendering which uses only the depth buffer.

It works on the same principle as Matt's method, blurring the Z-Buffer, and then doing some subtraction. However, I have added in canceling, so if the sample is to far from the pixel in z-space, it's effect starts to go negative.

http://www.vimeo.com/10708302
http://www.flyinglow.ca/matthew/2010...awesomene.html

As you can see, my screen capture really needs some work.

IMPORTANT!

You need to change the last file extension on the attachment to .zip. It is not a .blend file, it is in fact a .zip.

IMPORTANT!

License:

You are free to use it in your own work, for absolutely ANYTHING, just be sure to site me as the creator. Matthew Wiebe, mtracer at flyinglow dot ca. The filter can be found in the .blend file.

Have fun!

MTracer.
Attached Files
File Type: blend filter_portfolio.blend.blend (939.2 KB, 78 views)
............................................
A man walked into a bar. It hurt.
(A message from me)

I give any credit of my work to my Father in heaven.

Last edited by mtracer; 07-Apr-10 at 01:35.
#1   Old 06-Apr-10, 21:11   
Reply With Quote


Magnum Opus's Avatar
Magnum Opus Magnum Opus is offline
Member
 
Join Date: Aug 2007
Posts: 603
Looks good from the video. What's the damage on the Rasterizer with this filter running?
............................................
First Person Shooter in Blender?

Why yes, yes I can: http://www.youtube.com/watch?v=XB8Y1...=youtube_gdata
#2   Old 07-Apr-10, 04:44   
Reply With Quote
mtracer's Avatar
mtracer mtracer is offline
Member
 
Join Date: Apr 2008
Posts: 271
Damage on the rasterizer?
............................................
A man walked into a bar. It hurt.
(A message from me)

I give any credit of my work to my Father in heaven.
#3   Old 07-Apr-10, 13:32   
Reply With Quote
mokazon's Avatar
mokazon mokazon is offline
Member
 
Join Date: Jan 2009
Location: over there ---->
Posts: 1,503
sooo slow :\
............................................
Enter the 2010 Blender Summer Game Competition!!!!

http://blenderartists.org/forum/showthread.php?t=181990
Bring on the competition!!

#4   Old 07-Apr-10, 14:04   
Reply With Quote
mtracer's Avatar
mtracer mtracer is offline
Member
 
Join Date: Apr 2008
Posts: 271
What graphics card are you on? I'm almost realtime on an ATI Radeon Sapphire HD 4550...

PS: check out the modified version in the attachments! It's a LOT faster...
Attached Files
File Type: blend filter_portfolio.blend.blend (944.0 KB, 31 views)
............................................
A man walked into a bar. It hurt.
(A message from me)

I give any credit of my work to my Father in heaven.
#5   Old 07-Apr-10, 14:44   
Reply With Quote
Mr_Magooo's Avatar
Mr_Magooo Mr_Magooo is offline
Member
 
Join Date: Dec 2007
Location: Vienna Austria
Posts: 267
Hi there, i tried to test your filter but i get some really strange errors:
ssaobug.jpg
i'm running 2.492 on win xp pro with a gforce 7950gtx
framerate is also very slow.
have you seen this before? should i use an earlier version?
it's really sad that it doesn't work, i would love to use it in a small game project
............................................
Mudpuddle gallery

Youtube channel!!
#6   Old 04-May-10, 22:10   
Reply With Quote
The Red Hand's Avatar
The Red Hand The Red Hand is offline
Member
 
Join Date: Aug 2007
Location: Two Words: Manhattan Project.
Posts: 1,038
Doesn't work on mine - ATI Radeon HD 3850
............................................
I don't flame, I rebuttal.
#7   Old 04-May-10, 23:40   
Reply With Quote
JESUSFRK14's Avatar
JESUSFRK14 JESUSFRK14 is offline
Member
 
Join Date: Jul 2007
Location: New York
Posts: 3,722
Looks good!
............................................
BlenderGames - Blender Games, User Uploads, Free Resources, Downloads, & More!
----------------------------------------------------
God has all the glory.

#8   Old 05-May-10, 00:20   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 17:09.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Blender Headlines
Featured Artwork
Crocodile by Julia Korbut
Classic vintage look renders by HANGAR
Blending life - Old George by bigbad
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Social BlenderArtists