Search found 2 matches

by MrTeapot
Fri Jan 18, 2013 11:48 am
Forum: Python
Topic: How to retrieve the texture associated with a texture uv?
Replies: 2
Views: 926

Hi CoDEmanX, Thanks for the super-quick and useful reply! Indeed, what I had failed to do was generate the tessface data. After I added the calc_tessface() command it all works nicely, hooray! I also discovered that it is actually still possible to use the old interface so o.data.uv_textures['UVMap'...
by MrTeapot
Thu Jan 17, 2013 9:15 pm
Forum: Python
Topic: How to retrieve the texture associated with a texture uv?
Replies: 2
Views: 926

How to retrieve the texture associated with a texture uv?

I am writing an exporter that among other things exports uv coordinates and the associated image name. Back in the 2.4x day I retrieved this image information by "mesh.data.uv_textures['UVMap'].data[0].image.filepath" (I just took whatever the first uv was associated with). I am now using 2.65 and h...