Software 3D Renderer - Do I really need Perspective Correction?

Started by
1 comment, last by SymLinked 11 years, 4 months ago
Hi,

Do I really need Perspective Correction if I'm not going to use any textures/lighting? I just want to render solid triangles and nothing else.
I've heard you still need it for triangles that are big enough or close enough to the camera, is that true?

I was hoping it's just for texturing/lighting so I don't have to implement it. smile.png

Sincerely,
Sym
Advertisement
Depth should be also interpolated using perspective correction. Without it there will be some z-buffer artifacts in places where two triangles intersect / overlap. More or less visible, depending on triangle position and size.

BTW persp corr interpolation just for zbuffer is simple - just linearly interpolate 1/z in screen space.
Thanks a lot Krzysztof, then it's all clear! Useful tip about the zbuffer too.

This topic is closed to new replies.

Advertisement