[Paraview-developers] Reader Plugin with Texture image
Lodron, Gerald
Gerald.Lodron at joanneum.at
Tue Oct 8 05:52:35 EDT 2013
Thank's for your respond,
Could you may explain a little more which plugin you mean? I cannot find a misc section in the plugin directory itself. I already saw/found a "filter" like plugin which mapp's texture coordinates onto a sphere, but no texture image itself.
Thanks for help
Gerald
Von: burlen [mailto:burlen.loring at gmail.com]
Gesendet: Montag, 07. Oktober 2013 17:33
An: Lodron, Gerald
Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org)
Betreff: Re: [Paraview-developers] Reader Plugin with Texture image
I think that you have to do this through the display properties. Way down under the misc section there's a widget that lets you load a texture. I think you should be able to use it if you generated texture coords and in a 2 component vtk float array and named them "Texture Coordinates"
On 10/06/2013 10:46 PM, Lodron, Gerald wrote:
Hello,
I am new in programming Paraview plugins but already made a first reader plugin working but now have a big problem:
I successfully made a reader plugin which reads our company internal file format and outputs a vtkPolyData with texture coordinates. I can also read the texture image into a vtkImageData but now have no clue to combine the vtkPolyData with the texture image. Normally in vtk I would call SetTexture of the vtkActor, but how do I do this in the plugins?
Is a reader plugin the wrong way doing this?
Thanks for any advice,
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.
_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>
http://public.kitware.com/mailman/listinfo/paraview-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131008/a2c67e7b/attachment-0001.htm>
More information about the Paraview-developers
mailing list