Help - Search - Members - Calendar
Full Version: FakeAOCPU free version
Hash, Inc. Forums > The A:M Exchange (Resources Center / Contributers Cue) > 3rd Party Programs, Utilities and Products > FakeAO / FastAO (CPU/GPU)
Pages: 1, 2, 3, 4
jenpy
FakeAOCPU is a Screen Space Ambient Occlusion postplugin: 2input, input1 - Depth, input2 - Color
FakeAOCPU can be used for Composite and CameraPostEffect. (Thank you sgross!)

System requirements:
SSE2 Enabled PC, Windows, A:M V16 32bit

Limitation of FakeAOCPU:
FakeAO does not work right in RenderToWindow.
Motionblur cannot be used together.
AO is calculated only with seen objects.
All transparency are ignored.
Some manual image oversampling is necessary.

Limitation of FakeAOCPU free version:
MaxSamplingLevel = 3, MaxSamples = 12

Properties:
Intensity: Intensity of FakeAO output.
Gamma: Gamma correction factor.
SamplingLevel: This value controls AO quality and computing time. When one level increases, computing time and AO quality increase by twice.
Samples: Number of Occlusion samples. A larger number makes Occlusion reach far away.
Distance: The linear attenuation distance of Occlusion.
Dark Color: Color of Occlusion.
Distribute: Distribute factor of Occlusion.
Distribute Random: Distribute Occlusion at random.
AdaptiveBlur: AdaptiveBlur which depends on Z distance. Blur with another object can be avoided.
AdaptiveBlur Distance: Defines Far Z Distance.
AdaptiveBlur Far: Blur percentage when Z Distance is farther than Far Z Distance.
AdaptiveBlur Near: Blur percentage when Z Distance is 0.
Camera FocalLength: Please set the same value as the Camera FocalLength.
Test OnlyAO: Enable OnlyAO mode.
Test TimeDisplay: Enable display computing time and bench mark.

Files:
plugin Click to view attachment
sample project Click to view attachment
video tutorial Click to view attachment
HomeSlice
Wow, thanks. I'm gonna have to play with this smile.gif
robcat2075
Very exciting!

I'm eager to try it!



Thanks jumping in on this! What's next? smile.gif


animas3D
Looking forward to seeing what you guys come up with.
John Bigboote
SWEET! I don't know what most of all that means...but, SWEEET! So, as a post-plugin(I've never used post-plugins before) it works AFTER the file has been rendered and then it applies its 'voodoo'... using depth-matte info...?

A little blurb on how it is used would be AWESOME.

So, if this is the 'free version', does that mean there will be a commercial version in time?

You are fantastic!
Fuchur
QUOTE(John Bigboote @ Oct 22 2010, 09:54 PM) *
SWEET! I don't know what most of all that means...but, SWEEET! So, as a post-plugin(I've never used post-plugins before) it works AFTER the file has been rendered and then it applies its 'voodoo'... using depth-matte info...?

A little blurb on how it is used would be AWESOME.

So, if this is the 'free version', does that mean there will be a commercial version in time?

You are fantastic!


Very nice!
I'll check that out, but it looks very promising!
Thank you very much for the afford and all the work jenpy smile.gif.

WIll it work on a 64bit-system with A:M v16 64bit too?

*Fuchur*
thefreshestever
very cool... will there be a mac-version, too?
mtpeak2
Thank you for the hard work on this.

Now I'll have to install the 32 bit version til the 64 bit version is available.
robcat2075
If you install 32-bit V16 after you install 64-bit v16 go to your Options folder and check that your Folders are pointing to the plugins in your A:M install in your "Programs (x86)" folder
robcat2075
If I render the sample PRJ without changing anything I get something like this.

Click to view attachment


What sort of settings do i need to change to get a more AO look?
NancyGormezano
Hmmmm...mine doesn't look like yours. This is beta 3 32 bit, haven't installed beta4, nor 64 bit.
mtpeak2
Robert, I got the same thing when using the quick render. Try rendering to file.
robcat2075
QUOTE(mtpeak2 @ Oct 23 2010, 11:29 AM) *
Robert, I got the same thing when using the quick render. Try rendering to file.


Mine was a render to file.
mtpeak2
Hmm, make sure the depth buffer is turned ON.
robcat2075
QUOTE(mtpeak2 @ Oct 23 2010, 11:41 AM) *
Hmm, make sure the depth buffer is turned ON.


yes, I needed to turn on Use Camera Settings.

I got a much better result then.
robcat2075
I'm just getting black frames when I try to build my own scene. What am i doing wrong?
mtpeak2
It's hard to say without more info or a project.
yoda64
QUOTE(robcat2075 @ Oct 23 2010, 06:11 PM) *
If you install 32-bit V16 after you install 64-bit v16 go to your Options folder and check that your Folders are pointing to the plugins in your A:M install in your "Programs (x86)" folder


You can simply add a folder to this path in Your folder settings , the 64bit version is loading only plugins with a "_64" suffix before extension , where the 32 bit version is loading only
plugins with this suffix .
robcat2075
Here's a test scene built from scratch. It does get an image but not the right one.

Click to view attachment


Click to view attachment
NancyGormezano
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.

I have seen what you have posted but mainly when I render onscreen. I have also gotten results that are inconsistent (when playing around with other things). There is something funny about where the render params are coming from - even if one says "use camera settings" - sometimes changing them on the fly works, sometimes not

I can't figure out why, what, how, when
robcat2075
QUOTE(NancyGormezano @ Oct 23 2010, 05:25 PM) *
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.


I see. By default they are both "color" but the first one must be changed to "depth".
NancyGormezano
QUOTE(robcat2075 @ Oct 23 2010, 03:45 PM) *
QUOTE(NancyGormezano @ Oct 23 2010, 05:25 PM) *
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.


I see. By default they are both "color" but the first one must be changed to "depth".


Correct

heres a render with no lights, AI=100 (color =white for background as well as global)
NancyGormezano
I am gathering that in order to see any bump maps - one also has to have a light

1) No lights. with fake ao (ai=100)
2) rimlight 50%, with spec,diffuse white, AI= 50, NO fakeAO
3) same as #2, but WITH fake AO
NancyGormezano
And here is one of those funnies like yours - all I did was turn post effect processing back on, and change rim shadow darkness to 100 from 80

EDIT: I tried a variety of things to try to get back to original settings, but no dice. When I tried to save chor, A:M crashed. It is my experience when something starts being funny - that closing A:M, and reopening sometimes helps to reset stuff.
jenpy
QUOTE(robcat2075 @ Oct 23 2010, 02:03 PM) *
Here's a test scene built from scratch. It does get an image but not the right one.
Click to view attachment
Click to view attachment


Click to view attachmentClick to view attachment
Buffers-Depth is disable for JPEG output.
Please use PNG or OpenEXR output.

Click to view attachment
SSAOTest.prj - CameraPosteffect - input1 is Color.
Please change to Depth.
jason1025
QUOTE(NancyGormezano @ Oct 23 2010, 03:25 PM) *
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.

I have seen what you have posted but mainly when I render onscreen. I have also gotten results that are inconsistent (when playing around with other things). There is something funny about where the render params are coming from - even if one says "use camera settings" - sometimes changing them on the fly works, sometimes not

I can't figure out why, what, how, when



Thats impressive.
jason1025
QUOTE(NancyGormezano @ Oct 23 2010, 03:25 PM) *
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.

I have seen what you have posted but mainly when I render onscreen. I have also gotten results that are inconsistent (when playing around with other things). There is something funny about where the render params are coming from - even if one says "use camera settings" - sometimes changing them on the fly works, sometimes not

I can't figure out why, what, how, when



Any chance we could get a tutorial?
Fuchur
QUOTE(jason1025 @ Oct 24 2010, 12:44 AM) *
QUOTE(NancyGormezano @ Oct 23 2010, 03:25 PM) *
I noticed that in the chor/camera/posteffect/ - the depth wasn't set on the first input for fakeAO, I changed it.

I have seen what you have posted but mainly when I render onscreen. I have also gotten results that are inconsistent (when playing around with other things). There is something funny about where the render params are coming from - even if one says "use camera settings" - sometimes changing them on the fly works, sometimes not

I can't figure out why, what, how, when



Any chance we could get a tutorial?


There is a Quick-Start-Video-Tutorial in the first post guys... just have a look at it. You may find it very useful since it describes all the necessary steps needed in detail.

*Fuchur*
JohnArtbox
Jenpy... you rock in so many ways. This really is revolutionary.
Really quick test using ambient white objects. Two things I have found. Use Multipass set to 1, and set it to a higher res if you are just generating an Ambient Occlusion pass and if you generate and layer two passes you can emphasise the edges in different ways. This rendered in 10 seconds at a fullHD resolution.
Click to view attachment
So is there a non free version coming with even more amazing results? and is there a 64k version in the works?
HomeSlice
QUOTE(NancyGormezano @ Oct 23 2010, 05:01 PM) *
And here is one of those funnies like yours - all I did was turn post effect processing back on, and change rim shadow darkness to 100 from 80

EDIT: I tried a variety of things to try to get back to original settings, but no dice. When I tried to save chor, A:M crashed. It is my experience when something starts being funny - that closing A:M, and reopening sometimes helps to reset stuff.

Nancy, there was one time when I had the same result, but when I closed the Project and reopened it, it rendered fine ... for what it's worth...

Here are some of my tests:
My FakeAO settings:
Click to view attachment

Normal Render 0:14
Click to view attachment
----------------------
real AO 3:40
Click to view attachment
-----------------------
fake AO 0:17
Click to view attachment
----------------------
fakeAO Only
Click to view attachment
*********************************
Normal Render 0:16
Click to view attachment
-----------------
Real AO (with transparency ON) 5:14
Click to view attachment
-----------------
Fake AO 0:16
Click to view attachment
-----------------
FakeAO Only
Click to view attachment



Fuchur
Very cool!

I although like the characters really much!
Astronauts ahead!

*Fuchur*
robcat2075
I think this should get a better name than "FakeAO"
Fuchur
QUOTE(robcat2075 @ Oct 24 2010, 10:20 PM) *
I think this should get a better name than "FakeAO"


Dont know... maybe FastAO but it is a very describing name and I like that. wink.gif
animas3D
This is really interesting and I'm sure it will continue to get better.

HomeSlice, were there any lights in your render tests or was it just FakeAO?

Right now I would give the edge to the "Real" AO, based on your tests. Do you think that, in the close ups of the girl's face, the options for FakeAO could be fiddled with to more closely match the original AO. It just seems a little harsh. Can you get it softer?

Thanks for showing the tests.

Joe.
robcat2075
QUOTE(animas3D @ Oct 25 2010, 03:44 AM) *
Do you think that, in the close ups of the girl's face, the options for FakeAO could be fiddled with to more closely match the original AO. It just seems a little harsh. Can you get it softer?


If I look at the tests Jenpy posted of the TinWoodman scene it looks like broader, softer AO can be gotten with larger settings. However this free version of FakeAO is restricted to smaller settings.

I think this FakeAO will be a real boon in indoor situations where real AO doesn't get you much usable Occlusion effect at all because the walls and ceiling are blocking all the Ambiance.
NancyGormezano
QUOTE(robcat2075 @ Oct 25 2010, 08:20 AM) *
If I look at the tests Jenpy posted of the TinWoodman scene it looks like broader, softer AO can be gotten with larger settings.


I missed that one - where is that?

Nice characters Holmes.
HomeSlice
QUOTE
Very cool!
I although like the characters really much!
Astronauts ahead!
*Fuchur*

Thanks Fuchur!

QUOTE
HomeSlice, were there any lights in your render tests or was it just FakeAO?

The fakeAO tests had the default chor lighting.
The real AO tests had the keylight disabled.

FakeAO is just a normal render with some post rendering wizardry, so you need lights. I guess you could do without the keylight if you composite the fakeAO-ONLY render on top as an Ambiance layer in a video editor, but I haven't tried that, so don't know for sure.

QUOTE
Do you think that, in the close ups of the girl's face, the options for FakeAO could be fiddled with to more closely match the original AO. It just seems a little harsh. Can you get it softer?

Yes, you can fiddle with the settings to get a softer effect. I used the same settings in the group shot and the closeup to see what the same settings would look like from far away vs close up. I think upping the Ambiance Intensity might also soften things up a little. I might try a flat shaded render with FaeAO just to see what happens... I can't complain about the render times though!

The "distance" property seems to relate to how far away objects are from one another before one object will affect the shading of the other. Has anyone else experimented with the Distance property?
robcat2075
QUOTE(NancyGormezano @ Oct 25 2010, 02:13 PM) *
QUOTE(robcat2075 @ Oct 25 2010, 08:20 AM) *
If I look at the tests Jenpy posted of the TinWoodman scene it looks like broader, softer AO can be gotten with larger settings.


I missed that one - where is that?



http://www.hash.com/forums/index.php?s=&am...st&p=338232
NancyGormezano
QUOTE(robcat2075 @ Oct 25 2010, 01:00 PM) *


ah ha!...I see you did the secret trick by scrolling down the page...that's cheating. Thanks
NancyGormezano
QUOTE(HomeSlice @ Oct 25 2010, 12:29 PM) *
I think upping the Ambiance Intensity might also soften things up a little. I might try a flat shaded render with FaeAO just to see what happens...


Yesterday I tried with flat shaded, and also AI with klieg. The more AI, the more it washes out shading on model, but not the shadows cast by model. All have fakeAO
Xtaz
QUOTE(JohnArtbox @ Oct 24 2010, 07:03 PM) *
Jenpy... you rock in so many ways. This really is revolutionary.
So is there a non free version coming with even more amazing results? and is there a 64k version in the works?

these are my questions too
detbear
I'll have to agree with JohnArtBox on the fact that as an AO Pass only option, this is revolutionary. 10 seconds on an AO pass in HD vs 20 minutes or more....... Enough said right there. A compositing App can mine gold out of this cave with incredible results smile.gif Until now, there hasn't been an efficient cave to extract it from out of Hash.

Awesome Jenpy!!
HomeSlice
QUOTE(NancyGormezano @ Oct 25 2010, 12:13 PM) *
Nice characters Holmes.

Thanks Nancy. Sorry I missed that earlier smile.gif
animas3D
QUOTE
Yesterday I tried with flat shaded, and also AI with klieg. The more AI, the more it washes out shading on model, but not the shadows cast by model. All have fakeAO


Interesting tests, Nancy.
robcat2075
You can vary the darkness of the AO effect by varying the "Camera Focal Length" Parameter. Larger numbers make darker crevices.

This appears a somewhat different variation than the "Gamma" parameter creates although I haven't tested either fully.

Click to view attachment

robcat2075
The "Distribute" parameter affects the size of the AO shadowing:

Click to view attachment
robcat2075
QUOTE(robcat2075 @ Oct 26 2010, 04:12 PM) *
The "Distribute" parameter affects the size of the AO shadowing:


I'm finding it's a bit more complex than that. Depending on other settings a larger "Distribute" can make smaller looking shadows sometimes.

I recommend you experiment with changing settings in the Composite project that is automatically created when you render with FakeAOCPU, then you can see the result of parameters changes instantly without having to re-render
serg2
Interesting plugin. Settings can easily get a pencil sketch

Click to view attachment Click to view attachment
John Bigboote
HATS OFF TO JENPY!

I finally DL'd V16/32 and gave his post-plugin a try... IT ROCKS! I can't believe the difference it makes in character animation! This test was only 3 passes(6sec per frame!)... I dinked with the fakeAO settings only a little bit...don't even know what I changed- uppped the sample size I think...

The tutorial was great... everything was EASY! Just the way i like it.

THIS FAKE AO IS AWESOME!

pixelplucker
This plug only works in 32bit?
I can't seem to see it in the 64bit one.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.