I am using MAXScript to bake out textures, using INodeBakeProperties and render rendertype:#bakeSelected
It turns out that the render command needs the correct width and height, otherwise it will use the resolution from the render dialog… :-\
But if I have an object with multiple bake elements and each bake element uses a different resolution, how I can I do this in MAXScript without re-rendering for every single element?
Ideally, I would like to call the render command once and it should output all bake elements with correct dimensions.
Any ideas?
Edit: This seems to be a problem specific to V-Ray… trying the same with Scanlne renderer works just fine.