DescriptionThis patch adds a "glass colour" enum to the Anaglyph stereo interface.
Now Red-Cyan is the default, but it supports too green-magenta (I never saw one of those but I know they are out there) and magenta-green.
I ordered a magenta-green glass for a project that should arrive next week.
Once I test this patch with the real thing I will try to push it to a commit (despite our lovely bcon3 feature freeze status).
As for the patch:
1) it can/should probably initialize anaglyphmode in scene.c (blenkernel) but the default is 0 (red-cyan) so I don't know if it's necessary.
2) instead of creating new RAS_ defines I hardcoded the values. I'm one to point fingers when people do that but it sounds a bit overkill for this case. Thoughts?
3) I have a version of this patch that supports setting it through python. It works nice but I may be the only person that needs that changing in realtime :) so I'm not including this in the patch.
Patch Set 1 #
MessagesTotal messages: 3
|