Hi everyone,
I have a json that returns an object position in 2d coordinates with his previous width and height of image. I would like to transform this 2d coordinates in 3d but proportionally to new width and height dimensions (width: 1920, height: 1080) in threeJS. Could someone help me? Thanks.
"image": {
"width": 2300,
"height": 1416,
"x": 50,
"y": 200
}