Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone!,
I'm working on an script that uses BakeToTexture utility but I'm stucked when setting the file output options.
In the documentation I found this part:
So, lets say that I have my map created like this:
myNormalMap = BakeToTexture.addMapByTypeName myObject #Normal
if I try to access to image size I have no problem:
myNormalMap.setImageSize()
but if I try to access to set image type I get this error:
myNormalMap.setImageType()
-- Unknown property: "setImageType" in <MixinInterface:BakeToTextureMap>
Also, I tried to apply some of the pngio settings to my map but it doesn't seems to have any effect:
pngio.setType #true48
pngio.setAlpha true
myNormalMap.applyImageTypeSettings()
I really hope someone could give me some help with this.
Thanks a lot!
Solved! Go to Solution.