开发者

Blender, UV Layer, Image and Python

开发者 https://www.devze.com 2023-01-07 21:08 出处:网络
I\'m trying to access UV Layer in Blender from Python and basically API returns UV Layer only as a string. Thing is I want to assign new Image object to current UV Layer ( I use TexFace on the side of

I'm trying to access UV Layer in Blender from Python and basically API returns UV Layer only as a string. Thing is I want to assign new Image object to current UV Layer ( I use TexFace on the side of material ) and then just bake lighting. All meshes are currently unwrapped, the only thing which is missing is an Image and I have no idea how to add image I will bake lighting to from Python level.

Thanks开发者_如何学Go, J


What you could do is (if you are using Blender 2.49b) set the image of the Texture object and the uvlayer property of the MTex object.

0

精彩评论

暂无评论...
验证码 换一张
取 消