<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Unless I'm mistaken, I think what he's getting at is that in whatever version he's running, camera doesn't take the "volume" keyword argument.</div><div><br></div><div>Renyue,</div><div><br></div><div>Can you send us a script and the exact error message you get?<br><br>John ZuHone<div>Laboratory for High-Energy Astrophysics<br><div>NASA/Goddard Space Flight Center</div><div>8800 Greenbelt Rd., Mail Code 662</div><div>Greenbelt, MD 20771</div><div>(w) 301-286-2531</div><div>(m) 781-708-5004</div></div><div><a href="mailto:john.zuhone@nasa.gov">john.zuhone@nasa.gov</a></div><div><a href="mailto:jzuhone@gmail.com">jzuhone@gmail.com</a></div></div><div><br>On Mar 29, 2014, at 12:04 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>Hi Renyue,<div><br></div><div>Which version of yt are you running?  If you installed using the install script, the output of 'yt instinfo' run on the command line should be suffieicebt to figure out exactly which version you are using.</div>
<div><br></div><div>You may have to directly import AMRKDTree from yt.visualization.volume_rendering.api, although I believe it is still imported into yt.mods in the current stable release of yt.</div><div><br></div><div>
Nathan<span></span><br><br>On Saturday, March 29, 2014, Renyue Cen <<a href="mailto:cen@astro.princeton.edu">cen@astro.princeton.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
Some time ago John Wise kindly gave me a yt script that uses AMRKDTree to speed up "camera" 3-d<br>
rendering, it worked very well and fast (takes like a few minutes to do a rendering of a galaxy with 2048x2048 pixel).<br>
It looks like<br>
<br>
volume = AMRKDTree(pf,   le=le,   re=re,  fields=["Density"],   no_ghost=False)<br>
<br>
then used in<br>
cam = pf.h.camera(c, L, W, (N,N), tf, volume=volume, no_ghost=False, north_vector=Ldm,steady_north=True)<br>
<br>
It appears that yt has evolved and the "volume ..." statement no longer works.<br>
Is there a solution to that in the newer version?<br>
<br>
Alternatively, is there another speedy way to do 3-d rendering?<br>
<br>
Thanks very much,<br>
Renyue<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', '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>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></body></html>