Child view update
#2
By default, the DXEngine automatically calculates the camera's near and far planes (if not disabled by setting DXScene.OptimizeNearAndFarCameraPlanes to false). This improves depth resolution. This calculation is done after each change of the scene or camera.

But as you have found out, in a child DXScene this may not happen always. There the dirty flags from the master DXScene were not checked where rendering child DXScene. This was fixed and will work as expected in the next version (releasing this month).

As you have proposed, a workaround is to call (after changing the scene in such a way that the scene's bounding box can be increased):
Code:
MainDXViewportView.DXScene.NotifyChange(DXScene.ChangeNotifications.SceneBoundsChanged);
Andrej Benedik
  


Messages In This Thread
Child view update - by janovrom - 11-16-2021, 02:59 PM
RE: Child view update - by abenedik - 11-17-2021, 09:57 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)