YOUR ACCOUNT

BenBeckwith
Posts: 136
Filters: 8
So I render a filter at 512x512 with 5 sample AA. This render takes 5 minutes. Then I render the same filter at 1024x1024 with no AA. I then down sample to 512x512. The render takes 2:16. Down sampling externally takes a fraction of a second. The supersampled version looks better too.

This is especially apparent with AO. I noticed the aliased initial pass with AO turned on looked sharp (though aliased of course) and the AA pass made the image blurry and low quality because my AO is set to draft. But with the draft setting still on, I tried the supersampling idea and got better looking results at less than half the render time.

So I'm curious why this isn't an option along with regular AA. AO on high is ridiculously slow and I feel like maybe I could get similar quality at a greatly (far more than 50%) render time.
  Details E-Mail
BenBeckwith
Posts: 136
Filters: 8
I was off on my render time comparison kind of. The render time displayed doesn't seem to count all the set up time that seems to be going on be fore the rendering really starts. So I just timed from when I clicked Save until when the new render finished.

Here's a pretty good example of quality to render time. I'm curious how High would look in comparison to my supersampled draft version.

  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
what is this 'down sampling'? are you rendering then reducing the size of the image once finished or ... what is it?
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
BenBeckwith
Posts: 136
Filters: 8
You are correct. I recommend trying it if you want to make Draft AO look probably as good as High, but with a decent render time. Just render with no AA at twice the res and rescale by half in photoshop or whatever.

I'd also like to ask the FF team if they can make it so while rendering, FF tells windows not to go into sleep. This has happened to me twice while rendering on Best. I have to open a separate program that will keep windows running in order to render like that. Maybe this is an option actually, but I'm still rendering from yesterday (because it paused for sleep) so I can't check. This render is taking hours regardless of windows going into sleep though. Is this expected when rendering on Best?
  Details E-Mail
KGtheway2B
KGtheway2B

Posts: 660
Filters: 34
Totally off topic: but awesome grass filter dude.

I never figured downsampling would be faster than AA. I always assumed that the "smart AA" that filterforge uses (only doing edges) would have been significantly faster. We really do need a more accurate timer to evaluate these sorts of things, but nonetheless, interesting discussion.
  Details E-Mail
BenBeckwith
Posts: 136
Filters: 8
Thanks KG!

Well I don't think it's that supersampling is necessarily faster but the way AA interacts with the AO is screwy. This could be a bug, something that FF guys are aware of and already fixing, or maybe there's no work around and supersampling is a viable option now. I'm sure without AO, AA is justified.

The initial render pass takes hardly any time and looks mostly the same with all AO quality levels. It's only when the AA/smoothing pass comes that the render process either smudges the look (like in the first image) or takes a long time to render. Whatever process the AA takes is not friendly with their implementation of AO, that's for sure.

I'm still rendering on High AO from when I started last night. Total render time has been maybe 3 hours (because of my computer sleeping last night) and the AA pass has only gotten maybe 15% done. The AA pass hadn't even shown any results the last time I looked, 1.5 hours ago. So it seems like it's going to take many many more hours to complete. Surely something is wrong?

Here's one more comparison with the Best render included, it never finished, I canceled, but I print screened it. I'll take the 8:00 render time supersampled one over best smile:) Not enough gain in quality to justify it!

  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
thanks, ben.

oh, and i think you may have something screwy going on with your computer. the longest render i've had so far, with ao on and aa on, is about 7 minutes. granted, i'm only using the 600x600 default life preserver in most cases, but to be taking hours on a single render seems quite odd. now, that's with my quad core and vista 64 bit. if you're using a single core on xp 32 bit with 2 gigs or less memory, i would expect a much longer render time, but hours? that just seems wrong.

if you'd like to get a comparison of your machine to mine, send me the filter via email and i'll check the speed on my rig. this might give you some indication of whether your rig is being goofy or not.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
BenBeckwith
Posts: 136
Filters: 8
Aw screw it, I'll just attach the filter here. I've added some fun stuff to it to make it extra slow hehe.

I've been testing the AO Best setting on 2 computers. My work one which is what this new grass filter was made on, is a nice quad core with 8GB of ram. My home computer which is where I made my other grass filter, is a Core i7 which is quad core but I get 8 threads rather than 4, plus it has 12GB of ram. They're both pretty beefy and they both had the same rendering issues, my home one was slightly better.

I'm attaching so maybe the FF guys can see (if for some crazy reason this is only happening to me) what I'm talking about as well.

FF2 - Grass2.ffxml
  Details E-Mail
KGtheway2B
KGtheway2B

Posts: 660
Filters: 34
You could also try and render the AO map seperately at a larger size on draft and overlay it with the original sized diffuse (with AA)
  Details E-Mail
meyendlesss
???????????

Posts: 395
Filters: 32
I've noticed the delay in rendering with AO as well.
Attached is a simple test filter.

Render times of all presets at default size:
0.22 sec (none)
2.10 sec (draft)
14.51 sec (low)
31.73 sec (medium)
1min 18 sec (high)
4 min 01 sec (best)

The presets with AO set to 'high' and 'best' hang a bit with CPU usage showing around 13%.
The preset with high AO hangs for around 4 seconds.
Best AO takes 12 sec to start rendering.

Ben, your grass filter (which is really great, btw) hangs for around 1min 10sec.

System is an i7 920 @ 3.8GHz with 6GB RAM.

Simple AO Render Test.ffxml
  Details E-Mail
meyendlesss
???????????

Posts: 395
Filters: 32
Here's a shot of Task Manager during the first 10 seconds or so after applying the last preset in the filter posted above.

  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
Wow. That grass is absolutely incredible. smile:eek: Extremely slow, but extremely realistic. And the down-sampling really improves the final result without a significant increase in time. smile:)

Interesting flowers BTW.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
I haven't read the whole discussion (too busy), but

1. Have you tried setting AA to "All Pixels" (as opposed to "Edges Only") instead of manual supersampling? Our minimal AA kernel is 5 samples per pixel, so it should be slightly slower than a manual 2x2 supersampling which is equivalent to 4 samples per pixel.

2. AO presets (Low, Medium, High, etc.) and settings don't affect anti-aliasing quality of the AO map, they control technical stuff like the number of rays cast, the length of each ray, etc.

BTW, the grass texture is really incredible -- if I didn't know it's procedural, I'd think you just synthesized it from real photo samples.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
ben,

on your posted filter, 11 minutes 32 seconds with AA off and AO on high. and, 1 hour, 7 minutes, 2 seconds with AA on (5 samples) and AO on high.

oh, and that's a totally amazing filter. instant EP in my book!
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
BenBeckwith
Posts: 136
Filters: 8
Thanks guys. smile:)

Kraellin, that seems similar to what I'm seeing here. Best just makes it worse. I'll try High with AA to compare later if I get a chance. I'll also try messing with All Pixels AA too.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,533 Posts
+31 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

29 unregistered users.