|
|
@@ -16,6 +16,16 @@ trf:setRotation(rot)
|
|
|
trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
|
|
|
node:setLocalTransform(trf)
|
|
|
|
|
|
+node = scene:newSceneNode("Sphere")
|
|
|
+node:newModelComponent():loadModelResource("Assets/Sphere_MTL_sphere_8df61cca01d9efcc.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(0.718041, 1.838787, 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(Vec4.new(1.000000, 1.000000, 1.000000, 0))
|
|
|
+node:setLocalTransform(trf)
|
|
|
+
|
|
|
node = scene:newSceneNode("Cube.011")
|
|
|
comp = node:newGlobalIlluminationProbeComponent()
|
|
|
comp:setBoxVolumeSize(Vec3.new(48.094303, 25.484703, 21.568947))
|