From: curt Date: Thu, 3 Jul 1997 00:51:14 +0000 (+0000) Subject: Playing with terrain color. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f9a8d0e615c4ebfb9cc9672f50d780f932037c01;p=flightgear.git Playing with terrain color. --- diff --git a/Main/mesh2GL.c b/Main/mesh2GL.c index 91d9744ce..3bdcc92e4 100644 --- a/Main/mesh2GL.c +++ b/Main/mesh2GL.c @@ -33,7 +33,7 @@ /* walk through mesh and make ogl calls */ GLint mesh2GL(struct mesh *m) { GLint mesh; - static GLfloat color[4] = { 0.3, 0.7, 0.2, 1.0 }; + static GLfloat color[4] = { 0.5, 0.4, 0.25, 1.0 }; float x1, y1, x2, y2, z11, z12, z21, z22; @@ -43,7 +43,7 @@ GLint mesh2GL(struct mesh *m) { printf("In mesh2GL(), generating GL call list.\n"); - istep = jstep = 25; /* Detail level 1 -- 1200 ... */ + istep = jstep = 4; /* Detail level 1 -- 1200 ... */ mesh = glGenLists(1); glNewList(mesh, GL_COMPILE); @@ -105,9 +105,12 @@ GLint mesh2GL(struct mesh *m) { /* $Log$ -/* Revision 1.22 1997/06/29 21:19:17 curt -/* Working on scenery management system. +/* Revision 1.23 1997/07/03 00:51:14 curt +/* Playing with terrain color. /* + * Revision 1.22 1997/06/29 21:19:17 curt + * Working on scenery management system. + * * Revision 1.21 1997/06/21 17:12:54 curt * Capitalized subdirectory names. *