|
@@ -2690,7 +2690,6 @@ node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
node = scene:newSpotLightNode("Lamp")
|
|
node = scene:newSpotLightNode("Lamp")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(15, 15, 15, 1))
|
|
lcomp:setDiffuseColor(Vec4.new(15, 15, 15, 1))
|
|
|
-lcomp:setSpecularColor(Vec4.new(15, 15, 15, 1))
|
|
|
|
|
lcomp:setInnerAngle(0.737402)
|
|
lcomp:setInnerAngle(0.737402)
|
|
|
lcomp:setOuterAngle(1.4748)
|
|
lcomp:setOuterAngle(1.4748)
|
|
|
lcomp:setDistance(79.5799)
|
|
lcomp:setDistance(79.5799)
|
|
@@ -2706,7 +2705,6 @@ lcomp:setShadowEnabled(1)
|
|
|
node = scene:newPointLightNode("Point")
|
|
node = scene:newPointLightNode("Point")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
-lcomp:setSpecularColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
|
|
lcomp:setRadius(4)
|
|
lcomp:setRadius(4)
|
|
|
trf = Transform.new()
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(8.54617, 2.49423, -3.8305, 0))
|
|
trf:setOrigin(Vec4.new(8.54617, 2.49423, -3.8305, 0))
|
|
@@ -2723,7 +2721,6 @@ event:setFrequency(2, 0.02)
|
|
|
node = scene:newPointLightNode("Point_001")
|
|
node = scene:newPointLightNode("Point_001")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
-lcomp:setSpecularColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
|
|
lcomp:setRadius(4)
|
|
lcomp:setRadius(4)
|
|
|
trf = Transform.new()
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(8.54617, 2.49423, 2.5181, 0))
|
|
trf:setOrigin(Vec4.new(8.54617, 2.49423, 2.5181, 0))
|
|
@@ -2740,7 +2737,6 @@ event:setFrequency(2, 0.02)
|
|
|
node = scene:newPointLightNode("Point_002")
|
|
node = scene:newPointLightNode("Point_002")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
-lcomp:setSpecularColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
|
|
lcomp:setRadius(4)
|
|
lcomp:setRadius(4)
|
|
|
trf = Transform.new()
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(-10.7834, 2.49423, 2.5181, 0))
|
|
trf:setOrigin(Vec4.new(-10.7834, 2.49423, 2.5181, 0))
|
|
@@ -2757,7 +2753,6 @@ event:setFrequency(2, 0.02)
|
|
|
node = scene:newPointLightNode("Point_003")
|
|
node = scene:newPointLightNode("Point_003")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
lcomp:setDiffuseColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
-lcomp:setSpecularColor(Vec4.new(5.00188, 2.05202, 1.35254, 1))
|
|
|
|
|
lcomp:setRadius(4)
|
|
lcomp:setRadius(4)
|
|
|
trf = Transform.new()
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(-10.7834, 2.49423, -3.84153, 0))
|
|
trf:setOrigin(Vec4.new(-10.7834, 2.49423, -3.84153, 0))
|