<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<br><br>Is vtkBlend extremely resource intensive? I have a following piece of code running: FinalImage is a vtkImageData object, MTImage is a vtkImageData object, and blend1 is a vtkImageBlend object.<br><br> blend1->SetStencil(dataToStencil->GetOutput());<br> blend1->AddInput(MTImage);<br> blend1->AddInput(BlackImage);<br> blend1->SetOpacity(0,0.5);<br> blend1->SetOpacity(1,0.5);<br><br> if(OutOfView)<br> {<br> FinalImage = MTImage;<br> }<br> else<br> {<br> FinalImage = blend1->GetOutput();<br> }<br> FinalImage->Update();<br><br>The fps of my display decreases dramatically whenever the output from blend is requested. Is this behaviour expected? Thanks in advance.<br><br>Cheers,<br>Alexis Cheng<br>Electrical Engineering<br>University of British Columbia<br>                                            </body>
</html>