added crate library object

git-svn-id: svn://anubis/anaglym/trunk@101 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-10-19 01:59:25 +00:00
parent 9a944721ca
commit 7e22874623
7 changed files with 45 additions and 0 deletions

13
lib/crate.mtl Normal file
View File

@ -0,0 +1,13 @@
# Blender3D MTL File: crate.blend
# Material Count: 1
newmtl Material_crate.png
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 crate.png

29
lib/crate.obj Normal file
View File

@ -0,0 +1,29 @@
# Blender3D v248 OBJ File: crate.blend
# www.blender3d.org
mtllib crate.mtl
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 1.000000 -1.000000
v 1.000000 0.999999 1.000000
v 0.999999 -1.000001 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 1.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 1.000000
vn 1.000000 -0.000000 0.000000
vn -0.000000 -1.000000 -0.000000
vn -1.000000 0.000000 -0.000000
vn 0.000000 1.000000 0.000000
usemtl Material_crate.png
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 5/1/2 8/2/2 7/3/2 6/4/2
f 1/1/3 5/2/3 6/3/3 2/4/3
f 2/1/4 6/2/4 7/3/4 3/4/4
f 3/1/5 7/2/5 8/3/5 4/4/5
f 5/1/6 1/2/6 4/3/6 8/4/6

1
lib/crate.phy Normal file
View File

@ -0,0 +1 @@
cube "Cube" 2.000000 2.000000 2.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000

BIN
lib/crate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
libsrc/crate.blend Normal file

Binary file not shown.

View File

@ -22,3 +22,5 @@ ball3 = ball:clone()
ball3:setPosition(-7, 7.4, 16) ball3:setPosition(-7, 7.4, 16)
logo = ag.loadModel("dwlogo", 0.5) logo = ag.loadModel("dwlogo", 0.5)
logo:setPosition(-1, 2, 11) logo:setPosition(-1, 2, 11)
crate = ag.loadModel("crate")
crate:setPosition(-5, -3, 10)