Thanks Marc .. you were right .. its my bad. <br><br>Rashed<br><br><div><span class="gmail_quote">On 9/6/06, <b class="gmail_sendername">Marc Cotran</b> &lt;<a href="mailto:marc@cotran.ca">marc@cotran.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Rashed Karim wrote:<br>&gt; Hi Marc,<br>&gt;<br>&gt; Thanks for your reply. I tried using the SetBackground function but
<br>&gt; whatever color (r,g,b) i set it to, always produces the white<br>&gt; background. Any ideas as to why ?<br>I'm guessing you are using integer values above 1 and they are being<br>clamped to 1 for r,g,b. VTK works with doubles from 
0.0 to 1.0. For<br>example, to set background color to blue, you would say:<br><br>SetBackground(0.0, 0.0, 1.0);<br><br>hth<br><br>Marc<br></blockquote></div><br><br clear="all"><br>-- <br>Rashed