[Paraview] Coloring vtkPolyData with Scalars

Lodron, Gerald Gerald.Lodron at joanneum.at
Wed Oct 23 04:40:36 EDT 2013


Hello

I wrote a Reader Plugin which successfully outputs a vtkPolyData (with polygons only) and including two point based scalar fields containing color informations:

"Color1" unsigned char[3]
"Color2" unsigned char[3]

But I can only select "Magnitude, X, Y and Z" in the color properties of each data array, how can I tell paraview that it should take the unsigned char array directly as RGB values?

Thanks for any help,
Best regards, Gerald Lodron
_________________________________________________________________

JOANNEUM RESEARCH Forschungsgesellschaft mbH

DIGITAL - Institute for Information and Communication Technologies
Steyrergasse 17, 8010 Graz, Austria

phone: +43 316 876-1751
fax: +43 316 8769-1751
e-mail: gerald.lodron at joanneum.at<mailto:gerald.lodron at joanneum.at>
web: www.joanneum.at/digital<http://www.joanneum.at/digital>
_________________________________________________________________

This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.

Please consider the environment before printing this page.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131023/17748f53/attachment.htm>


More information about the ParaView mailing list