Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce retinal rivalry and color shimmering in anaglyph 3D rendering mode by using filters #14671

Open
Hiradur opened this issue May 16, 2024 · 1 comment
Labels
@ Client / Audiovisuals Feature request Issues that request the addition or enhancement of a feature

Comments

@Hiradur
Copy link

Hiradur commented May 16, 2024

Problem

The current anaglyph rendering mode has seemingly no filtering applied, which leads to color shimmering and retinal rivalry.

Solutions

The Dubois filter is a renown filter that aims to reduce retinal rivalry and ghosting to increase eye comfort. IMO it leads to a much more pleasant viewing experience. I suggest to add it as an additional option for anaglyph rendering.

Alternatives

A new anaglyph filter specifically for gaming has recently been developed: Rendepth. I haven't tried it but I think it's worth a look. Apparently the idea is to build on the ideas of the Dubois filter, which was originally developed for CRTs, to account for the properties of LCD screens and introduce gamma correction for individual color-channels to improve color reproduction.

Additional context

Please note that the following screenshots have to be viewed through regular red/cyan anaglyph glasses to appreciate the difference.

Red/Cyan Anaglyph using the current anaglyph renderer in Minetest:
minetest-anaglyph

Red/Cyan Anaglyph created by applying the ffmpeg dubois filter to an side-by-side stereo-rendering from Minetest:
minetest-sbs-dubois

@Hiradur Hiradur added the Feature request Issues that request the addition or enhancement of a feature label May 16, 2024
@lhofhansl
Copy link
Contributor

I can confirm that the second image is much easier to look at through red/cyan glasses.
What is described in the linked article is not hard to add as a post processing step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Client / Audiovisuals Feature request Issues that request the addition or enhancement of a feature
Projects
None yet
Development

No branches or pull requests

3 participants