Viewing 3 posts
  • #22311
    Michal Ziobro
    Participant
    Posts: 22
    Threads: 43
    Joined: Mar 2015
    Up
    0
    Down
    ::

    Alex,

    How about option to select multiple scenes to render preview?

    It would be extremely flexible and powerful.

     

  • #22411
    Oleksandr Kramer
    Moderator
    Posts: 269
    Threads: 1413
    Joined: Aug 2009

    With version 3.07.40 you can use the API for specifying the desired scene for a file.

    1. Add several studios.
    2. Create a script using an example from the file “BatchRendering Script Example.ms”
    3. Add this file to Batch Render Relink.
    /*
    	Example for using the Mode #BeforeOpen:
    	Change StudioFile depends on rendered flle
    	Note: studio must be specified in the list of studios
    */
    if BatchPostScript != undefined and BatchPostScript.GetMode() == #BeforeOpen do (
    	if getFilenamePath BatchPostScript.MaxFile == @"C:\Temp\Buildings\" then (
    		/* Use index of studio */
    		BatchPostScript.StudioFile = 1
    		/* Or full path to studio */
    		-- BatchPostScript.StudioFile = @"C:\Studio for Buildings.max"
    	)
    	else (
    		BatchPostScript.StudioFile = 2
    		-- BatchPostScript.StudioFile = @"C:\Studio for Furnuture.max"
    	)
    )
  • #22501
    Michal Ziobro
    Participant
    Posts: 22
    Threads: 43
    Joined: Mar 2015

    thank you

Viewing 3 posts

You must be logged in to reply to this topic.