<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 12:12 PM, Desika Narayanan <span dir="ltr"><<a href="mailto:dnarayan@haverford.edu" target="_blank">dnarayan@haverford.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br>I'm working with the changeset in the PR:</div><div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/pull-request/1193/fix-bug-with-mismatched-smoothing-trees#comment-3027301" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-request/1193/fix-bug-with-mismatched-smoothing-trees#comment-3027301</a><br></div><div><br></div><div>that has allowed gadget data sets to be visualized using volume rendering.   </div><div><br></div><div>The following script:  <a href="http://paste.yt-project.org/show/5113/" target="_blank">http://paste.yt-project.org/show/5113/</a></div><div><br></div><div>(written with a good bit of help by Matt) produces the following image ('junk.png' in the script):<br></div><div><br></div><div><a href="http://i.imgur.com/ro7fWZ0.png" target="_blank">http://i.imgur.com/ro7fWZ0.png</a></div><div><br></div><div>note, the script relies on a function elsewhere (ds_zoom) that finds the parttype0 density peak, and cuts out a region around it (for use with cosmological data sets in this case).</div><div><br></div><div><br></div><div>My issue is that I'd like to use the nice camera rotation features, which you can see I've included at the bottom of the script taken from the yt docs.    The rotated images are all super dark though:</div><div><br></div><div>2 of them can be found here:</div><div>







<p><a href="http://i.imgur.com/tbsbkti.png" target="_blank">http://i.imgur.com/tbsbkti.png</a><br><a href="http://i.imgur.com/SHY0KjJ.png" target="_blank">http://i.imgur.com/SHY0KjJ.png</a></p><p>I've tried crankng down the clip_level by a factor up to 1e3 and don't see much change.  Is this a transfer function issue?  Or are there other keywords that I might try? (I can't seem to find much else in the help docs for cam.rotation). </p><p>Finally, as a side question, is there an obvious way to make a color bar for this sort of VR image?  The only description of this I could find (though maybe missed it?) in the docs was associated with off-axis projections, which didn't work in this case.</p></div></div></blockquote><div><br></div><div>Can't really help with the other questions, but Mike Zingale recently added an example of this: <a href="http://yt-project.org/doc/cookbook/complex_plots.html#volume-rendering-with-annotation">http://yt-project.org/doc/cookbook/complex_plots.html#volume-rendering-with-annotation</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><p>Thanks for any thoughts on this!<span class=""><font color="#888888"><br></font></span></p><span class=""><font color="#888888"><p>desika</p><p><br></p><p><br></p><p><br></p></font></span></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></div>