<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi all,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Colour mapping&nbsp;a line of 1D cells&nbsp;using 
float&nbsp;point scalars and InterpolateScalarsBeforeMappingOn(),&nbsp;shows 
colours which are much darker than expected. The line width is exaggerated to 
illustrate the effect and a scalar bar actor shows the expected colour 
range.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><IMG border=0 hspace=0 alt="" align=baseline 
src="cid:BAA7199E85F64AF9A9170CFABDAB299C@pafec5"></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>There are no problems with 
InterpolateScalarsBeforeMappingOff().</FONT><IMG 
style="WIDTH: 515px; HEIGHT: 105px" border=0 hspace=0 alt="" align=baseline 
src="cid:4E0F27AC865A4BC3BBBB850A58F702B3@pafec5" width=448 height=138></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Interestingly, if the actor colour is set to 
white(it is green above), the colours are correct. If the actor colour is set to 
black, all the cells are black.&nbsp;I have not noticed any similar problems 
with 2D cells.&nbsp;</FONT><FONT size=2 face=Arial>&nbsp;I am using VTK 
5.4.2&nbsp;&amp; VS2008 build.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Any help&nbsp;in resolving this problem would be 
much appreciated.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Thanks for your time.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>John.</FONT></DIV></BODY></HTML>