This PR is something Sam and I went over in IRC the other day. Basically, the current method that supports opaque rendering doesn't always give the same results one usually wants for "onion peel" volume rendering. This PR restores that functionality but provides a conditional for when you want to insert opaque surfaces. I think this should go in for 2.4. Sam, at your leisure could you take a look at this?
PS I came upon this while creating an example IPython notebook for 2.4. I'm going to mail it out later and ask for feedback, but I think it's a pretty neat way of showing features!
---------- Forwarded message ---------- From: Matthew Turk email@example.com Date: Wed, Aug 1, 2012 at 10:47 AM Subject: [yt_analysis/yt] Grey opacity for volume rendering (pull request #231) To: firstname.lastname@example.org
A new pull request has been opened by Matthew Turk.
MatthewTurk/yt has changes to be pulled into yt_analysis/yt.
Title: Grey opacity for volume rendering
Adding a grey_opacity option to the ColorTransferFunction object. Here's an example script demonstrating it:
When set the False (the default) images look very similar to the old-style VR, before the refactor:
When set to True, the inner layers get attenuated:
This is set to non-grey by default, to preserve old behavior.
Changes to be pulled:
-- This is an issue notification from bitbucket.org. You are receiving this either because you are the participating in a pull request, or you are following it.