Rotate all objects and raise camera

This commit is contained in:
Matt McWilliams 2025-02-10 23:05:16 -05:00
parent decdc7e8a1
commit 87394e95f7
2 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ let obj = [
let meta = { let meta = {
objects : [] objects : []
} }
let starting = 0; //33/2; //(360 / (obj.length * 2)); let starting = -45; //33/2; //(360 / (obj.length * 2));
for (let i = 0; i < obj.length; i++) { for (let i = 0; i < obj.length; i++) {
meta.objects.push ({ meta.objects.push ({
name : obj[i], name : obj[i],

View File

@ -2,7 +2,7 @@
"camera" : { "camera" : {
"x" : 60, "x" : 60,
"y" : -60, "y" : -60,
"z" : 0, "z" : 30,
"focus_x" : 30, "focus_x" : 30,
"focus_y" : -30 "focus_y" : -30
}, },
@ -11,42 +11,42 @@
"name": "adapter_16mm_core", "name": "adapter_16mm_core",
"material": "gray_plastic2", "material": "gray_plastic2",
"position": { "position": {
"x": 40, "x": 28.284271247461902,
"y": 0, "y": -28.2842712474619,
"z": 0 "z": 0
}, },
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": -45
} }
}, },
{ {
"name": "adapter_16mm_to_super8_reel", "name": "adapter_16mm_to_super8_reel",
"material": "yellow_plastic", "material": "yellow_plastic",
"position": { "position": {
"x": -19.999999999999993, "x": 10.35276180410083,
"y": 34.64101615137755, "y": 38.63703305156273,
"z": 0 "z": 0
}, },
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 120 "z": 75
} }
}, },
{ {
"name": "adapter_super8_to_16mm_core", "name": "adapter_super8_to_16mm_core",
"material": "neonblue_plastic", "material": "neonblue_plastic",
"position": { "position": {
"x": -20.000000000000018, "x": -38.63703305156273,
"y": -34.64101615137754, "y": -10.352761804100831,
"z": 0 "z": 0
}, },
"rotation": { "rotation": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 240 "z": 195
} }
} }
], ],