Hi,
I'm using paraview 3.10.1 (on a mac), and having problems adding a
texture.
I can do it in the GUI - I create a TextureMapToPlane filter, and select
the texture (a PNG file)
in the combo box. My problem is that I need to do this within a python
script, and
when I use the trace facility I get something like
t1 = TextureMaptoPlane()
rep = Show()
rep.Texture = []
no mention of how to load the PNG file and apply it.
I can load a png file with
pngf = PNGSeriesReader(FileNames = ['/home/a/texture.png']
but how do I apply it?
Regards,
Alastair
--
Alastair McKinstry , Computational Scientist<[email protected]>
ICHEC, Room 301, IT Building NUI Galway, Galway , Ireland
tel: +353 91 495946
_______________________________________________
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