PDA

View Full Version : Anti Aliasing Issues


pixel8studio
04-30-2007, 05:56 PM
Hi...

I'm having a strange problem with jagged edges in my transparencies in a project I'm working on. The objects are simple cubes with a simple transparent material with a 1.5 fresnel refraction. The image below is rendered using 1x1/4x4 min/max anti aliasing. The jaggies go away when I increase it to 4x4/4x4 but my render time increases from a few seconds a frame to 3+ min per frame. Any help is greatly appreciated.

http://www.pixel8studio.com/stage/c4d/jaggies.png

Thanks in advance!
Ken

Theropoda
04-30-2007, 06:17 PM
Maybe try decreasing the threshold, don't know if that may help. You could also try giving the objects render tags and setting the 4x4 min only for certain objects, while the global setting remains 1x1.
Also search this thread:
http://forums.cgsociety.org/showthread.php?f=95&t=404342
where Per-Anders gives some very helpful tips for increasing the quality of your renders.

hope i could help,
Günter

e[dub]
04-30-2007, 06:44 PM
you're using "best" AA, and not just "geometry", right?

pixel8studio
04-30-2007, 06:51 PM
Yes, "Best" AA is what I'm using. Lowering the threshold dropped it from 3 min to 2 min a frame, but unfortunately, that still doesn't cut it. I tried rendering out a single cube and I still get the same thing with nearly the same render time. Seems that the back edge that is seen through the transparency is the culprit here.

Jorge Arango
04-30-2007, 08:43 PM
Just put a compositing tag on each object that is behind the transparent material and up the min/max antialiasing settings only on those objects. Like Theropoda says.


Jorge Arango

pixel8studio
04-30-2007, 08:56 PM
Thanks for the suggestions, but I think I'm going to have to play with my materials more to fake this look. Using the compositing tag to single out only the objects behind the transparency won't help me here since it is the back faces of the cubes that are the problem and there are only the 3 cubes in the scene. Even rendering out a single cube doesn't save me that much time let alone singling each one out to render.

StefanB
04-30-2007, 09:17 PM
Yes, "Best" AA is what I'm using. Lowering the threshold dropped it from 3 min to 2 min a frame, but unfortunately, that still doesn't cut it.
If you lowered the AA threshold your render times should be higher not shorter.

pixel8studio
05-01-2007, 03:51 AM
What I meant was that lowering the threshold to 0% at 1x1/4x4 gave me less jagged edges at 2 min per frame instead of 3+min per frame at 4x4/4x4 at 10% threshold.

Per-Anders
05-01-2007, 04:02 AM
The threshold is he contrast level at which it raises the AA to compensate. You don't need to lower it to 0% normally, just a bit lower than 10% and then raise your upper AA value a bit if you want, also try different aliasing algorithms, some work better in certain situations than others, some are faster than others too.

marcorabellini
05-01-2007, 09:07 PM
Also, the more vertical and horizontal you lines are the harder AA is going to need to work.
You can also render twice as big at a lower AA and reduce the size in photoshop.
Try increasing the ray depth to accurately render multiple transparency levels.
m

CGTalk Moderation
05-01-2007, 09:07 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.