# Move the camera's target away from center of view

**URL:** https://discourse.vtk.org/t/move-the-cameras-target-away-from-center-of-view/14174
**Category:** Support
**Created:** [July 5, 2024, 11:03am UTC](https://discourse.vtk.org/t/move-the-cameras-target-away-from-center-of-view/14174 "2024-07-05T11:03:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![LarryK19](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/3ab097/32.png) [@LarryK19](https://discourse.vtk.org/u/LarryK19)
#### Post date: [July 5, 2024, 11:03am UTC](https://discourse.vtk.org/t/move-the-cameras-target-away-from-center-of-view/14174/1 "2024-07-05T11:03:07Z")

</div>

In my app the camera’s target is directly in the center of the VTK renderwindow. Is there a way to move the camera’s target to display offset from the center of the 3d view? Say 10 percent to the right and down.

---

<div class="post-metadata">

### Author: ![rexthor](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rexthor/32/6481_2.png) [@rexthor](https://discourse.vtk.org/u/rexthor)
#### Post date: [July 9, 2024, 1:06pm UTC](https://discourse.vtk.org/t/move-the-cameras-target-away-from-center-of-view/14174/2 "2024-07-09T13:06:56Z")

</div>

Hi and welcome.

Might be easiest to just change where the camera is pointed with `mycam.SetFocalPoint`. You pick the point such that it is 10% away? You can get the frustum planes with `GetFrustumPlanes`, or you could use `GetDistance` (i.e. distance from location to focal point to scale how far you move the focal point).
