03-06-2021, 07:43 PM
Using Ab3d PowerToys WPF (not DXEngine - yet) 9.3.7619
It is taking ~200 ms calling Camera.FitIntoView.
I need it to be much faster.
Simple code:
var area = new BoxVisual3D
{
CenterPosition = new Point3D(357, 292, -270),
Size = new Size3D(20, 20, 20)
};
var list = new List<Visual3D> {area};
MainCamera.FitIntoView();
//Using {Ab3d.Cameras.TargetPositionCamera}
I have tried using logic to restrict the number of calls - limited success.
The time is slightly longer between a 2D front view and a 3D view.
It is taking ~200 ms calling Camera.FitIntoView.
I need it to be much faster.
Simple code:
var area = new BoxVisual3D
{
CenterPosition = new Point3D(357, 292, -270),
Size = new Size3D(20, 20, 20)
};
var list = new List<Visual3D> {area};
MainCamera.FitIntoView();
//Using {Ab3d.Cameras.TargetPositionCamera}
I have tried using logic to restrict the number of calls - limited success.
The time is slightly longer between a 2D front view and a 3D view.
- Is there anything simple I can do to improve this time?
- Would there be much difference in the time if I embedded the WPF inside DxEngine? or somehow used a DXEngine Camera converting it to a WPF Camera using relevant function?
- Will the latest version make any difference? (I'll try this anyway shortly)

