You can set the the 3 components o fthe vector as the r,g,b values
only if the vector components are of the type 'unsigned char'. If
that's the case, then simply uncheck "Map Scalars" checkbox  on the
display tab and the raw data will be used for coloring.

Utkarsh

On Wed, Jul 8, 2009 at 6:40 PM, Xi Tan<[email protected]> wrote:
> Hi,
>
> I am new to paraview and I have been struggling with the color coding
> problem. What I want to do is to color a whole bunch of cells by the
> specific vector associated with each of them. The coloring scheme is to
> set the x,y and z components as the (r,g,b) components, since I don't
> like the default setting which uses the magnitude of the vector. This
> coloring scheme seems possible since someone mentioned it in,
>
> http://markmail.org/message/qv2ujjeyx546eoon#query:vtk%20vector%20field%
> 20color+page:1+mid:k27k5fzjzxqmgg5d+state:results
>
> But I searched for quite a while, however, I had gotten the luck yet.
> Anyone help me out?
>
> Thanks in advance,
> Xi Tan
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to