… | |
… | |
66 | } |
66 | } |
67 | |
67 | |
68 | void view::begin () |
68 | void view::begin () |
69 | { |
69 | { |
70 | vismap.clear (); |
70 | vismap.clear (); |
|
|
71 | vislist.clear (); |
71 | |
72 | |
72 | generation++; |
73 | generation++; |
73 | |
74 | |
74 | reset_projection (); |
75 | reset_projection (); |
75 | |
76 | |
… | |
… | |
101 | //cgGLDisableProfile (CG_PROFILE_ARBVP1); |
102 | //cgGLDisableProfile (CG_PROFILE_ARBVP1); |
102 | cgGLDisableProfile (CG_PROFILE_ARBFP1); |
103 | cgGLDisableProfile (CG_PROFILE_ARBFP1); |
103 | } |
104 | } |
104 | else |
105 | else |
105 | { |
106 | { |
|
|
107 | #if 0 |
106 | glEnable (GL_MINMAX); |
108 | glEnable (GL_MINMAX); |
|
|
109 | #endif |
107 | glDisable (GL_POLYGON_OFFSET_FILL); |
110 | glDisable (GL_POLYGON_OFFSET_FILL); |
108 | glDepthFunc (GL_LESS); |
111 | glDepthFunc (GL_LESS); |
109 | glDepthMask (0); |
112 | glDepthMask (0); |
110 | cgGLEnableProfile (CG_PROFILE_ARBVP1); |
113 | cgGLEnableProfile (CG_PROFILE_ARBVP1); |
111 | cgGLEnableProfile (CG_PROFILE_ARBFP1); |
114 | cgGLEnableProfile (CG_PROFILE_ARBFP1); |