mayo icon indicating copy to clipboard operation
mayo copied to clipboard

Adapt scale of clip plane capping texture

Open HuguesDelorme opened this issue 2 years ago • 0 comments

The scale of a clip plane's capping texture is fixed(it's 0.05, -0.05) So when the graphics objects displayed are small then the capping texture looks too "zoomed". In the opposite when the objects displayed are big then texture might not be visible at all. The capping texture scale should be adapted to the bounding box of the graphics objects within the scene. Also it might have to be adapted to the zoom factor of the view.

"Normal" case: image

Texture looking to coarse: image

Texture almost not visible: image

FYI @VictorLamoine

HuguesDelorme avatar May 23 '22 16:05 HuguesDelorme