TargetPositionCamera.GetRayFromCamera() sometimes returns Direction = NaN
#3
May I ask you what were the values of NearPlane and FarPlane that you used?

By default DXEngine automatically calculates the NearPlane and FarPlane values from the size of the 3D scene so that they are optimally set (making them as close as possible to increase depth resolution). This is controlled by DXScene.OptimizeNearAndFarCameraPlanes property. So usually it is best to leave that property on true value.
Andrej Benedik
  


Messages In This Thread
RE: TargetPositionCamera.GetRayFromCamera() sometimes returns Direction = NaN - by abenedik - 10-19-2021, 10:13 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)