00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Berj Bannayan,, 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: DM_ViewportType.h ( DM Library, C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __DM_ViewportType__ 00020 #define __DM_ViewportType__ 00021 00022 #define DM_VIEWPORT_ORTHO 0x0ff 00023 #define DM_VIEWPORT_TOP 0x001 00024 #define DM_VIEWPORT_FRONT 0x002 00025 #define DM_VIEWPORT_RIGHT 0x004 00026 #define DM_VIEWPORT_BOTTOM 0x008 00027 #define DM_VIEWPORT_BACK 0x010 00028 #define DM_VIEWPORT_LEFT 0x020 00029 00030 #define DM_VIEWPORT_PERSPECTIVE 0xf00 00031 00032 #define DM_VIEWPORT_ALL_3D (DM_VIEWPORT_PERSPECTIVE|DM_VIEWPORT_ORTHO) 00033 00034 #define DM_VIEWPORT_UV 0x1000 00035 00036 #define DM_VIEWPORT_ALL (DM_VIEWPORT_ALL_3D | DM_VIEWPORT_UV) 00037 00038 typedef int DM_ViewportType; 00039 00040 00041 // Enumerates the ways in which the viewport can display stereo 3d images 00042 enum DM_S3DDisplayFormat 00043 { 00044 DM_S3D_DISP_ANAGLYPH, // red-cyan anaglyph 00045 DM_S3D_DISP_H_INTERLACE, // horizontal line interlace 00046 DM_S3D_DISP_H_INTERLACE_REV // as above, but with even lines for R-eye 00047 }; 00048 00049 #endif
1.5.9