Screen to volume transform?
#2
You can get the camera matrices with using GetCameraMatrixes method on the Ab3d.PowerToys Camera.

On the existing camera instance, you can use the following method:
bool GetCameraMatrixes(out Matrix3D viewMatrix, out Matrix3D projectionMatrix)

Or you can use any of the following static methods on Ab3d.Cameras.BaseCamera:

bool GetCameraMatrixes(Viewport3D viewport3D, out Matrix3D viewMatrix, out Matrix3D projectionMatrix)

bool GetCameraMatrixes(Camera camera, double viewportAspectRatio, out Matrix3D viewMatrix, out Matrix3D projectionMatrix)

bool GetCameraMatrixes(BaseCamera camera, double viewportAspectRatio, out Matrix3D viewMatrix, out Matrix3D projectionMatrix)
Andrej Benedik
  


Messages In This Thread
Screen to volume transform? - by pnelsonAG - 01-20-2017, 12:26 AM
RE: Screen to volume transform? - by abenedik - 01-23-2017, 09:45 PM
RE: Screen to volume transform? - by pnelsonAG - 01-27-2017, 10:32 PM
RE: Screen to volume transform? - by abenedik - 01-27-2017, 11:02 PM
RE: Screen to volume transform? - by pnelsonAG - 02-14-2017, 02:18 AM
RE: Screen to volume transform? - by abenedik - 02-14-2017, 10:54 AM
RE: Screen to volume transform? - by pnelsonAG - 02-14-2017, 07:05 PM
RE: Screen to volume transform? - by abenedik - 02-15-2017, 10:05 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)