Commit d2d1c854 authored by Larsen, Matthew's avatar Larsen, Matthew Committed by Kitware Robot
Browse files

Merge topic 'extend_clipping_plane'

78699598

 extend the default clipping plane

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2439
parents 91d13bdf 78699598
......@@ -286,7 +286,7 @@ void Camera::ResetToBounds(const vtkm::Bounds& dataBounds,
vtkm::Float32 diagonalLength = vtkm::Magnitude(totalExtent);
this->SetPosition(center + directionOfProjection * diagonalLength * 1.0f);
this->SetFieldOfView(60.0f);
this->SetClippingRange(0.1f * diagonalLength, diagonalLength * 5.0f);
this->SetClippingRange(0.1f * diagonalLength, diagonalLength * 10.0f);
// Reset for 2D camera
this->SetViewRange2D(db);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment