chiark / gitweb /
First initial color changes. Still needs more work.
authorSteven Abadie <steven@alephobjects.com>
Wed, 15 Oct 2014 06:38:54 +0000 (00:38 -0600)
committerSteven Abadie <steven@alephobjects.com>
Wed, 15 Oct 2014 06:38:54 +0000 (00:38 -0600)
Cura/gui/sceneView.py
resources/images/checkerboard.png
resources/images/splash.png

index 436b9b19d5a7c3466898f5bbaaddba3734f56a1c..a994c18d768612fcd1af94f99ea8d420fcb951c6 100644 (file)
@@ -1333,11 +1333,11 @@ class SceneView(openglGui.glGuiPanel):
                for n in xrange(0, len(polys[0])):
                        if not circular:
                                if n % 2 == 0:
-                                       glColor4ub(5, 171, 231, 96)
+                                       glColor4ub(210, 235, 103, 100)
                                else:
-                                       glColor4ub(5, 171, 231, 64)
+                                       glColor4ub(223, 241, 145, 100)
                        else:
-                               glColor4ub(5, 171, 231, 96)
+                               glColor4ub(223, 241, 145, 100)
 
                        glVertex3f(polys[0][n][0], polys[0][n][1], height)
                        glVertex3f(polys[0][n][0], polys[0][n][1], 0)
@@ -1346,7 +1346,7 @@ class SceneView(openglGui.glGuiPanel):
                glEnd()
 
                #Draw top of build volume.
-               glColor4ub(5, 171, 231, 128)
+               glColor4ub(183, 209, 90, 100)
                glBegin(GL_TRIANGLE_FAN)
                for p in polys[0][::-1]:
                        glVertex3f(p[0], p[1], height)
@@ -1358,7 +1358,8 @@ class SceneView(openglGui.glGuiPanel):
                        glBindTexture(GL_TEXTURE_2D, self._platformTexture)
                        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
                        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
-               glColor4f(1,1,1,0.5)
+               #Dark checkerboard color
+               glColor4f(1,1,1,0.7)
                glBindTexture(GL_TEXTURE_2D, self._platformTexture)
                glEnable(GL_TEXTURE_2D)
                glBegin(GL_TRIANGLE_FAN)
index 619ac83436c4c0a5b5161223270742c5a1e31d7b..1a11408a38d9b86bb9aee24cc956b46d5a24056f 100644 (file)
Binary files a/resources/images/checkerboard.png and b/resources/images/checkerboard.png differ
index 08aa113c1af2f36474b6528ab6383567d5d6c08e..5da2bef5fe18eb2b575efff70ef17190fcf8d16b 100644 (file)
Binary files a/resources/images/splash.png and b/resources/images/splash.png differ