summaryrefslogtreecommitdiffstats
path: root/src/viewer/Qt3DSViewerApp.h
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2019-10-09 20:51:39 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2019-10-11 13:10:32 +0300
commit7da61c9da6b885fa90d274d220c2bcef2553b006 (patch)
treefbd473eff154ab42133ff14724e87128892b9922 /src/viewer/Qt3DSViewerApp.h
parentd0cfd79d940bd9ed4dd63334ecf686fa013eaf37 (diff)
Add anaglyph stereoscopic modes into opengl runtime
Implement also anaglyph red-cyan & green-magenta stereoscopic modes for opengl runtime. APIs for C++ and QML. Add options into viewer. Task-number: QT3DS-3981 Change-Id: Idb9f659b3799e954253e37045c1a3b2a55fb2779 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/viewer/Qt3DSViewerApp.h')
-rw-r--r--src/viewer/Qt3DSViewerApp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/viewer/Qt3DSViewerApp.h b/src/viewer/Qt3DSViewerApp.h
index 441cd50..25d2ed7 100644
--- a/src/viewer/Qt3DSViewerApp.h
+++ b/src/viewer/Qt3DSViewerApp.h
@@ -95,7 +95,9 @@ struct ViewerStereoModes
enum Enum {
Mono,
TopBottom,
- LeftRight
+ LeftRight,
+ AnaglyphRedCyan,
+ AnaglyphGreenMagenta
};
};