Changeset 4640 for vtkvis/trunk


Ignore:
Timestamp:
Oct 2, 2014 6:19:24 PM (7 years ago)
Author:
ldelgass
Message:

Fix near clipping plane for 2D (image) camera view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/trunk/Renderer.cpp

    r4171 r4640  
    31213121    vtkSmartPointer<vtkCamera> camera = _renderer->GetActiveCamera();
    31223122    camera->ParallelProjectionOn();
    3123     camera->SetClippingRange(1, 2);
     3123    camera->SetClippingRange(0.5, 1.5);
    31243124    // Half of world coordinate height of viewport (Documentation is wrong)
    31253125    camera->SetParallelScale(winHeightWorld / 2.0);
Note: See TracChangeset for help on using the changeset viewer.