<div dir="ltr"><div><div><div><div>Which of these do you mean by "grey range":<br><br></div>The color map and translucency mapping?<br><br></div>Then try looking at: <br><a href="http://www.cmake.org/Wiki/VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper">http://www.cmake.org/Wiki/VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper</a><br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html">http://www.vtk.org/doc/nightly/html/classvtkColorTransferFunction.html</a><br><br></div>The background color:<br></div>Use the <a href="http://www.vtk.org/doc/nightly/html/classvtkViewport.html#a85eaf3ee2b0e49423efbaa41de17112d">setBackground()</a> function on your vtkRenderer.<br>
<div><div><br></div><div>I hope this helps,<br></div><div>Shawn<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 9:14 AM, ljp19890525 <span dir="ltr"><<a href="mailto:ljp19890525@163.com" target="_blank">ljp19890525@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="MARGIN:0px">
<table style="PADDING-BOTTOM:10px;PADDING-LEFT:10px;PADDING-RIGHT:10px;PADDING-TOP:10px" background="cid:_Foxmail.0@D95312E9-FF6A-48B8-A617-F41C446227C4" border="0" cellpadding="0" cellspacing="0" height="100%" width="99.99%">
<tbody>
<tr>
<td style="LINE-HEIGHT:160%;WIDTH:100%;min-height:100%;FONT-SIZE:10.5pt" valign="top">
<div>Hi all,</div>
<div>I have done the Volume Rendering,and How to adjust the
grey range for my Volume Rendering? What
should I do next?</div>
<div>heartfelt gratefulness!</div>
<hr style="WIDTH:210px;min-height:1px" align="left" color="#b5c4df" size="1"><span class="HOEnZb"><font color="#888888">
<div><span>ljp19890525</span></div>
<div></div></font></span></td></tr></tbody></table></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>