POV-Ray : Newsgroups : povray.off-topic : kd-trees rule! : Re: kd-trees rule! Server Time
6 Sep 2024 13:19:08 EDT (-0400)
  Re: kd-trees rule!  
From: Severi Salminen
Date: 14 Feb 2009 05:38:29
Message: <49969f25$1@news.povray.org>
scott wrote:


> Oh yeh I was going to ask about anti-aliasing, do you get this for free
> too with your algorithm - or do you need to specifically jitter each
> primary ray somehow?

Every ray from the camera goes through one single point. So yes, I have
to rotate each primary ray a bit to cover the area of a single pixel. So
basically I choose a random position within a pixel and trace that
direction. And because you normally do hundreds or thousands of passes
you end up getting perfect antialiasing.


-- 
Severi Salminen
http://www.iki.fi/severi


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.