Matrix camera (for augmented reality app)
#4
I see now that I have misunderstood the question: there is no need for VR support and you already have figured out how to get data from OpenCV.

In case you only need to set view and projection matrices to the camera, then you should not create a TargetPositionCamera (or any other camera from Ab3d.PowerToys) and you should not create the CameraMouseController.

Instead you can use the WPF's Matrix camera:
Code:
var matrixCamera = new MatrixCamera(viewMatrix, projectionMatrix);
MainViewport.Camera = matrixCamera;

// Update the camera:
matrixCamera.ViewMatrix = ...
Andrej Benedik
  


Messages In This Thread
RE: Matrix camera (for augmented reality app) - by abenedik - 06-05-2023, 01:21 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)