Programmatic Volume File Zooming

I’m rendering a VTI file on browser. I can zoom-in/zoom-out using my mouse scroll wheel. I want to apply zooming from the code itself similar to the one that applies with scroll wheel. But couldn’t find the required api/function for same. Can anyone points me to some reference or example ?

I have tried using the dolly in camera parameters but it doesn’t helps. On setting the value 0 in dolly I’m getting normal image. However for all other values nothing is shown on the render window. Any idea what am I missing ?

It sounds like you are in parallel projection. In that case, use the setParallelScale(value) function of the camera to achieve zoom.

Thanks @Forrest for reply. The issue resolved by calling resetCameraClippingRange() function of the renderer after applying the parameter.