Sun, Dec 1, 6:30 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 7:57 am)



Subject: Where is the anti-aliasing?


ptrope ( ) posted Fri, 04 January 2008 at 2:28 PM · edited Tue, 29 October 2024 at 10:21 PM

file_396832.jpg

I'm confounded! I'm working on a decent set of crew quarters from the original *Star Trek* and want to get some good renders, but when I do, the image doesn't seem to anti-alias at all, even though I have the post filter size set to 2; I've used this successfully in previous subjects, but all my hard edges here are coming out aliased, regardless of changes in the settings. I even tried anti-aliasing the finished render, but P6 just anti-aliased the preview window, instead.

What am I missing, here?


SamTherapy ( ) posted Fri, 04 January 2008 at 2:48 PM

Drop your Shading rate to 0.1 and increase Pixel samples to 4, if you haven't already done so.  I'd honestly forget about Post Filter; it tends to slow things down and screws up details.

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


Miss Nancy ( ) posted Fri, 04 January 2008 at 2:52 PM

absolutely never use post filter IMVHO. leave it at default. save as tiff file, not jpeg.



stewer ( ) posted Fri, 04 January 2008 at 3:08 PM

Attached Link: http://en.wikipedia.org/wiki/Anti-aliasing

Antialiasing is a topic much more complex than one would want it to be, and unfortunately there is no one-size-fits all solution (even worse, there is no perfect solution). If you do the math (see the attached link), you'll find out that the (default) 1-pixel box filter is only a quick-and-dirty approach and that higher quality AA requires higher oder filters that span several pixels. I suggest you try the combination of 2 pixel gauss filter and 3 pixel sinc filter for a start (for the sinc filter it may be necessary to increase the displacement bounds to 0.2 or so). Use between 3 and 5 pixel samples. For the scene in the render you posted, you shouldn't need more pixel samples than that, and a lower shading rate will only make it slower and use more RAM, but not make any difference in looks.


ptrope ( ) posted Fri, 04 January 2008 at 4:38 PM

file_396843.jpg

Thanks for the help!

I tried it at .1 & 4 pixels sampling, but all it did was slowly render it aliased. Then I bumped the shading rate back up to 2, and hte sampling rate to 6, and it cleaned it up nicely! No post filter at all.


Plutom ( ) posted Fri, 04 January 2008 at 5:55 PM

Gang, thanks for the information, did the same thing, 6 pixel sampling and shading rate at 2, mine looks good too.  Plutom  


ockham ( ) posted Fri, 04 January 2008 at 6:17 PM

That's a great improvement.  I'd been having the same problem with
my 'hard-edged' architectural scenes.  Will try those same settings!

My python page
My ShareCG freebies


bopperthijs ( ) posted Sat, 05 January 2008 at 6:27 AM · edited Sat, 05 January 2008 at 6:27 AM

That... was one of the best tip I've had for some time, it really improves my renderings. I was always a bit annoyed about the jagged lines in poserrenderings, but this really solves it. And as I look back it make sense, the more samples you make the better you anti-aliasing works. I also tried it with the samplingrate of the ambient-occlusion settings and that also makes improvements. It slows down my rendering, but I get razorsharp images. Only, setting the shadingrate to 2 makes it worse in my experience, 0,2 works better for me. Not only does it improve the "hard-edged" lines, but somehow it also softens curved lines.
Thanks for bringing this up Ptrope.

best regards,

Bopperthijs

-How can you improve things when you don't make mistakes?


Santel ( ) posted Sat, 05 January 2008 at 2:52 PM

Thanks to Stewer for his input....it's always apprectiated!
Regards,


ninhalo5 ( ) posted Sat, 05 January 2008 at 4:27 PM

Quote - absolutely never use post filter IMVHO. leave it at default. save as tiff file, not jpeg.

yes filters are only good for some sort of special effect that does not seem very special ;o)
I actually save all my renders as a png file. they are smaller in size than a Tiff and I havent noticed any loss in detail. posers jpg setting is horrible never ever use it.


bopperthijs ( ) posted Sat, 05 January 2008 at 6:24 PM

One word of warning and advice: increasing the sampling rate, also increases the rendertime considerably (like I wrote earlier), making my bucketsize smaller (32 instead of 64) seems to approved the rendertime dramatically.

happy rendering,

Bopperthijs

-How can you improve things when you don't make mistakes?


stewer ( ) posted Sun, 06 January 2008 at 7:17 AM

Attached Link: http://graphics.stanford.edu/~mmp/chapters/pbrt_chapter7.pdf

> Quote - > Quote - absolutely never use post filter IMVHO. leave it at default. save as tiff file, not jpeg. > > > > yes filters are only good for some sort of special effect that does not seem very special

Don't confuse rendering filters with Photoshop filters. They're not the same! The post filter is what's combining the pixel samples into pixels, so it's operating at a different level than any filters you apply to a final image. This is an essential part of the antialiasing process in a 3d renderer. As I wrote earlier, there is no 'perfect' antialiasing (in theory, it would be an infinite number of samples with an infinitely large sinc filter and inifnite render time). You can get close, but you'll have to live with tradeoffs in one or the other direction. A box filter is simple and fast because it gives all samples equal importance. Gauss and sinc give the samples in the center of a pixel more weight than the others. The differences are especially visible when it comes to details smaller than a pixel, for example thin strands of hair. Many simple renderers (like the Poser 4 renderer) simply pick a filter and leave you with that. If you want the nitty-gritty details, the attached link is the 89 page chapter "Sampling and reconstruction" from the book "Physically based rendering". The part regarding filter functions (7.6) starts at PDF page 72.


stewer ( ) posted Sun, 06 January 2008 at 7:51 AM · edited Sun, 06 January 2008 at 7:54 AM

file_396965.png

As a visual demonstration, here's some fine hair rendered with different pixel filter settings. All the other settings are identical. Notice how the box filter shows the most prominent jaggies, where diagonal lines are much smoother with the gauss and sinc filters.

Click the image to see it at the correct size.


stewer ( ) posted Sun, 06 January 2008 at 7:55 AM · edited Sun, 06 January 2008 at 7:56 AM

file_396966.png

For a more close-up look, here are small sections of the three images enlarged 300%. Same order as above.


stewer ( ) posted Sun, 06 January 2008 at 8:00 AM

file_396967.png

It is important to mention that this is a situation where brute-force won't help: you can crank up the pixel samples as you want, the box filter will still show jaggies. Here's the same thing at pixel samples 20 with a 1 pixel box filter. Even with >10 times as many samples, it still doesn't match the sinc or box filtered images. 

(">10 times" because the pixel samples are in a nn square - a value of 6 results in 66=36 samples, 20*20=400 samples.)


stewer ( ) posted Sun, 06 January 2008 at 8:19 AM

That's our "more crazy technical rendering setting details than I wanted to know"-session for today. If you haven't had enough yet, you can take a look at discussion boards and tutorials for other renderers that allow a choice of pixel filter - mental ray, the Maya renderer or any RenderMan engine. As interesting facts on the side, the "mental ray production" preset in Maya or Softimage XSI defaults to 3 pixel gauss, the Maya renderer goes to 2.2 pixel triangle in production mode and DAZ|Studio appears to set the 3Delight engine to 4 pixel sinc, (3Delight itself defaults to 2 pixel box). C4D does not allow you to pick the filter size, but gives you also the choice between several filter types.

To conclude with a bad pun: If you care about good antialiasing, think outside the box filter. :tongue1:


bopperthijs ( ) posted Sun, 06 January 2008 at 9:06 AM · edited Sun, 06 January 2008 at 9:12 AM

@Stewer
Does a 1 pixel filter work anyway? 
Regards,

Thijs

-How can you improve things when you don't make mistakes?


stewer ( ) posted Sun, 06 January 2008 at 3:47 PM

Stupid answer: depends on your definition of "work". The big rule of computer graphics, "whatever looks right, is right", let your eyes be the judge. The math may say a 1 pixel box filter does not result in optimal antialising, but if said filter looks exceptionally good for your scene, then yes, by all means use it! At 1 pixel size, there probably won't be that much of a difference between the three filter types. It's just my personal experience that the gauss filter looks best at size 2, the sinc filter at size 4 and the box filter at size 1. But again, try out things for yourself.


bopperthijs ( ) posted Sun, 06 January 2008 at 4:41 PM

I'm afraid I compair 3D-anti-aliasing too much with 2D-anti-aliasing: In 2D you look at the surrounding pixels and I suppose that isn't the same in 3D.

Thanks for the answer, I'll try some things out.

regards,

Bopperthijs

-How can you improve things when you don't make mistakes?


Santel ( ) posted Mon, 07 January 2008 at 7:10 PM

Stewer, again thanks so much for providing this much needed info!
as a 'side note', maybe you should write a pdf, for sale, explaining Poser's functions in practical terms as the manual should , but rarely does :)

Regards....


jeffg3 ( ) posted Mon, 07 January 2008 at 7:32 PM

Anybody remember to old program JAG - "Remove the jaggies."?


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.