1. Introduction¶
Download the tutorial scene (411 KB) – a zip with renderStacks_Tut_001.max. Tutorials 1 to 5 all use this scene.
Open renderStacks. To make a button, find it in the RenderStacks category. Or press "X" and search for it.

This is renderStacks.

The main UI has 3 large panels, a menu at the top and render buttons at the bottom. From left to right, the panels are:
- Pass tree panel – you make passes here and add pmodifiers to set what each pass does.
- Pass modify panel – like the 3ds Max Modify panel. You see and edit the parameters of each pmodifier.
- Note panel – notes and settings.
Making First Pass¶
Make your first pass. Load the file renderStacks_Tut_001.max. The Pass tree panel has an item "::base" by default. It is in the Pass tree panel, but it is not a pass. It is the base depot. This tutorial tells more about it later. The buttons above the Pass tree panel manage passes and pmodifiers.
-
Press the Add Pass button.

-
The name dialog opens. Type "CamA".
When you type, the Make new pass button becomes active.
-
Press Make new pass.
By default, a pass name can have only letters, numbers, underscores and dashes. A pass name is usually part of the output path. Thus, do not use spaces or special characters in a pass name. -
Make 2 more passes, "CamB" and "CamC". To make them at a time, type both names with a comma between them.

-
Click each pass.
Nothing changes, because you did not tell renderStacks to do anything. renderStacks controls only what you tell it to control. This is one advantage of renderStacks.
Adding first pmodifier¶
Now make renderStacks do something. Give each pass a different camera.
-
Select the pass CamB and press Tab. The list shows all pmodifiers that you can add.

-
Type "c" and "a". The list now shows only the Camera pmodifier. The current search word shows above the list.

-
Press Enter or double-click Camera. This is your first pmodifier. The Pass modify panel shows the parameters of the selected pmodifier.

-
Right-click the tree view and select Expand All.

-
You added the Camera pmodifier only to CamB. But all other passes and the base depot show a green Camera pmodifier, "Base_Camera". Green pmodifiers are base pmodifiers. When you add the first pmodifier of a type, the base pmodifier shows on all passes. renderStacks does NOT add the green base pmodifiers to the passes. The green color only shows that the pass uses the base pmodifier, because it has no local pmodifier. renderStacks keeps the base pmodifiers in the ::base depot.A base pmodifier keeps the base state of its pmodifier type. If a pass has no local pmodifier of that type, the pass uses the base pmodifier. The base pmodifier is also the start point for accumulative pmodifiers.
-
Make sure that the Camera_001 pmodifier is still selected. In the Pass modify panel, open the RenderCam dropdown and select Camera001. The active viewport changes to the Camera001 view.
-
Open the pass CamA and select the green Base_Camera pmodifier. Select PhysCamera001. You told renderStacks to use Camera001 for the pass CamB and PhysCamera001 for all other passes.

-
Click CamC. It already has PhysCamera001, because CamC has no local pmodifier and uses the base pmodifier.
This is the basic workflow of renderStacks. You decide what to control and set a base state as the default. Then you override individual passes locally as necessary.
Adding Second Pmodifier¶
Now add a different pmodifier type: Resolution.
- Select the pass CamA. Hold CTRL and select the pass CamC. You can select more than one pass for most tasks.

- Press Tab and type "res".
- Press Enter. renderStacks adds 2 pmodifiers to CamA and CamC, and Base_Resolution shows on CamB.
The local Resolution pmodifiers of CamA and CamC are below the Camera pmodifier. But the base Resolution pmodifier on CamB is above the Camera pmodifier. This is because base pmodifiers always run before local pmodifiers. The order in the Pass tree panel is the exact order in which renderStacks runs the pmodifiers.

- In the Resolution pmodifier of CamA, use the preset dropdown to set 1920 by 1080.

- Do the same for CamC. Then select the Scale option and set it to 50%. When you change Scale or Overscan, Output Resolution shows the final output resolution immediately.

- For CamB, unlock the image ratio button and set the resolution to 2048 by 2048.

- Click each pass, or a pmodifier of the pass, to activate the pass. The camera and the safe frame ratio change as you set them.
Preview Passes¶
You made your first render passes with renderStacks. Now make preview renders to make sure that your pass setup is correct. renderStacks uses rsPrvRender for previews.
- Select all 3 passes.
You can select passes one at a time with the CTRL and SHIFT keys.
To select all passes, there is an easier way. - Open the PassSet dropdown at the bottom of the tree view. It has a built-in PassSet, "All", that selects all passes. For more data, see Pass Set.

- Select All. renderStacks selects all passes.
- Click Preview at the bottom.
- renderStacks renders previews of all 3 passes and loads them in RAMPlayer.
To change the preview settings, right-click Preview. The rsPrvRender dialog opens. renderStacks also uses the options that you set there.
Controlling Pass Globally¶
Now you want to batch render the 3 passes. This scene has no animation. Thus, set the frame range to Single for all 3 passes. To control all passes at a time, add a FrameRange pmodifier directly to the base depot. The base depot is not a pass. It is the storage for base pmodifiers. All passes use a pmodifier in the base depot, until a pass gets its own local pmodifier.
- Select ::base at the top.
- Press Tab and select Frame Range.
- Select one of the Base_FrameRange pmodifiers and set it to Single.

One goal of renderStacks is to put all render controls in one location. With renderStacks, you do not need to open the Render Setup dialog. A pmodifier controls each option of the Render Setup dialog. Also, an open Render Setup dialog makes pass activation slower. Thus, always keep the Render Setup dialog closed.
Setting Output Path¶
Last, set the output path for your render. You can type an output path for each pass. You can also use tokens to make the output path automatically.
- Select ::base again.
- Press Tab. Add RenderOutput.
renderStacks applies the default output path with tokens:
<prjrenderoutput>/<SceneName>/<PassFullName>/<SceneName>_<PassFullName>..exr
The tokens are:
<prjrenderoutput> – the render output folder of the project. By default, C:\Users[username]\Documents\3ds Max 2021\renderoutput.
<SceneName> – the scene file name without the extension: renderStacks_Tut_001.
<PassFullName> – the pass full name: CamA. - The final output path is:
C:\Users[username]\Documents\3ds Max 2021\renderoutput\renderStacks_Tut_001\CamA*renderStacks_Tut_001_*CamA..ex*
You can now render all selected passes locally, or send them to a render farm. Select the passes and press Local Render or Net Render.
This is the end of the first renderStacks tutorial.
Thanks