You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/renderer/iARendererImpl.cpp
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,13 +112,17 @@ class iARendererSettings : iASettingsObject<RendererSettingsName, iARendererSett
112
112
addAttr(attr, iARendererImpl::UseStyleBGColor, iAValueType::Boolean, false); // true - use background color from style (bright/dark), false - use BackgroundTop/BackgroundBottom
113
113
addAttr(attr, iARendererImpl::BackgroundTop, iAValueType::Color, "#7FAAFF"); // top color used in background gradient
114
114
addAttr(attr, iARendererImpl::BackgroundBottom, iAValueType::Color, "#FFFFFF"); // bottom color used in background gradient
addAttr(attr, iARendererImpl::UseFXAA, iAValueType::Boolean, true); // whether to use FXAA anti-aliasing, if supported
116
118
addAttr(attr, iARendererImpl::MultiSamples, iAValueType::Discrete, 0); // number of multi-samples; needs to be 0 for depth peeling to work!
117
119
addAttr(attr, iARendererImpl::StereoRenderMode, iAValueType::Categorical, stereoModes); // whether to use a stereo rendering mode and if so, which one, for the render window
118
120
addAttr(attr, iARendererImpl::InteractionStyle, iAValueType::Categorical, interactionStyles); // the interaction style to be used
119
121
addAttr(attr, iARendererImpl::UseDepthPeeling, iAValueType::Boolean, true); // whether to use depth peeling (improves depth ordering in rendering of multiple objects), if false, alpha blending is used
120
122
addAttr(attr, iARendererImpl::DepthPeelOcclusionRatio, iAValueType::Continuous, 0.0); // In case of use of depth peeling technique for rendering translucent material, define the threshold under which the algorithm stops to iterate over peel layers (see <a href="https://vtk.org/doc/nightly/html/classvtkRenderer.html">vtkRenderer documentation</a>
121
123
addAttr(attr, iARendererImpl::DepthPeelsMax, iAValueType::Discrete, 4, 0); // maximum number of depth peels to use (if enabled via UseDepthPeeling). The more the higher quality, but also slower rendering
addAttr(attr, iARendererImpl::MagicLensSize, iAValueType::Discrete, DefaultMagicLensSize, MinimumMagicLensSize, MaximumMagicLensSize); // size (width & height) of the 3D magic lens (in pixels / pixel-equivalent units considering scaling)
123
127
addAttr(attr, iARendererImpl::MagicLensFrameWidth, iAValueType::Discrete, DefaultMagicLensFrameWidth, 0); // width of the frame of the 3D magic lens
124
128
addAttr(attr, iARendererImpl::ShowFPS, iAValueType::Boolean, false); // whether to show frames per second
@@ -127,6 +131,11 @@ class iARendererSettings : iASettingsObject<RendererSettingsName, iARendererSett
127
131
addAttr(attr, iARendererImpl::SSAOBias, iAValueType::Continuous, 0.01); // SSAO: The bias when comparing samples
128
132
addAttr(attr, iARendererImpl::SSAOKernelSize, iAValueType::Discrete, 32); // SSAO: The number of samples
129
133
addAttr(attr, iARendererImpl::SSAOBlur, iAValueType::Boolean, false); // SSAO: Whether the ambient occlusion should be blurred (can help to improve the result if samples number is low).
0 commit comments