Hi Craig,<div><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 10:10 AM, Craig Stephen Lage <span dir="ltr"><<a href="mailto:craig.lage@nyu.edu" target="_blank">craig.lage@nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Greetings,<div><br></div><div>I have been using the volume_rendering function in yt version 2.2.  I recently downloaded the latest version(2.4 I think), and note that this function has disappeared.  I have three questions:</div>


<div><br></div><div>(1) Was there a problem with the old volume_rendering function, or is the new implementation just more efficient?</div></blockquote><div><br></div><div>The volume_rendering interface was removed in yt 2.3 in favor of the Camera interface, as it provides much greater functionality.  This took place in a major refactoring of the volume rendering machinery, since the Camera interface has been around since yt 1.7, we decided to drop support for the older volume_rendering.  This also came with lots of performance improvements.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>(2) Is there an easy way to migrate from the old volume_rendering function?  I had spent a fair amount of time confirming that the old function did projections in the way that I wanted, and would like to avoid repeating this.</div>

</blockquote><div><br></div><div>Much of the setup is the same.  I haven't looked at an old volume_rendering script in quite some time, so I can't give too much help on the specifics of migrating, but please take a look at the current documentation here:</div>

<div><a href="http://yt-project.org/doc/visualizing/volume_rendering.html">http://yt-project.org/doc/visualizing/volume_rendering.html</a></div><div>and an example script:</div><div><a href="http://yt-project.org/doc/cookbook/simple_plots.html#simple-volume-rendering">http://yt-project.org/doc/cookbook/simple_plots.html#simple-volume-rendering</a></div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>(3) If I want to download the old version 2.2, is it available?</div></blockquote><div><br></div><div>All versions are still available by using mercurial to update to previous versions:</div><div>hg up yt-2.2</div><div>

python setup.py install</div><div><br></div><div>Alternatively, you may download all versions here:</div><div><a href="https://bitbucket.org/yt_analysis/yt/downloads">https://bitbucket.org/yt_analysis/yt/downloads</a></div>

<div><br></div><div>Hope that helps.  I would strongly encourage you to give the Camera interface a shot, as it provides lots of improved functionality.</div><div><br></div><div>Best,</div><div>Sam</div><div><br></div><div>

<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>Thanks for your support,</div><div>Craig Lage</div><div>New York University</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>