local scene = getSceneGraph()
local events = getEventManager()

node = scene:newPerspectiveCameraNode("Camera_Orientation")
scene:setActiveCameraNode(node:getSceneNodeBase())
frustumc = node:getSceneNodeBase():getFrustumComponent()
frustumc:setPerspective(0.100000, 1000.000000, getMainRenderer():getAspectRatio() * 1.024779, 1.024779)
trf = Transform.new()
trf:setOrigin(Vec4.new(0.000000, 4.311547, 5.946665, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newModelNode("column.003", "assets/column_walls.ankimdl")
trf = Transform.new()
trf:setOrigin(Vec4.new(4.950977, 5.434409, 4.790287, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newModelNode("column.002", "assets/column_walls.ankimdl")
trf = Transform.new()
trf:setOrigin(Vec4.new(-4.611011, 5.434409, 4.790287, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newModelNode("column.001", "assets/column_walls.ankimdl")
trf = Transform.new()
trf:setOrigin(Vec4.new(-4.593688, 5.434409, -4.494543, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newModelNode("column", "assets/column_walls.ankimdl")
trf = Transform.new()
trf:setOrigin(Vec4.new(4.901871, 5.434409, -4.529187, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newPointLightNode("Point_Orientation")
lcomp = node:getSceneNodeBase():getLightComponent()
lcomp:setDiffuseColor(Vec4.new(10.000000, 10.000000, 10.000000, 1))
lcomp:setShadowEnabled(1)
lcomp:setRadius(30.000000)
trf = Transform.new()
trf:setOrigin(Vec4.new(0.068084, 9.579867, 0.030239, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)

node = scene:newModelNode("room", "assets/room_walls.ankimdl")
trf = Transform.new()
trf:setOrigin(Vec4.new(0.000000, 0.000000, 0.000000, 0))
rot = Mat3x4.new()
rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
trf:setRotation(rot)
trf:setScale(1.000000)
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
