Page MenuHome

Z Buffer Aliasing bug
Closed, ArchivedPublic

Description

Hi!

See attached blend. (Render, and view in compositor viewer node)

If you turn AA off in the render panels the result is as desired.

If you turn AA on, the Z-Buffer should not be affected. Still it seems there are some strange AA related artifacts at the edges.

I noticed, that when you delete the background plane, the edge artifacts disapear.

cheers,
alex

r33205 win7 64, ati hd4850

Event Timeline

Zbuffers can by-definition not be anti-aliased. You can't average depth values, like colors.
That causes this error, and is why FSA was added. :)

Ton Roosendaal (ton) changed the task status from Unknown Status to Archived.Nov 21 2010, 6:28 PM

Hi Ton.

I know Z-Buffers cant be Antialiased. This is not why i filed the report. Please see attached image for artifacts in the z-Buffer.

When rendering the Z-Buffer WITHOUT AA turned on in the render preferences, these artifacts dont appear. This makes me wonder, why the Z-Buffer seems to get artifacts when having AA on, although it shouldnt be affected by AA at all.

hope i made myself clear.

cheers

Obviously without AA you don't get errors. That is what FSA does, it renders 8 x "without AA" and accumulates the result.

The artefacts are because the colors (pixels) get AA'ed but the zbuffer not.

ok, i didnt know the z-buf is dependant on actual AA settings.
I would have thought it stayed the same no matter what AA setting one choses.

FSA is great of course, but i cant use the samples from FSA in external comp apps.

anyways, keep it up ;-)
cheers.

Ehh, The z-buf does NOT depend on AA setting, it is always just a single sample. If you render with AA the z-values of the last sub-pixel are being stored.