This is the error message that I'm getting.
===== Warning(36) =====
Distributed rendering from a free (non-camera) view can lead to incorrect results.
If you see incorrectly overlapped objects, render from a camera view.
Then even with the vfb:off switch it still shows the vfb.
Code here:
fn shakeAndBake o pxl =
(
local o = $
o.iNodeBakeProperties.removeAllBakeElements()
diffuseColor = Corona_DiffuseColor()
diffuseColor.outputSzX = diffuseColor.outputSzY = pxl
diffuseColor.fileType = (getDir #image+"\\"+o.name+"_diffuse.png")
diffuseColor.fileName = filenameFromPath diffuseColor.fileType
diffuseColor.enabled = true
o.INodeBakeProperties.addBakeElement diffuseColor
select o
--This is where the vfb is set to off but it still shows
render rendertype:#bakeSelected vfb:off progressBar:true outputSize:[pxl,pxl]
)
theObject = shakeAndBake theObject 512