<div dir="ltr">Hello,<div><br></div><div>I am also trying to make a fly-through movie. What is the best way to combine the created images into a movie clip or gif?</div><div><br></div><div>Thanks in advance,</div><div>Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 8:04 PM, Suoqing JI <span dir="ltr"><<a href="mailto:suoqing@physics.ucsb.edu" target="_blank">suoqing@physics.ucsb.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Prof. Zhao,<div><br></div><div>For this kind of rotation, you might want to change the normal vector which points from the camera position to the view point (the center). Say, for a rotation around the origin on x-y plane, you could set the normal vector to be [np.cos(theta), np.sin(theta), 0.], and for each values of theta angle a snapshot could be taken. You might also want to specify the north vector to a fixed direction, say [0., 0., 1.]</div><div><br></div><div>Best wishes,</div><div><span class=""><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>--</div><div>Suoqing JI</div><div>Ph.D Student</div><div>Department of Physics</div><div>University of California, Santa Barbara</div><div>CA 93106, USA</div></div></div></div></div>
</div>
<br></span><div><div class="h5"><div><blockquote type="cite"><div>On Nov 3, 2014, at 12:20 AM, Gongbo Zhao <<a href="mailto:gong-bo.zhao@port.ac.uk" target="_blank">gong-bo.zhao@port.ac.uk</a>> wrote:</div><br><div><div style="word-wrap:break-word"><div>Thanks Suoqing. I have actually seen those scripts. But I am still struggling to figure out how to do a movie like this,</div><div><br></div><div><a href="http://www.mpa-garching.mpg.de/galform/data_vis/millennium_flythru.avi" target="_blank">http://www.mpa-garching.mpg.de/galform/data_vis/millennium_flythru.avi</a></div><div><br></div><div>What I want was to fly through the box, identify the largest halo and rotate it. I can zoom in, move the camera to the most dense region using the sample script in the cookbook, but the rotation was not satisfactory. it must be related to the north vector and the focus point I guess, but I haven't figured out how to tune it. So I am wondering whether anyone has done the same visualization using yt? Any advice helps.</div><div><br></div><div>Thanks,</div><div>GB </div><div><br></div><div><br></div><br><div><div>On 2 Nov 2014, at 17:09, Suoqing JI <<a href="mailto:suoqing@physics.ucsb.edu" target="_blank">suoqing@physics.ucsb.edu</a>> wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">Hi Prof. Zhao,<div><br></div><div>Yes — you might find this example useful: <a href="http://yt-project.org/doc/cookbook/complex_plots.html#cookbook-camera-movement" target="_blank">http://yt-project.org/doc/cookbook/complex_plots.html#cookbook-camera-movement</a></div><div><br></div><div>Also, here is the description of Camera.move_to: <a href="http://yt-project.org/doc/reference/api/generated/yt.visualization.volume_rendering.camera.Camera.move_to.html" target="_blank">http://yt-project.org/doc/reference/api/generated/yt.visualization.volume_rendering.camera.Camera.move_to.html</a></div><div><br></div><div>Best wishes,</div><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>--</div><div>Suoqing JI</div><div>Ph.D Student</div><div>Department of Physics</div><div>University of California, Santa Barbara</div><div>CA 93106, USA</div></div></div></div></div>
</div><div><br></div>
<br><div><blockquote type="cite"><div>On Nov 2, 2014, at 1:00 AM, Gongbo Zhao <<a href="mailto:gong-bo.zhao@port.ac.uk" target="_blank">gong-bo.zhao@port.ac.uk</a>> wrote:</div><br><div>Hi all,<br><br>I am trying to create a fly-through movie for my ENZO data (similar to those millennium simulation movies). Has anyone does this using yt? I understand that this probably can be done by tweaking the parameters for the camera, but am not sure how to do it exactly. <br><br>Many thanks in advance,<br>GB<br>_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org" target="_blank">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></div></blockquote></div><br></div></blockquote></div><br></div></div></blockquote></div><br></div></div></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>