chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d5009
)
Make the 3D platfrom transparent.
author
daid303
<daid303@gmail.com>
Fri, 5 Oct 2012 20:26:40 +0000
(22:26 +0200)
committer
daid303
<daid303@gmail.com>
Fri, 5 Oct 2012 20:26:40 +0000
(22:26 +0200)
Cura/gui/opengl.py
patch
|
blob
|
history
diff --git
a/Cura/gui/opengl.py
b/Cura/gui/opengl.py
index f8077ab85019468fd4de231e0090b9d4b93ceb40..a1fb9754f3ea1f5fab73d8d2e6af5d9fe81e4788 100644
(file)
--- a/
Cura/gui/opengl.py
+++ b/
Cura/gui/opengl.py
@@
-55,7
+55,9
@@
def DrawMachine(machineSize):
glEnable(GL_LIGHTING)
\r
glTranslate(100,120,-285)
\r
glLightfv(GL_LIGHT0, GL_DIFFUSE, [0.8,0.8,0.8])
\r
- glLightfv(GL_LIGHT0, GL_AMBIENT, [0.3,0.3,0.3])
\r
+ glLightfv(GL_LIGHT0, GL_AMBIENT, [0.5,0.5,0.5])
\r
+ glEnable(GL_BLEND)
\r
+ glBlendFunc(GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR)
\r
\r
global platformMesh
\r
if platformMesh == None:
\r