Forum Discussion
VRex
11 years agoProtege
Viewing Red/Cyan Anaglyphs with the Rift
Howdy,
I'm trying to experiment with viewing red/cyan anaglyph photos and videos using the Rift. I tried rendering a transparent cyan layer over the right eye and a red over the left, but it didn't seem to do the trick. Has anyone messed with this? Can anyone provide some insight into how this might work? Thanks so much.
VRex
I'm trying to experiment with viewing red/cyan anaglyph photos and videos using the Rift. I tried rendering a transparent cyan layer over the right eye and a red over the left, but it didn't seem to do the trick. Has anyone messed with this? Can anyone provide some insight into how this might work? Thanks so much.
VRex
6 Replies
- cyberealityGrand ChampionThe way you do it is you discard a particular color channel (or pair of channels) from each eye.
So for standard red/cyan anaglyph you would discard the red channel from the left eye, and then discard the blue and green channels from the right eye. You can do this pretty easily with a full-screen pixel shader, for example. - HaroldddMemberObviously you don't want to put color filters in your Oculus Rift! :lol:
Better idea is to convert them to side-by-side pairs with free software like StereoPhoto Maker.
http://stereo.jpn.org/eng/stphmkr/ - MatlockHonored Guest
"cybereality" wrote:
The way you do it is you discard a particular color channel (or pair of channels) from each eye.
So for standard red/cyan anaglyph you would discard the red channel from the left eye, and then discard the blue and green channels from the right eye. You can do this pretty easily with a full-screen pixel shader, for example.
You don't discard any colors because that will break the image.
What if there was a blue object.
In one eye you would see the blue object, and in the other eye you would not even see it.
You would instead combine (R+G+B)/3 per pixel, and put that result into either the red, or blue channel for left or right. - cyberealityGrand Champion@matlock: I believe my instructions were correct. What I was talking about was how to take a stereo image already encoded as an anaglyph and viewing it with a Rift. Basically converting anaglyph into side-by-side. What you are saying is how to encode an anaglyph image from a full color stereo image. That is actually the opposite of what the OP is asking.
- AlesCZHonored GuestVR + Anaglyph could theoretically increase the resolution. Videos not need to divide into two windows. But maybe it's stupid.
- AlesCZHonored GuestBut we are talking primarily about Cardboard Solutions.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 4 months ago