# How to use the vtkCameraInterpolator

**URL:** https://discourse.vtk.org/t/how-to-use-the-vtkcamerainterpolator/13387
**Category:** Support
**Created:** [February 26, 2024, 4:32am UTC](https://discourse.vtk.org/t/how-to-use-the-vtkcamerainterpolator/13387 "2024-02-26T04:32:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![devansan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/d/50afbb/32.png) [@devansan](https://discourse.vtk.org/u/devansan)
#### Post date: [February 26, 2024, 4:32am UTC](https://discourse.vtk.org/t/how-to-use-the-vtkcamerainterpolator/13387/1 "2024-02-26T04:32:08Z")

</div>

In the example provided at [https://examples.vtk.org/site/Cxx/Rendering/InterpolateCamera/](https://examples.vtk.org/site/Cxx/Rendering/InterpolateCamera/),  
I replaced `interpolator->SetInterpolationTypeToSpline();` with `interpolator->SetInterpolationTypeToLinear();` in the code.

However, after making this change, no actors appeared on the screen.  
I’m curious about the reason behind this issue.
