Commit 55983b2b authored by fogal1's avatar fogal1

Don't allow overlaps.

We can't composite overlapping images if either has transparency.
I imagine there's a performance gain to be had by allowing some
minor overlaps, but since we can't be sure it will work in all
cases we should disable it entirely for now.

We might think about adding a `has transparency' bool to our
contracts, so we could query that in situations like this one.  Or
we could just fix transparent compositing...

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@8010 18c085ea-50e0-402c-830e-de6fd14e8384
parent 56a911d2
......@@ -368,6 +368,7 @@ avtResampleFilter::BypassResample(void)
//
// Tom Fogal, Wed Jun 24 20:28:04 MDT 2009
// Use new GetBounds method.
// Don't allow overlaps, we can't composite them with transparency.
//
// ****************************************************************************
......@@ -520,7 +521,7 @@ avtResampleFilter::ResampleInput(void)
if (doDistributedResample)
{
partition.SetShouldProduceOverlaps(true);
partition.SetShouldProduceOverlaps(false);
avtDataObject_p dob;
CopyTo(dob, samples);
communicator.SetInput(dob);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment