I am working on some endoscopic type visualizations where the camera is often quite close to surfaces (models or volume renderings). These are automatically removed because they are too close to the camera’s close clipping plane, but I would like them to remain visible. I can set the clipping range I want with code like
However, as soon as I interact with the view with the mouse in any way (click and drag to rotate view, scroll wheel to zoom, middle click to translate) the clipping range is automatically reset to the values generated by
Is there a way I can prevent this from happening? Thanks!