<div dir="ltr">Hi Desika,<div><br></div><div>Can you try moving the clip_ratio argument to the write_png() call?</div><div><br></div><div>Something like:</div><div><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><span class="">snapshot</span><span class="" style="color:rgb(102,102,102)">.</span><span class="">write_png</span><span class="">(</span><span class="" style="color:rgb(64,112,160)">'camera_movement_</span><span class="" style="color:rgb(112,160,208);font-style:italic">%04i</span><span class="" style="color:rgb(64,112,160)">.png'</span> <span class="" style="color:rgb(102,102,102)">%</span> <span class="">frame, clip_ratio=4.0</span><span class="">)</span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><span class=""><br></span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><span class="">Best, </span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:5px 0px;font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px;color:rgb(0,0,0)"><span class="">Sam</span></pre></div></div><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:0 0 0 .8ex;border-left:1px #ccc 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><p>Thanks for any thoughts on this!<span class="HOEnZb"><font color="#888888"><br></font></span></p><span class="HOEnZb"><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>