hello everybody~~<br>today I try the example :TestAreaSelections.cxx<br>here is a part of code in this file<br>renWin->Render();<br>
int rgba[4];<br>
renWin->GetColorBufferSizes(rgba);<br>
if (rgba[0] < 8 || rgba[1] < 8 || rgba[2] < 8)<br>
{<br>
cout <<"Color buffer depth must be atleast 8 bit. Currently: " <br>
<< rgba[0] << ", " << rgba[1] << ", " << rgba[2] << endl;<br>
return 0;<br>
}<br><br>when my programe run at this i got the rgba[0] £¬rgba[1] £¬ rgba[2] value 5,6,5,and it retrun wieh 0<br>the message is "Color buffer depth must be atleast 8 bit. Currently,"what did this mean?<br>i use the image data that suporrted in vtkdata, I don't know what the problem is,can any one give me help? thx~~ <br><br>