shading in VolRender
Lisa Sobierajski Avila
lisa.avila at kitware.com
Fri Oct 1 11:29:23 EDT 1999
<x-flowed>Hello Jasjit,
You can adjust the Ambient, Diffuse, Specular, and Specular Power
parameters of the VolumeProperty (the same way you control shading on a
vtkProperty).
Lisa
At 08:50 AM 10/1/99 -0400, Dr. Jasjit Suri wrote:
>Hello...
>
>STEP 1:
>I create the VolumeProperty of my MR head data
>by giving 4 inputs:
>
>Opacity
>Color
>Interpolation Type
>Shading
>
>STEP 2:
>I create the VolumeMapper by giving 2 inputs:
>CompositeFunction and
>Reader
>
>STEP 3:
>I create the Volume by inputing STEP1+STEP2
>
>Finally i display it.
>
>Is there a way to control the shading/lighting of the
>volume rendering ?
>
>One way is to change the R,G,B color map
>by changing the color transfer function matrix..
>But this is not a very efficient way...
>Another way might be to re-classify my voxels
>which is load on both memory, speed and perhaps
>the quality...
>
>I hope somebody must have encountered this...
>
>What do you say on this ?
>
>Thanks very much...
>
>..jas..
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>. For help, send message body containing
>"info vtkusers" to the same address. Live long and prosper.
>-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
</x-flowed>
More information about the vtkusers
mailing list