]> git.mxchange.org Git - flightgear.git/commitdiff
Playing with terrain color.
authorcurt <curt>
Thu, 3 Jul 1997 00:51:14 +0000 (00:51 +0000)
committercurt <curt>
Thu, 3 Jul 1997 00:51:14 +0000 (00:51 +0000)
Main/mesh2GL.c

index 91d9744cef72102ad4ffed155b8b2982615d1bc9..3bdcc92e491fef2077a49a42ea6df7ebb207ac75 100644 (file)
@@ -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.
  *