Batch Camera Render 2

Version: 
2.0.9
Date Updated: 
01/04/2013
Author Name: 
Sergo Pogosyan

Batch Camera Render maxscript version 2 - reworked and improved version of Batch Camera Render maxscript. The main imporvement is the ability to assign different settings to one camera, just as in standard 3ds max's Batch Render.

Take a note that it is still in beta stage!

Voted suggestion could be placed here - Google Moderator BatchCam2 Сategory

Additional Info: 

Current Version: 2.0.9

Release Date: 4 January 2013

Bugfix:

  • Corrupted other script's custom attributes stored in a scene.

Release Date: 14 January 2012
 
Improvements:

  • Preview button added- it renders only current frame without saving anything - no images, no vray maps,no elements. Note that if output file is specified in standard Render Setup script saves rendered image in preview mode.

Bugfixes

  • Frame Range Type "Frames" didn't recognized - fixed
  • Resolution changing in certain conditions caused error message - fixed
  • Netrender with Command-Line-Commit didn't worked well - fixed
  • Some of the Clear buttons didn't work as expected - fixed

Release Date: 21 November 2011

Bugfixes:

  • startup error in 3ds max versions <2012
  • render preset not found error fixed
  • animation ranges detection now works as expected and camera target's animation is also considered
  • clear settings in resolution and frame ranges

Improvements:

  • Render method from the version 1.9.x (fewer problems with gamma expected but not confirmed)
  • Vray section from the version 1.9.x
  • Orthographic camera mode in Vray section - turns Physical camera into orho mode (and any other cameras)
  • Nth Frame property can be set for each preset independently (useful for Vray Irmap calculation)
  • Render Preset property is now saved not as just a name of preset but as a full file path to ensure scene consistency across the network, different projects and 3ds max versions.
  • Render Element property is available, but only in 1.9.x render method. Render commit method can be choosed in Options rollout.

Small fixes:

  • Frame ranges are now remembered as you choose different range types.
  • Checked state of the render preset is also saving, so you don't have to recheck the presets when you're making many test renders.

 

Installation:

Run this script with Maxscript -> Run Script command from any folder on your hard drive, then go to the *'Customize User Interface' -> 'Toolbars'*, browse to category 'Sergo Pogosyan' and add 'Render scene cameras...' button to the toolbar or to the menu.

This page http://www.sergepogosyan.com/scripts/BatchCameraRender2/ will not be available for some time. 

Version Requirement: 
3ds max 2008-2012. 32-bit and 64-bit.
AttachmentSize
batchcam2.0.9.ms174.78 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
MH's picture

Ok - found the solution: I

Ok - found the solution: I forgot to attach the fileextention (.tif) to the "%cameraname%" Output parameter.

Everything works fine now. Thanks again for this extremely usefull script!!!

:-)

MH's picture

Great Script!

Hey Sergo,

thank you for this amazing Script!!!
Unfortunately I can't use it because it does not work. :-(

I have a large scene with many VRay Cameras all across the scene. When I add them to the Batch Camera Render List and press "Render", the CMD window appears showing me something like this:


C:\Program Files\Autodesk\3ds Max Design 2014>"C:\Program Files\Autodesk\3ds Max
Design 2014\3dsmaxcmd.exe" "D:\...\BatchCam2SubmitScene_***27301.max" -outputName:"\\workstation\d\...\rendering\140114\test01\0_VRayPhysicalCamera01" -came
ra:"0_VRayPhysicalCamera01" -width:512 -height:342 -frames:1 -continueOnError
1>>"C:\Users\...\AppData\Local\Temp\BatchCam2Submit_***27301_Out.tmp"


C:\Program Files\Autodesk\3ds Max Design 2014>taskkill /F /FI "WINDOWTITLE eq BatchCam2SubmitScene_***27301.max*" 1>>"C:\Users\...\AppData\Local\Temp\B
atchCam2Submit_***27301_Out.tmp"

But the rendering itself does not start.

I tried the "Net-Render" option as well. But I get some error messages here as well:

2014/01/14 14:00:12 ERR Job '***273 0_VRayPhysicalCamera0101' (Autodesk 3ds Max 2014 (64-bit)) failed for workstation
2014/01/14 14:00:12 ERR Error message: 3dsmax adapter error : Autodesk 3dsMaxDesign 16.3 reported error: Render Error (Initializing Renderer)

Do you have an idea what I could try to fix it?

sergo's picture

I would say that's the best

I would say that's the best way how your problem could be solved.

chakib's picture

maybe i've found why

In the Render Commit Options i've changed it from " Command-line-commit " to " Batchrender 1.9 x style ", and it renders now

chakib's picture

didn't help !

I've tried it as Administrator it gives me the same error :s
really weird...

sergo's picture

Run as Administrator helps

Hi,
I've tried your scene and I also get the error on render start. I restarted 3dsmax with Run as Administrator and then it started to render. I have no idea what is the reason of not render under normal user, but it is what it is.
Hope that helps.

P.S. Other thing is that your scene uses newer Nvidia plugin (possibly installed with recent Raygun or something like that), and standard 3dsmax complaints about that too.

chakib's picture

Here is the scene with only

Here is the scene with only cameras

AttachmentSize
test_scene.max 616 KB
chakib's picture

ok i'll send it soon

ok i'll send it soon

sergo's picture

Send me the scene if you can, I need only cameras in it.

Send me the scene if you can, I need only cameras in it.

chakib's picture

Problem

Hi man, i have a heavy scene that renders fine in vray, but once i configure it with Batch render like a always do, it gaves me now a weird msdos error with the file max name in it, didn't understand what is the problem, here is the dos error :

C:\Program Files\Autodesk\3ds Max 2013>"C:\Program Files\Autodesk\3ds Max 2013\3
dsmaxcmd.exe" "C:\Users\blabla\Desktop\G Project\Gold room\BatchCam2Submit
Scene_gold_area_optimized01.max" -outputName:"C:\Users\blabla\Desktop\G Pr
oject\Gold room\renders\test.tif" -camera:"VRayPhysicalCamera001" -width:2000 -h
eight:1125 -frames:0 -continueOnError 1>>"C:\Users\blabla\AppData\Local\Temp\
BatchCam2Submit_gold_area_optimized01_Out.tmp"

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.