<div dir="ltr">Looks like google turned up an older version of the docs, you are right, the latest yt sets alpha to 1.  </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 24, 2014 at 4:00 PM, Stephanie Tonnesen <span dir="ltr"><<a href="mailto:stonnes@gmail.com" target="_blank">stonnes@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>Hi Michael and Nathan, <br><br>Thanks for the help!  Michael, everywhere I have been looking in the documentation it says for alpha: "The alpha value height for each Gaussian.  If not supplied, it is
set as 1.0 everywhere."  (<a href="http://yt-project.org/docs/dev/reference/api/generated/yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.add_layers.html?highlight=add_layers#yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.add_layers" target="_blank">http://yt-project.org/docs/dev/reference/api/generated/yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.add_layers.html?highlight=add_layers#yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.add_layers</a>)  Can you send me a link to what you are referring to so I can try and figure out which applies?  <br>

<br></div><div>Nathan, that is what I get for not scrolling to the bottom of the page!  I will play around with this.  <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>
-Stephanie<br>
</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 23, 2014 at 11:09 AM, Michael Zingale <span dir="ltr"><<a href="mailto:michael.zingale@stonybrook.edu" target="_blank">michael.zingale@stonybrook.edu</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">My guess is that you need to play with the alpha values when you add_layers.  From the docs, if you don't supply alpha, it is:<div>

<br></div><div><div>"The alpha value height for each Gaussian. If not supplied, it is calculated as the logspace between -2.0 and 0.0"</div>
<div><br></div><div>so it looks like the last value you add will have alpha = 1, i.e. opaque.</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, May 23, 2014 at 10:57 AM, Stephanie Tonnesen <span dir="ltr"><<a href="mailto:stonnes@gmail.com" target="_blank">stonnes@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi all,<br><br></div>I am trying to make a nice volume rendering, and am having some trouble.  My camera commands are:<br>


tf = ColorTransferFunction((-29,-24))<br>tf.add_layers(8,w=0.1,colormap="Hue Sat Value 2")<br>
tf.sample_colormap(-26.5,w=0.02,colormap="Hue Sat Value 2")<br>cam = pf.h.camera([0.0,2.,1.8],[0.0,-1.0,-0.2],4.0,512,tf)<br>cam.show()<br><br></div>I will attach the image, also (v11).  First, when I use add_layers, can I get yt to print out WHERE the layers are?  Second, but related, when I just use add_layers I only see the higher density gas.  I have to add sample_colormap to see lower density gas (the blue stuff).  Compare v11 to v6 to see what I am talking about.  <br>



<br>Thanks!<span><font color="#888888"><br><div><br></div><div>Stephanie<br></div></font></span></div>
<br></div></div>_______________________________________________<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>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div>


<div><i>phone</i>:  <a href="tel:631-632-8225" value="+16316328225" target="_blank">631-632-8225</a></div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div>

<div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>

</font></span></div>
<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>
<br></blockquote></div><br></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><br clear="all"><div><br></div>-- <br><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div>
<div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div><div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>

</div>