Hi Eric,

Thanks for the example. I've textured my very first sphere :)

I've taken another look at the VTK file format and I now realize that it is possible embed extra scalar (UV) <PointData> information in a VTK/VTP file (I'm a novice, but I'm learning).

I've got a mesh with texture coordinates, and I can modify my external VTP file writer to embed texture coordinates in my VTP file, so that the programmable filter extracts it. Is this the correct approach? And will the line:

Uarray = pdi.GetPointData().GetArray('U')

in your script extract U coordinates in the file?

Regards,

- Olumide
_______________________________________________
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