<DIV>Hi vktusers,</DIV>
<DIV> </DIV>
<DIV>I am trying to volume-render a double-precision scalar with vtkVolumeRayCastMapper. </DIV>
<DIV>My raw data (scalar data) are double-precision numbers and they can be negative. I created </DIV>
<DIV>my vtkImageData from unstructured scalar data using vtkShepardMethod. My questions are</DIV>
<DIV> </DIV>
<DIV>1) Do I have to scale my raw scalar data to the range of [0, 255] before creating my </DIV>
<DIV> vtkImageData?</DIV>
<DIV>2) What does vtkImageCast->SetOutputScalarTypeToUnsignedShort() do if my ImageData </DIV>
<DIV> is not scaled to the range of [0, 255]? Will it set any number less than 0 to 0, any </DIV>
<DIV> number greater than 255 to 255?</DIV>
<DIV> </DIV>
<DIV>Thank you.</DIV>
<DIV> </DIV>
<DIV>Jim</DIV><p>
                <hr size=1>Do you Yahoo!?<br>
Plan great trips with <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFmZ2htMTlyBF9TAzMyOTc1MDIEX3MDODYyNzYxNwRwb3MDMQRzZWMDbWFpbARzbGsDZm9vdGVy/SIG=10tesb5j9/**http%3a//travel.yahoo.com/">Yahoo! Travel</a>: Now <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFmMnFhajhhBF9TAzMyOTc1MDIEX3MDODYyNzYxNwRwb3MDMgRzZWMDbWFpbARzbGsDZm9vdGVy/SIG=12jqk5n45/**http%3a//travel.yahoo.com/p-travelguide-191500002-destination_guides_vacations-i">over 17,000 guides!</a>