Hello.
I need help transforming 2D coordinates into world space.
Then I need to make those coordinates spherical (to fit in the sphere).
I have no idea how to do that and I couldn’t find any resources to help me.
My 2D coordinates are in a 1920x3840 resolution.
Here is an example of the data format I have:
(Adobe After Effects 6.0 Keyframe Data)
Position
Frame X pixels Y pixels Z pixels
510 1858.61 1055.91 0
511 1858.54 1056.15 0
512 1858.51 1056.04 0
513 1858.44 1055.8 0
514 1858.34 1055.56 0
515 1858.19 1055.58 0
516 1858.15 1055.69 0
517 1858.15 1056 0
518 1858.12 1056.29 0
519 1858.01 1056.48 0
520 1857.75 1056.37 0
521 1857.54 1056.03 0
522 1857.36 1055.5 0
523 1857.26 1055.14 0
524 1857.04 1054.91 0
525 1856.8 1054.8 0
Eventually I’d like to do something similar to this: San Nicolas
(You see the overlays?, That’s what I’m talking about.)
Here is the link to the playground where I try to position a simple plane using the 2D coordinates: Babylon.js Playground
(I’ m really bad at geometry as you can see.)