Setting up DMX lighting in Nuke Stage
You can set up DMX lighting in Nuke Stage through Project Graph > DMX.
Firstly, click on the DMX section and use the Application property to define the RenderNode you want to send DMX data from. If Editor is selected, then the control machine will be used.
Note: There may be some minor performance penalty for the machine that is sending DMX data. The extent of this penalty depends on the total number of pixels you are sampling.
From here, there are three sections to configure within the DMX space of the Project Graph:
| 1. | DMX connections |
| 2. | Fixture profiles |
| 3. | Fixtures |
DMX connections
The first step is to set up your DMX connections. DMX connections define how DMX data will be sent from NukeStage to the network .
| 1. | Select the protocol from the Type property. This defines the network protocol you want to use. |
| 2. | Once you have selected the Type property, protocol-specific parameters will appear. |
-
Send address — defines the network card / network interface controller (NIC) that the data will be sent from. Input the IP address assigned to the NIC that you want to use for sending data.
Fixture profiles
The next step is to set up your fixture profiles. A Fixture profile is the description of a type of device, such as a particular model of light. For each model, you only need one profile. This means that, for example, if you had 20 lights that were all the same model, they all share the same profile.
A profile contains one or more modes. Each mode defines a set of channels used to control the fixture.
Nuke Stage currently only supports configuring a fixture profile from a GDTF file. A GDTF file is available for most lighting fixtures. These can be found directly from the manufacturers website, or from GDTF Share.
Adding a new fixture profile
To add a new fixture profile in Nuke Stage, ensure you have your fixture’s GDTF file saved on your control machine.
Click the Browse button in the File property and use the file browser to find the GDTF file you want to use for your fixture profile.
This will populate the Modes and Geometries properties with the information in the GDTF file.
Fixture profile > Modes
In the Modes section, all of the Modes found within the GDTF file are displayed as tabs. The list of modes that are supported by a specific lighting model can also be found in the hardware manual of your fixture.
In Nuke Stage, each mode displays the following information:
• Root Geometry defines the root geometry of the geometry tree the mode will be using.
• The Channels section consists of tabs for every channel in the mode.
• The Attributes property refers to the lighting attribute you want this channel to control (e.g. Red, Green, Dimmer etc.).
Tip: The channel attributes are standardized, and can be found at the GDTF Hub.
• The Geometry property defines which geometry the channel refers to. You can use the dropdown to select from all available top-level geometries.
• The Break property defines the break that the channel belongs to. Each break will need to have a different starting address assigned at the Fixtures level to ensure that there isn’t any duplication in reading slots.
• The Slots property dictates the slots that will be used by each of your channels within the mode. This represents the slots within the 512 slots that the channel will fill in, so that the physical light fixture will read the correct information from the network protocol.
Note: When choosing the slots that the channel will use, note that the channels use 1-based indexing, so they will start at 1 (slots set to 0 are inactive). The slots are relative to the start address of the fixture. The final slots used by a channel will be <start address + slot set on the channel profile - 1>
• Select Grid Fixture if the mode should be treated as a grid fixture. Selecting this option will bring up a sub category of properties to define.
Grid Fixture settings
When you set the grid fixture settings, the list of channels you have already created in the mode are taken and organized into a grid format, which is sectioned into Pixels.
Within this context, the term Pixel refers to one individually-controllable light section in your grid. For example, in the below image, there are 4 pixels. Even though each region may contain multiple LEDs, because they are all controlled as one unit, they are all part of the same pixel.
Each pixel must have its own set of the channels to be able to define a grid for a Mode, each with an identical structure.
• Start channel index — defines which channel the grid should start reading from. This will be the first pixel-specific channel in your geometry (ie, a channel that does not apply globally to the entire fixture).
To work this out, use the DMX chart for the mode you are working on. The index of the first channel that is within the first pixel will be the Start Address. See the Grid Configuration Examples section for different demonstrations of this.
• Pixel channel count — refers to the number of channels per pixel. Each pixel must have the same number of channels to be recognised. Global channels are not taken into account here.
Note: The channels of all Pixels (with the exception of line padding) must be contiguous to be read as a grid by Nuke Stage.
• End of line padding — This property enables optional padding of ignored channels if your setup includes unrelated channels in between “lines” of pixel channels. A line is one of the grid’s horizontal lines or vertical columns (depending on pixel order). These channels will be ignored, so you can make sure the pixels are read next to each other. See an example at Grid Configuration Examples.
• Size — the size of the grid in pixels. For example, 2,2 would be a 2 by 2 grid.
• Spacing — determines the aspect ratio of the pixels, calculated as x/y.
• Pixel ordering — defines the order in which the channels are mapped out to the pixels. For example:
Grid Start channel index configuration examples
The below examples show how to work out the Start channel index (and, where relevant, the End of line padding) properties in Nuke Stage by using the GDTF chart of your lighting fixture.
Example 1
In this example, the index of the first channel that is within the first pixel is 1. So that becomes the Start channel index in Nuke Stage.
The Pixel channel count becomes 3, as that’s the number of channels found within each pixel.
No End of line padding is needed, as all pixels are contiguous.
Example 2
In this example, the Start address will be 3, as that is the index of the first channel that is set within a pixel.
Pixel channel count is 4, as that is the number of channels found in each pixel.
Example 3
In this example, Start address would be 1. Pixel channel count would be 3.
In this example, the Size property is 2, 2, meaning the grid has two “lines”.
Therefore, End of line padding would be 2, as there are channels in between the pixel channels that are not pixel-specific. To ensure that the pixels remain contiguous, the End of line padding property will ignore the last two channels of each “line”, ensuring only pixel-specific channels are read in the grid.
Fixture profile > Geometries
The next area of the Fixture Profile panel is called Geometries. These are the geometries that will be used by the light fixture. You don't need to select a specific one or edit them, as they reflect the GDTF file.
Fixtures
The final step in setting up your DMX fixtures is to add the physical fixtures you have on set into Nuke Stage.
| 1. | Click the + icon to add a new fixture. |
| 2. | Define the Start Addresses for the fixture, measured in Universe and slot within universe. E.g. 2.13 would mean Universe 2, and slot 13 is the first slot used by the fixture. |
Note: If you have multiple breaks in your Fixture Profile, ensure that you have the equal number of start addresses in your fixture, to avoid multiple channels being duplicated.
| 3. | Select the profile you want to assign to this fixture, as well as the Mode to choose the current mode. |
| 4. | When you have selected a mode, you can click the down arrow icon to display all of the channels of that mode. |
RGB or RGBW channels that target the same Geometry will be combined together into one slider so you can use the color picker UI to control the color of the fixture. However, if you are missing one of the color channels (e.g. there is no Blue channel), it will not change into color picker UI. Any W (white LED) channels will also be combined into the color picker UI, but the editor UI will visualize that channel as the alpha component of the color.
If the selected mode is configured to be a grid mode, you will also be able to define the following properties for your fixture:
• Grid texture - defines the texture you want the grid to read pixel colors from. This can be mapped using the Pixel Map panel.
• Grid position - The position of the grid on the texture, measured in pixels.
• Grid Scale - scales the grid’s sampling points by the value of this property before reading from the texture.
Now that the fixtures have been set up, you can begin editing and animating your lighting controls. See more at Using lighting controls in Nuke Stage.