[quake3] ioquake3 anaglyphed

Thilo Schulz arny at ats.s.bawue.de
Fri Apr 18 05:03:21 EDT 2008


On Freitag, 18. April 2008, Stephan Reiter wrote:
> Very good work, Thilo!

Thank you.
Most of the stereoscopic stuff was already there, though. Apparently, some 
versions of quake3 used to support shutter glasses so I used that as base and 
instead of writing to two seperate buffers (e.g. GL_BACK_LEFT and 
GL_BACK_RIGHT) I just had to make sure via ColorMask that only some colour 
channels are written to.
So this was not very difficult and could be done with some common sense, even 
though I don't really know OpenGL :)
A weakness of this method is that these are colored anaglyphs and it won't 
work for objects that only have one color, say red objects. So the impression 
is stronger if both images are converted to greyscale first and only then 
should the mapping to the respective colors be done. Is this possible without 
the use of fragment shaders? Obviously, that processing would have to be done 
in the very end when the image has finished rendering.

-- 
Thilo Schulz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://icculus.org/pipermail/quake3/attachments/20080418/e8e7cce4/attachment.pgp>


More information about the quake3 mailing list