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:
parent
967b6ac5b5
commit
dd00b76d50
BIN
lib/checker.jpg
Normal file
BIN
lib/checker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
13
lib/checkerball.mtl
Normal file
13
lib/checkerball.mtl
Normal file
@ -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
lib/checkerball.obj
Normal file
1694
lib/checkerball.obj
Normal file
File diff suppressed because it is too large
Load Diff
1
lib/checkerball.phy
Normal file
1
lib/checkerball.phy
Normal file
@ -0,0 +1 @@
|
||||
sphere "Sphere" 1.000000 0.000000 0.000000 0.000000
|
BIN
libsrc/checker.jpg
Normal file
BIN
libsrc/checker.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
libsrc/checkerball.blend
Normal file
BIN
libsrc/checkerball.blend
Normal file
Binary file not shown.
@ -4,9 +4,8 @@ function update()
|
||||
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
||||
end
|
||||
|
||||
--ag.setCamera(8, -8, 15, -8, 8, 4, 0, 0, 1)
|
||||
arena = ag.loadStaticModel("boxarena")
|
||||
ball = ag.loadModel("ball")
|
||||
ball = ag.loadModel("checkerball")
|
||||
ball:setPosition(-7, 7.4, 12)
|
||||
ball2 = ball:clone()
|
||||
ball2:setPosition(-7, 7.4, 14)
|
||||
|
Loading…
x
Reference in New Issue
Block a user