Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Adding multiple batch renders with area to render set to "Blowup"

Adding multiple batch renders with area to render set to "Blowup"

bertv
Enthusiast Enthusiast
539 Views
1 Reply
Message 1 of 2

Adding multiple batch renders with area to render set to "Blowup"

bertv
Enthusiast
Enthusiast

Hi,

 

I have a scene that needs to be rendered very big. I made a script to automate this using multiple blowup renders. The blowup region renders fine when submitting to the backburner server, but only when using one batch. When submitting multiple it only uses the last set blowup region.

 

Can I add batch renders to the batch each using their unique blowup region in the camera view?

 

This is the part for my code where I create the blowup regions and add them to the bath:

 

 

			--Set render type
			--#view | #selected | #region | #crop | #blowUp | #boxselected | #regionselected | #cropselected | #normal | #selection | #regionCrop
			setRenderType #blowUp
				if renderSceneDialog.isOpen() do renderSceneDialog.update()
			
			--Set blow region
			box_blowup = (Box2 posVector[1] posVector[2] FullRecWidth FullRecHeight)
			viewport.setblowuprect viewport.activeviewport box_blowup
			
			--Create camera batch for blow region data
			orthoCamBatch = batchRenderMgr.CreateView orthoCamObj
			orthoNameCam = counter as string + "_" + orthoCamObj.name
			orthoCamBatch.name = orthoNameCam
			orthoCamBatch.outputFilename = maxFilePath + orthoNameCam + ".png"
			orthoCamBatch.enabled = false
			--batchRenderMgr.netRender = true
			
			counter += 1

 

 

 

Any ideas how to do this?

 

Regards

Bert

 

0 Likes
Accepted solutions (1)
540 Views
1 Reply
Reply (1)
Message 2 of 2

bertv
Enthusiast
Enthusiast
Accepted solution

I found out it's best to submit them directly to the render farm.

I used following docs to accomplish this by creating a job:

https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=GUID-DEF2CDBF-C729-46B9-BC0D-F030E255E3A7

 

 

regards,

Bert

0 Likes