سؤال

While cleaning up the attic, I found a pair of 3d-glasses with the left "eye" being blue and the right one being red. Just for the fun of it, I then created a program that draws a cube (the edges) in red and blue such that it should appear three dimensional with the 3d glasses.

I chose pure red (255, 0, 0) and pure blue (0, 0, 255) when drawing the cube. As far as I can see, the math is correct, but it feels quite unnatural looking at the cube. I guess this is because the one eye sees the cube in different colors than the right eye.

So, could I enhance the viewing experience by altering the colors? And if so, what colors would I use?

هل كانت مفيدة؟

المحلول

There are some tricks for producing anaglyphs. While not well written, the Wikipedia article touches on some key points:

http://en.wikipedia.org/wiki/Anaglyph_image

نصائح أخرى

If I were you, I would view the pdfs on a page like this, pick the colours I thought were most appropriate, then find the rgb values of those colours using a program like this.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top