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

Comparing libgender/view.C (file contents):
Revision 1.22 by root, Wed Oct 6 04:49:13 2004 UTC vs.
Revision 1.23 by root, Wed Oct 6 05:24:03 2004 UTC

101 glEnable (GL_POLYGON_OFFSET_FILL); 101 glEnable (GL_POLYGON_OFFSET_FILL);
102 glPolygonOffset (0, 1); 102 glPolygonOffset (0, 1);
103 glDepthFunc (GL_LESS); 103 glDepthFunc (GL_LESS);
104 glDisable (GL_LIGHTING); 104 glDisable (GL_LIGHTING);
105 glColorMask (0, 0, 0, 0); 105 glColorMask (0, 0, 0, 0);
106 //cgGLDisableProfile (CG_PROFILE_ARBVP1); 106 //cgGLDisableProfile (vsh_profile);
107 cgGLDisableProfile (CG_PROFILE_ARBFP1); 107 cgGLDisableProfile (fsh_profile);
108 } 108 }
109 else 109 else
110 { 110 {
111#if 0 111#if 0
112 glEnable (GL_MINMAX); 112 glEnable (GL_MINMAX);
113#endif 113#endif
114 glDisable (GL_POLYGON_OFFSET_FILL); 114 glDisable (GL_POLYGON_OFFSET_FILL);
115 glDepthFunc (GL_LESS); 115 glDepthFunc (GL_LESS);
116 glDepthMask (0); 116 glDepthMask (0);
117 cgGLEnableProfile (CG_PROFILE_ARBVP1); 117 cgGLEnableProfile (vsh_profile);
118 cgGLEnableProfile (CG_PROFILE_ARBFP1); 118 cgGLEnableProfile (fsh_profile);
119 } 119 }
120 120
121 for (vector<octant *>::iterator i = vislist.begin (); i != vislist.end (); ++i) 121 for (vector<octant *>::iterator i = vislist.begin (); i != vislist.end (); ++i)
122 (*i)->display (*this); 122 (*i)->display (*this);
123 123

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines