Hi Geoffrey,<div><br></div><div>Another option, which is outlined in the Advanced Rendering talk from the workshop, is to use an enhance script to renormalize the image.  This doesn't require setting the clip variable, and is done as a post-processing step.  The video of the talk, as well as slides, can be found here (see Advanced Rendering):</div>

<div><a href="http://yt-project.org/workshop2012/#presentations">http://yt-project.org/workshop2012/#presentations</a></div><div><br></div><div>It references an enhance.py script, which can be found through the hub, here:</div>

<div><a href="http://hub.yt-project.org/AnalysisAndVisualization/enhance-your-renderings/">http://hub.yt-project.org/AnalysisAndVisualization/enhance-your-renderings/</a></div><div><br></div><div>I'd suggest taking a look, as it will also walk you through other advanced rendering techniques.</div>

<div><br></div><div>Best,</div><div>Sam</div><div><br></div><div><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 5:50 AM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com">brittonsmith@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Geoffrey,<br><br>The brightness of the total image is basically normalized to the brightest pixel.  Occasionally, when you rotate the domain, a single pixel will be incredibly bright which will cause the rest of the image to be dim by comparison.  You can fix this in with the snapshot call by adding the keyword,  clip_ratio=some_float.  This limits the maximum brightness to no more than a fixed number of standard deviations from the mean.  I recommend you start with a clip ratio of 5 or 6 and play around with it.<br>


<br>Briton<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Feb 27, 2012 at 7:57 PM, Geoffrey So <span dir="ltr"><<a href="mailto:gsiisg@gmail.com" target="_blank">gsiisg@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 class="h5">
Hi volume rendering experts,<div><br></div><div>I was playing around with a density volume render of a tiny cube on my laptop, everything went smoothly, however, I notice a change in "overall" brightness between images when I did a rotation.  I'm not sure how to explain this, but it seems that from images of different angles, sometimes the average brightness is consistent, but sometimes it suddenly drops and the image would look about half as bright, and after a couple frames it would light back up.</div>



<div><br></div><div>I'm guessing this is after each image is ray casted, it gets normalized to a certain value, and that value changes depending on the angle?  Is there a way to pin the brightness between images so if I make a movie it won't dim and light up as I rotate?</div>



<div><br></div><div>Also I was wondering if I'm the only person to notice this? (the only other post I found about volume render brightness is about AMR cell contributions)</div><div><br></div><div>From</div><span><font color="#888888"><div>


G.S.</div>
</font></span><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><br>
<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>