added a textured checkerball model, but not loading textures to draw yet
git-svn-id: svn://anubis/anaglym/trunk@89 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
967b6ac5b5
commit
dd00b76d50
7 files changed
+1709
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,13 @@
|
|||||||
|
# Blender3D MTL File: checkerball.blend
|
||||||
|
# Material Count: 1
|
||||||
|
newmtl Material.001_checker.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 checker.jpg
|
||||||
|
|
||||||
|
|
||||||
+1694
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
|||||||
|
sphere "Sphere" 1.000000 0.000000 0.000000 0.000000
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
@@ -4,9 +4,8 @@ function update()
|
|||||||
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
--ag.setCamera(8, -8, 15, -8, 8, 4, 0, 0, 1)
|
|
||||||
arena = ag.loadStaticModel("boxarena")
|
arena = ag.loadStaticModel("boxarena")
|
||||||
ball = ag.loadModel("ball")
|
ball = ag.loadModel("checkerball")
|
||||||
ball:setPosition(-7, 7.4, 12)
|
ball:setPosition(-7, 7.4, 12)
|
||||||
ball2 = ball:clone()
|
ball2 = ball:clone()
|
||||||
ball2:setPosition(-7, 7.4, 14)
|
ball2:setPosition(-7, 7.4, 14)
|
||||||
|
|||||||
Reference in new issue
Block a user