added bowling_ball model; infinite-loop test script
git-svn-id: svn://anubis/anaglym/trunk@216 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
252f683ed7
commit
0b7f7180a6
7 files changed
+3745
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
# Blender3D MTL File: bowling_ball.blend
|
||||||
|
# Material Count: 1
|
||||||
|
newmtl None_bowling_ball.jpg
|
||||||
|
Ns 0
|
||||||
|
Ka 0.000000 0.000000 0.000000
|
||||||
|
Kd 0.8 0.8 0.8
|
||||||
|
Ks 0.8 0.8 0.8
|
||||||
|
d 1
|
||||||
|
illum 2
|
||||||
|
map_Kd bowling_ball.jpg
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1 @@
|
|||||||
|
sphere "Sphere" 0.250000 0.000000 0.000000 0.000000
|
||||||
@@ -77,8 +77,7 @@ function init_event()
|
|||||||
box:setVisible(false)
|
box:setVisible(false)
|
||||||
box:setPosition(0, 0, lane_bottom - (maxz - minz) - 0.4)
|
box:setPosition(0, 0, lane_bottom - (maxz - minz) - 0.4)
|
||||||
reference_pin:setPosition(0, 0, lane_bottom - maxz - 0.1)
|
reference_pin:setPosition(0, 0, lane_bottom - maxz - 0.1)
|
||||||
reference_ball = ag.createSphere(0.25)
|
reference_ball = ag.loadModel("bowling_ball")
|
||||||
reference_ball:setColor(0.7, 0.1, 0.9)
|
|
||||||
reference_ball:setMass(10)
|
reference_ball:setMass(10)
|
||||||
reference_ball:setPosition(0, -2, -1.5)
|
reference_ball:setPosition(0, -2, -1.5)
|
||||||
setupStars()
|
setupStars()
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
function init_event()
|
||||||
|
while (1) do
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in new issue
Block a user