WIP: Improved support for parallel projection. #168

Near plane negative to show everything
ZoomAlongRay now works for parallel projection (only implemented in
ceetron Plus)
This commit is contained in:
Jacob Støren
2015-12-13 20:55:37 +01:00
committed by Jacob Støren
parent 23bfb46c4c
commit 5cdf307d4e
5 changed files with 86 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ RimView::RimView(void)
cameraPosition.uiCapability()->setUiHidden(true);
CAF_PDM_InitField(&isPerspectiveView, "PerspectiveProjection", true, "Perspective Projection", "", "", "");
isPerspectiveView.uiCapability()->setUiHidden(true); // For now as this is experimental
//isPerspectiveView.uiCapability()->setUiHidden(true); // For now as this is experimental
double defaultScaleFactor = preferences->defaultScaleFactorZ;
CAF_PDM_InitField(&scaleZ, "GridZScale", defaultScaleFactor, "Z Scale", "", "Scales the scene in the Z direction", "");