All of lore.kernel.org
 help / color / mirror / Atom feed
* Jittered antialiasing.
@ 2012-11-07 14:33 Ove Karlsen
  0 siblings, 0 replies; only message in thread
From: Ove Karlsen @ 2012-11-07 14:33 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-07 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 14:33 Jittered antialiasing Ove Karlsen

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.