I'm new on this forum. Thanks for BabylonJS, it's really great!
Actually, I'm working on a solution like AR.js but I detect images, not markers. I use a lot of algorithms for tracking. After few days, it's possible to track an image.
I use SolvePnP to determine 3D environment . This algorithm returns 2 vector3, one for the position, one for the rotation. But i've got nothing for scaling. I have also a camera matrix. I'm not sure all values are good, especially for Camera Matrix.
Now, I want to use BabylonJS to map a simple plane on top of detected image but I'm completely lost.
I've got a first question : which component must be manipulate ? Camera or plane ? If it's plane, how to define camera properties (fov, etc) ? If it's camera, I think plane must be at 0, 0, 0, but which size (size of trigger or just 1 unit) ?
How proceed with matrix ? Only on camera or on plane or on plane and camera ?
I inspect AR.js and Babylon-ar.js but I don't understand how to apply my results matrix on it. I've read many articles but nothing help...
I NEED HELP to solve this (little) problem !!! Could anyone help me ??? Thanks