Please enable JavaScript to view this site.

Navigation: Connections (Plug-Ins) > 3ds Max Connection

3ds Max Lighting Plug-in - Workflow 1

Scroll Prev Top Next More

HDR Light Studio is a standalone lighting application providing a set of tools and content dedicated to lighting 3D scenes. Using HDR Light Studio connected to 3ds Max provides the ability to create custom HDRI maps to light your scenes, with lights chosen and positioned to provide the perfect effect on your model. As you work with HDR Light Studio, the lighting is updated in real-time in 3ds Max, where you can see the lighting interact with your 3D scene. You can also create and control Area Lights using HDR Light Studio.

This workflow tutorial will teach you how to use the connection between 3ds Max and HDR Light Studio.
It will not teach you how to use HDR Light Studio itself. Please see our 'Getting Started' content here to learn the HDR Light Studio interface and the basic features.

Workflow Tutorial
Requirements: 3ds Max with V-Ray, Corona, Redshift or Arnold. Not your renderer? Click here to see Workflow - Method 2

STEP 1: Start 3ds Max and load the 3ds Max project you want to light (see Figure 1).
 
Make sure a camera is set up for your scene and that the correct renderer is set. In this example V-Ray is used.

 

Figure 1: 3ds Max on startup after loading a project

Figure 1: 3ds Max on startup after loading a project

 

STEP 2: Open the HDR Light Studio Connection plug-in panel

Go to the menu: Rendering > HDR Light Studio Connection (see Figure 2). Not seeing HDR Light Studio Connection? See our installation instructions

 

Figure 2: Opening 3ds Max connection panel

Figure 2: Opening 3ds Max connection panel

 

The HDR Light Studio Connection panel opens (see Figure 3). HDR Light Studio Connection panel did not open? See our bug fix

 

Figure 3: HDR Light Studio Connection panel

Figure 3: HDR Light Studio Connection panel

 

If you have a red cross next to 'Current renderer valid', it indicates that you are either using a renderer that is incompatible with HDR Light Studio connection or it is incorrectly installed.

STEP 3: On the HDR Light Studio connection panel, click on the 'Start' button (see Figure 4)

 
In order for HDR Light Studio to be started in a connection with 3ds Max and your renderer, an IBL Hook is required to connect with.

An IBL Hook is simply a valid Image Based Lighting setup (Dome Light / Environment Light), whose HDRI map file can be replaced and updated by HDR Light Studio.

 

Figure 4: Starting HDR Light Studio Connection

Figure 4: Starting HDR Light Studio Connection

 

STEP 4:  Create a new IBL Hook by providing a name for the hook in the 'Create New Hook for VRay-Next' panel and press the OK button (see Figure 5).

 

During the start process, our plug-in detects if there are valid IBL Hooks, if not then we create one for you.

 

Figure 5: Creating a new hook

Figure 5: Creating a new hook

 

HDR Light Studio will now start, controlling the HDRI image file used on the new IBL Hook, unless there are already valid IBL Hooks in your 3ds Max scene, a dialog will appear where you will be asked to choose a Hook from the drop down, or there is an option to create a New Hook (see Figure 6).

 

Figure 6: Selecting an existing hook before HDR Light Studio connection starts

Figure 6: Selecting an existing hook before HDR Light Studio connection starts

 

HDR Light Studio will then start connected to the hook selected or the new one that was created (see Figure 7).
 
The HDR Light Studio interface should look like in Figure 7.

If not in HDR Light Studio you can reset it by going to the menu: Window > Layout > Load > Default > 3ds Max

 

Figure 7: HDR Light Studio on start up

Figure 7: HDR Light Studio on start up

 
If we switch back to the 3ds Max interface, we can see the created environment that HDR Light Studio has attached to, in this example called VRayLight001 (see Figure 8).

 

Figure 8: VRayLight001 node shown in the outliner

Figure 8: VRayLight001 node shown in the outliner

 

The current HDRI map design in HDR Light Studio is shared with 3ds Max as a temp proxy (lo-res) image. A proxy is used because it's faster to calculate and faster for 3ds Max to load during the iterative lighting design process. When the lighting design changes in HDR Light Studio, this image is updated in 3ds Max to use a new temp with a new file name, to ensure the renderer uses the new image even when caching images.

 

The temporary file name and location will look something like in Figure 9. 

 

Figure 9: File path points to a HDR Light Studio temp proxy image

Figure 9: File path points to a HDR Light Studio temp proxy image

STEP 5: In HDR Light Studio, press Play on Render View [3ds Max|VRay] (see Figure 10)

 

memo_small Please note: If you start interactive rendering inside HDR Light Studio interface and your active 3D view in 3ds Max isn't set to camera view, then the camera list in Render View [3dsMax|V-Ray] will be empty.

 

Figure 10: Starting the Octane Render View within HDR Light Studio

Figure 10: Starting the Octane Render View within HDR Light Studio

 

HDR Light Studio now instructs 3ds Max to start an interactive render session with the current renderer.

The interactive render image is now displayed in this Render View (see Figure 11).

To understand all of the features/controls for this view, see here.

 

Figure 11: V-Ray render view working withing HDR Light Studio

Figure 11: V-Ray render view working withing HDR Light Studio

 

Let's make our first light in HDR Light Studio ...
By default, LightPaint is set to Reflection in this view. So lights are positioned to reflect in the chosen location on the 3D model when using LightPaint (see Figure 12).

Learn about LightPaint here.
 

Figure 12: LightPaint mode set to Reflection

Figure 12: LightPaint mode set to Reflection

 

STEP 6: Click on the Presets tab next to the Light List tab, to show the Preset Lights (see Figure 13).

 

Figure 13: Opening the presets tab to see a list of presets

Figure 13: Opening the presets tab to see a list of presets

 

STEP 7: Drag and drop a Preset Light onto the 3D model in the Render View [3ds Max|VRay] (see Figure 14).

 

Figure 14: Placing a preset light onto the model

Figure 14: Placing a preset light onto the model

 

 

The Preset Light has been added to the lighting design in a location that is reflecting where the light was dropped on the 3D model.

 

You will see:

• A new light in the Light List in HDR Light Studio (see Figure 15).

• You can see the new light added on the Canvas (HDRI Map View) in HDR Light Studio (see Figure 15).

• The 3ds Max environment has been updated to use the new live HDRI map from HDR Light Studio, and the 3ds Max|VRay Preview Render updated using the new lighting (see Figure 15).

 

Figure 15: HDR Light Studio interface after creating a light

Figure 15: HDR Light Studio interface after creating a light

 

You can see that the LightPaint tool is active in the toolbar within the Render View [3ds Max|VRay] (see Figure 16).

 

STEP 8: Click on the 3D model to reposition the selected light from the Light List (see Figure 16).

The light is moved on the HDRI map, the new HDRI map is sent to 3ds Max and the Preview Render updates.

This is a very interactive way to light your shot. Placing lights directly on the 3D model where you want them.

 

Figure 16: Using LightPaint to paint lights on the model

Figure 16: Using LightPaint to paint lights on the model

 

If there is a delay of more than a second, or so, after clicking to move a light and see the updated rendered result - the process will be slow and tedious.

In this situation we can use HDR Light Studio's built in renderer to speed up the lighting process.

 

STEP 9: Press the play button on Render View [HDR Light Studio] (see Figure 17)

 

Figure 17: Starting up HDR Light Studio Render View

Figure 17: Starting up HDR Light Studio Render View

 

The Import Scene Geometry panel will pop up

 

STEP 10: Press Import (see Figure 18)

 

Figure 18: Importing the scene from 3ds Max to HDR Light Studio render view

Figure 18: Importing the scene from 3ds Max to HDR Light Studio render view

 

 

You may need to use the Camera Drop Down in Render View [HDR Light Studio] to match the camera view you are seeing from 3ds Max (see Figure 19).

 

Figure 19: 3ds Max|VRay render view (left) and HDR Light Studio render view (right) side by side

Figure 19: 3ds Max|VRay render view (left) and HDR Light Studio render view (right) side by side

 

The Render View [HDR Light Studio] renders the loaded scene lit with the current lighting design. A simple shader is used on the whole scene to preview the light and reflections.

If you needed to open Render View [HDR Light Studio] to get a more interactive lighting experience. Use this view for LightPaint, where clicking and dragging to position lights is supported - it's fast and interactive.

The Render View [3ds Max|VRay] rendering will catch up eventually as you work, and will display an image using the latest lighting.

 

If the Render View [3ds Max|VRay] is still so slow that it is of little benefit during the interactive lighting process, and maybe it is also slowing down HDR Light Studio a lot, then use the Pause/Play button to stop and resume rendering in Render View [3ds Max|VRay], in order to do test renders from time to time (see Figure 20).

 

Figure 20: Pause / Play for the render view

Figure 20: Pause / Play for the render view

 

We have documented in more detail the process of using 2 render views together in HDR Light Studio here.

 

So far the light we created is on the HDRI map. With a single setting, this light can be removed from the HDRI map, and created as an Area Light in 3D space in 3ds Max, mapped with the HDR content from HDR Light Studio.

 

STEP 11: Enable the Area Light check box in the Light Properties panel for the selected light (see Figure 21).

 

Figure 21: Converting a light into an area light

Figure 21: Converting a light into an area light

 

As a result of enabling the Area Light setting, these things instantly happen:

•   The Light in the Light List gets the suffix [AreaLight] and the text is now yellow - clearly showing which lights are Area Lights (see Figure 22).

•   The light is removed from the HDRI map lighting the Render Views (but is still represented and shown on the Canvas) (see Figure 22).

•   A 3D Area Light mapped with the HDR light content (RGBA) is created in HDR Light Studio with a Smart Dolly distance of 1,000 (see Figure 22).

•   A 3D plane with emitter shader is created in 3ds Max, mapped with the HDR light content (RGBA), this can be seen lighting the shot in Render View [3dsMax|VRay] (see Figure 22).

 

Figure 22: Light converted into an area light

Figure 22: Light converted into an area light

 

STEP 12: Reduce the Smart Dolly slider value to move the light closer to the 3D model (see Figure 23).

 

Figure 23: Moving the area light closer to the model (LightPaint position)

Figure 23: Moving the area light closer to the model (LightPaint position)

 

 

HDR Light Studio has a scene scale setting that is useful when working with Area Lights in 3ds Max. If the area lights are too close or too far away by default. Adjust the Smart Dolly Scalar value in Preferences. This value scales all area lights in HDR Light Studio.

If we switch to the 3ds Max user interface, we can see:

 

•   The Area Light geometry in the viewport (see Figure 24) (If not, the area light is most likely too far away from your scene. To learn more about Smart Dolly - click here)  

•   An area light node made with HDR Light Studio in the Scene Explorer (see Figure 24)

•   Area Light shader in the Material Editor for the created area lights - mapped with HDR (RGBA) content (see Figure 24)

 

Figure 24: 3ds Max interface after creating an area light

Figure 24: 3ds Max interface after creating an area light

 

 

STEP 13: Use LightPaint in the Render Views to move the Area Lights, just like moving a light on the HDRI map (see Figure 25).

In fact, area lights are controlled just like any other light in HDR Light Studio, with the addition of distance settings.

 

Figure 25: Using LightPaint to position the area light

Figure 25: Using LightPaint to position the area light

 

When using the HDR Light Studio area lights, please note:
Renaming/deleting/duplicating these area lights in 3ds Max (or any part of their associated shader network/file nodes) will cause problems!

STEP 14: Enable Fast Area Light setting in the Render View panel  (Figure 26) for fast noise removal on very big scenes (see Figure 27).

Figure 26: Fast Area Light checkbox

Figure 26: Fast Area Light checkbox

Figure 27: Painting area lights with Area Light Setting On (left) and Off (right)

Figure 27: Painting area lights with Area Light Setting On (left) and Off (right)

STEP 15: Once you are happy with your lighting, press the 'Production Render' button in HDR Light Studio (see Figure 28).

 

Figure 28: Production Render buttons

Figure 28: Production Render buttons

 

Set your Production Render settings and Press Render in this panel. Notice how the 'Orientation' is already set to '3ds Max/VRay', this ensures that the rendered HDRI map is mapped correctly in the host, i.e. 3ds Max (see Figure 29). For more information see: Production Render Dialog

 

Figure 29: Production Render Panel

Figure 29: Production Render Panel

 

The production quality content will be calculated and saved. The connection will automatically update 3ds Max to use these final area lights and HDRI map images.
 
If any further changes are now made to the lighting in HDR Light Studio, all content will be updated to use the updated proxy versions again.
 
So please ensure you 'Stop' the HDR Light Studio connection after you have produced your production lighting, by Pressing the Stop button (see Figure 30).

 

Figure 30: Stopping the HDR Light Studio connection

Figure 30: Stopping the HDR Light Studio connection

 

STEP 16: Save 3ds Max scene.

If you would like the HDR Light Studio project to be saved in your 3ds Max scene, you should save your 3ds Max scene now. This way the scene state matches the HDRI map and area lights that are currently in the project.

 

STEP 17: The below explains how to save and load HDR Light Studio projects.

HDR Light Studio projects can be saved from the HDR Light Studio interface at any time during the lighting process as a HDi file (native HDR Light Studio project file), even when using HDR Light Studio via a connection. If you were to open HDR Light Studio in a connection with 3ds Max, this project can be loaded into HDR Light Studio using Project > Open Project. The lighting design would load into HDR Light Studio replacing its current design, and would then be synced back into 3ds Max. This is how you can move lighting designs between 3ds Max projects or between other supported 3D software / renderers.

 

 

Lighting addon for your 3D software

Copyright Lightmap Ltd 2009-2024