Permalink
Browse files

Added Skybox, Need to fix getCart method of Object()

  • Loading branch information...
1 parent 7e705c6 commit ed71a1eba5435e7fae8cbebca40236adcc621e36 Fabián Heredia Montiel committed Apr 26, 2012
View
@@ -68,7 +68,7 @@ def init():
# glsl.toggle()
# Add objects
- object.create("resources/models/skybox.obj", {"id": "skybox", "pos": [0, 0, 0, 100], "scale": 50})
+ object.create("resources/models/skybox.obj", {"id": "skybox", "pos": [0, 0, 0, 100], "scale": 40})
object.create("resources/models/Pejuang_Final.obj", {"id": "player", "pos": [0, 0, 0, 100]})
object.create("resources/models/Pejuang_Final.obj", {"pos": [randint(0,360), randint(0,360), randint(0,360), 100]})
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
# Blender MTL File: 'skybox.blend'
-# Material Count: 1
+# Material Count: 2
newmtl skybox
Ns 96.078431
Ka 0.000000 0.000000 0.000000
@@ -11,3 +11,14 @@ illum 2
map_Kd resources/models/duskcontrast.jpg
+newmtl skybox_duskcontrast.jpg
+Ns 96.078431
+Ka 0.000000 0.000000 0.000000
+Kd 0.640000 0.640000 0.640000
+Ks 0.500000 0.500000 0.500000
+Ni 1.000000
+d 1.000000
+illum 2
+map_Kd resources/models/duskcontrast.jpg
+
+
Oops, something went wrong.

0 comments on commit ed71a1e

Please sign in to comment.