Original Post
Hi, i think this is more a math question than a DX question, anyway i'm not able to do that computation... Having the BoundingBox of a mesh, the camera XYZ position, the camera target XYZ position and the camera FOV degrees too, how can i compute the best (closer to the mesh) far and near values for the camera projection?