ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/view.C
(Generate patch)

Comparing libgender/view.C (file contents):
Revision 1.18 by root, Wed Oct 6 01:41:30 2004 UTC vs.
Revision 1.20 by root, Wed Oct 6 02:10:44 2004 UTC

66} 66}
67 67
68void view::begin () 68void 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
76 // check occlusion queries here 77 // check occlusion queries here
78 for (vector<octant *>::iterator i = checklist.begin (); i != checklist.end (); ++i)
79 occ_query_result ((*i)->occ_query);
80
77 checklist.clear (); 81 checklist.clear ();
78 82
79 world.detect_visibility (*this); 83 world.detect_visibility (*this);
80} 84}
81 85
101 //cgGLDisableProfile (CG_PROFILE_ARBVP1); 105 //cgGLDisableProfile (CG_PROFILE_ARBVP1);
102 cgGLDisableProfile (CG_PROFILE_ARBFP1); 106 cgGLDisableProfile (CG_PROFILE_ARBFP1);
103 } 107 }
104 else 108 else
105 { 109 {
110#if 0
106 glEnable (GL_MINMAX); 111 glEnable (GL_MINMAX);
112#endif
107 glDisable (GL_POLYGON_OFFSET_FILL); 113 glDisable (GL_POLYGON_OFFSET_FILL);
108 glDepthFunc (GL_LESS); 114 glDepthFunc (GL_LESS);
109 glDepthMask (0); 115 glDepthMask (0);
110 cgGLEnableProfile (CG_PROFILE_ARBVP1); 116 cgGLEnableProfile (CG_PROFILE_ARBVP1);
111 cgGLEnableProfile (CG_PROFILE_ARBFP1); 117 cgGLEnableProfile (CG_PROFILE_ARBFP1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines