How to write values to an image file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I hope scripting questions are allowed here as I'd like to write this as a script as opposed to a plugin. I'd like to write arbitrary data to an image file based on the UVs of a mesh. I see Maya has "exportSkinMap" for exporting skin weights to an image file. And "art3dPaintSaveFileTextures" can write to an image file. So there must be a way to, for instance, write normals to an image file. Or to write worldPosition to an image file.
On the plugin side, I've seen someone write a tool that can generate a texture file based on the path of a particle across the surface. So I know it's possible. If I must do it as a plugin, then so be it. But I'd much rather it be a script. I don't want to keep updating a plugin for each new version of Maya.