my question is quite simple. i need to find the name of the texture applied to a model. the image name is showed on the structure bpy.data.images[“imgname.png”], the users property equals 1. this means that the image is used.
How to build my scenario.
- add a model (cube or whatever)
- unwrap textures
- on the uv image editor panel image ->open image
- on 3d view, viewport shading texture
and the texture should appear on the model.
I have a scene with different models, with different textures (usually 1 texture for model).
In my custom exporter i have to cycle on models and save the texture name.