|
|
@@ -5,7 +5,7 @@ local node
|
|
|
local inst
|
|
|
local lcomp
|
|
|
|
|
|
-node = scene:newReflectionProbeNode("reflprobe0", Vec4.new(-13.4112, -13.4112, -13.4112, 0), Vec4.new(13.4112, 13.4112, 13.4112, 0))
|
|
|
+node = scene:newReflectionProbeNode("reflprobe0", Vec4.new(-134.112, -134.112, -134.112, 0), Vec4.new(134.112, 134.112, 134.112, 0))
|
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(0, 9.1132, 0, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
@@ -14,41 +14,243 @@ trf:setRotation(rot)
|
|
|
trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
|
|
|
-node = scene:newModelNode("floorMaterial-materialnone0", "assets/floorMaterial-material.ankimdl")
|
|
|
+node = scene:newReflectionProbeNode("reflprobe1", Vec4.new(-2.65221, -3.25716, -11.7323, 0), Vec4.new(2.65221, 3.25716, 11.7324, 0))
|
|
|
trf = Transform.new()
|
|
|
-trf:setOrigin(Vec4.new(0, 0, 0, 0))
|
|
|
+trf:setOrigin(Vec4.new(39.81, 2.89296, 3.00294, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
trf:setRotation(rot)
|
|
|
trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
-node = scene:newStaticCollisionNode("floorMaterial-materialnone0_cl", "assets/floor.ankicl", trf)
|
|
|
|
|
|
-node = scene:newModelNode("wallsMaterial_001-materialnone1", "assets/wallsMaterial_001-material.ankimdl")
|
|
|
+node = scene:newModelNode("floorwalls-materialnone0", "assets/floorwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(0, -5.06862, 0, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("floorwalls-materialnone0_cl", "assets/floor.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallssky-materialnone1", "assets/wallssky-material.ankimdl")
|
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(0, 9.10935, 0, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
trf:setRotation(rot)
|
|
|
+trf:setScale(10)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("Suzannedynamic-materialnone2", "assets/Suzannedynamic-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(179.045, 9.70113, 0, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("Suzannedynamic-materialnone2_cl", "assets/Suzanne.ankicl", trf)
|
|
|
|
|
|
-node = scene:newModelNode("SuzanneMaterial-materialnone2", "assets/SuzanneMaterial-material.ankimdl")
|
|
|
+node = scene:newModelNode("wallwalls-materialnone3", "assets/wallwalls-material.ankimdl")
|
|
|
trf = Transform.new()
|
|
|
-trf:setOrigin(Vec4.new(-23.0149, 9.70113, 0, 0))
|
|
|
+trf:setOrigin(Vec4.new(37.2714, 2.88619, 0, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
trf:setRotation(rot)
|
|
|
trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
-node = scene:newStaticCollisionNode("SuzanneMaterial-materialnone2_cl", "assets/Suzanne.ankicl", trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone3_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone4", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(37.2714, 2.88619, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone4_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone5", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(37.2714, 2.88619, 6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone5_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone6", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(37.2714, 2.88619, 12, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone6_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone7", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(42.2714, 2.88619, 12, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone7_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone8", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(42.2714, 2.88619, 6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone8_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone9", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(42.2714, 2.88619, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone9_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone10", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(42.2714, 2.88619, 0, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone10_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone11", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(39.7985, 6.37661, 12, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone11_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone12", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(39.7985, 6.37661, 6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone12_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone13", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(39.7985, 6.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone13_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone14", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(39.7985, 6.37661, 0, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone14_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone15", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(33.7985, 5.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone15_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone16", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(32.7985, 4.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone16_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone17", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(31.7985, 3.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone17_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone18", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(28.7985, 0.376611, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone18_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone19", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(29.7985, 1.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone19_cl", "assets/wall.ankicl", trf)
|
|
|
+
|
|
|
+node = scene:newModelNode("wallwalls-materialnone20", "assets/wallwalls-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(30.7985, 2.37661, -6, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(7.54979e-08, 1, 0, 0, -1, 7.54979e-08, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+node = scene:newStaticCollisionNode("wallwalls-materialnone20_cl", "assets/wall.ankicl", trf)
|
|
|
|
|
|
node = scene:newPointLightNode("Lamp")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
-lcomp:setDiffuseColor(Vec4.new(100, 100, 100, 1))
|
|
|
-lcomp:setRadius(30.0003)
|
|
|
+lcomp:setDiffuseColor(Vec4.new(50, 50, 50, 1))
|
|
|
+lcomp:setRadius(300)
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(4.07624, 74.4447, -1.00545, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(-0.290865, -0.771075, 0.566429, 0, -0.0551891, 0.604562, 0.794644, 0, -0.955171, 0.199873, -0.2184, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(1)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+lcomp:setShadowEnabled(0)
|
|
|
+
|
|
|
+node = scene:newPointLightNode("Lamp_001")
|
|
|
+lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
+lcomp:setDiffuseColor(Vec4.new(10, 0.0813347, 0.29831, 1))
|
|
|
+lcomp:setRadius(20)
|
|
|
trf = Transform.new()
|
|
|
-trf:setOrigin(Vec4.new(4.07624, 5.90386, -1.00545, 0))
|
|
|
+trf:setOrigin(Vec4.new(39.9823, 2.42134, 2.25079, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
rot:setAll(-0.290865, -0.771075, 0.566429, 0, -0.0551891, 0.604562, 0.794644, 0, -0.955171, 0.199873, -0.2184, 0)
|
|
|
trf:setRotation(rot)
|
|
|
@@ -58,9 +260,9 @@ lcomp:setShadowEnabled(1)
|
|
|
|
|
|
node = scene:newPerspectiveCameraNode("Camera")
|
|
|
scene:setActiveCameraNode(node:getSceneNodeBase())
|
|
|
-node:setAll(1.22173, 1.0 / getMainRenderer():getAspectRatio() * 1.22173, 0.1, 100)
|
|
|
+node:setAll(1.22173, 1.0 / getMainRenderer():getAspectRatio() * 1.22173, 0.1, 500)
|
|
|
trf = Transform.new()
|
|
|
-trf:setOrigin(Vec4.new(7.48113, 5.34367, 6.50764, 0))
|
|
|
+trf:setOrigin(Vec4.new(7.48113, 7.87011, 6.50764, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
rot:setAll(0.685921, -0.323983, 0.651573, 0, 0, 0.895416, 0.44523, 0, -0.727676, -0.305392, 0.614184, 0)
|
|
|
trf:setRotation(rot)
|