<div dir="ltr">Hi John,<div><br></div><div>I'm a bit confused how this could be happening. Is it at all possible that either c or Lperp are calculated differently for different timesteps? My only other thought would be that somehow Lperp is very close to the north_vector, and some dot products over time are building up some sort of error. </div>
<div><br></div><div>If c isn't changing as a function of timestep, could you paste more/all of your script just in case there's another piece that's messing around with things?</div><div><br></div><div>Best,</div>
<div>Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 7:13 AM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi All, <br><br></div>Just a quick question on rotation of the camera object. When I rotate the camera I notice that the <br>
</div>center no longer stays at the focus. I'm running a script which zooms and rotates an object in a timeseries fashion. <br>
<br></div># Code snippet<br><div> cam = pf.h.camera(c, L, W, (N,N), transfer_function=tf, north_vector=up, <br> no_ghost=True, steady_north=True)<br> #Rotate about the "Lperp" vector<br>
theta = rotation*filenum<br>
cam.rotate(theta, rot_vector=Lperp)<br> <br><br></div><div>This pretty much works as I want but after a while a get an output like the one attached with the central density no longer at the center. Is there a way to keep the focus at "c". <br>
<br></div><div>Cheers,<br></div><div>John<br></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>