All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ove Karlsen <ove.karlsen-AeFHuWNXbuEAvSIxZttfnVaTQe2KTcn/@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Jittered antialiasing.
Date: Wed, 07 Nov 2012 15:33:17 +0100	[thread overview]
Message-ID: <509A712D.5070700@paradoxuncreated.com> (raw)

In doom 3, there is a function called "jitter the subsampling matrix" 
(r_jitter)

I thought about doing an improved version of this, but I lack the 
expertise in driver development. But I share the idea with you, so that 
you may implement it, as a lowest resource antialiasing.

Carmack modulates the subsampling with white noise. That gives a 
psychovisual effect, that is a bit noisy, because of low-frequency 
variations. This can be improved by modulating with highpassed noise 
instead.

Also the technique can be improved by blending frames, say 1 frame is 
blended with 30% of second, 20%¤ of third 10% of fourth. And probably no 
more than that. Ratios and highpass should be tunable also. Maybe a 
lowpass on the noise would be good too, to remove extreme high-freqency.

Then you get jittered antialiasing, that combines several frames of 
different subsampling, to an average psychovisual effect, of higher 
resolution, and antialiasing.

Combining it with just a little smoothing from 2xMSAA and 2xAniso, is 
probably perfect. 2xAniso can be sharpened up with -0.5lodbias, and then 
it gives a smoother/more natural result when close, than higher aniso, 
and still sharp at distance.

Also -  Great performance in games, low latency, fast desktop:

A lot of people have been talking about these things lately. These 
things are already solved, and I sum them up, on my blog, as I have been 
researching the same, for quite some time. : 
http://paradoxuncreated.com/Blog/wordpress/?p=2268

John Carmack talks about not being able to run doom 3 at 60fps on 
consoles. So it runs at 30.

I am now running it at 72, with LOW Jitter (constant gliding framerate).
And that is even on what is today a modest dualcore 2.5ghz + a gtx 280.

So this is what you want.

-- 
Fred være med deg / Peace Be with You,
Ove Karlsen
http://www.paradoxuncreated.com

                 reply	other threads:[~2012-11-07 14:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=509A712D.5070700@paradoxuncreated.com \
    --to=ove.karlsen-aefhuwnxbueavsixzttfnvatqe2ktcn/@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.