Overview
A Scene is the most fundamental function type in QLC+. It encapsulates the values of selected channels from one or more fixture instances. When a scene is started, the channels transition to their target values based on the fade in speed setting. For HTP (Highest Takes Precedence) channels, the fade out setting is used when the scene stops.When to Use Scenes
Static Lighting States
Create fixed lighting looks with specific colors, positions, and intensities
Building Blocks
Use as steps in Chasers and Sequences for dynamic effects
Palette Application
Apply palettes to fixture groups for consistent looks
Quick Preset Recall
Store and instantly recall complex lighting configurations
Creating a Scene
Scenes can be created through the UI or programmatically. Each scene stores:- Channel Values: Specific DMX values for fixture channels
- Fixtures: List of fixtures included in the scene
- Fixture Groups: Groups of fixtures for organized control
- Channel Groups: Grouped channels for coordinated adjustment
- Palettes: References to color/position/beam palettes
- Speed Settings: Fade in/out timings
Key Properties
Channel Values
Scenes store channel values using theSceneValue structure:
Speed Control
Time in milliseconds for channels to reach their target values (0 = instant)
Time in milliseconds for HTP channels to fade out when scene stops
How long the scene holds its values before stopping (SingleShot mode)
Class Methods
The Scene class (scene.h:55) provides these key methods:Value Management
Fixture Management
Channel Groups
Color Extraction
Blend Modes
Scenes support different blend modes for channel value mixing:- Normal: Standard HTP/LTP rules apply
- Mask: Scene values mask underlying values
- Additive: Values are added together
- Subtractive: Values are subtracted
Attributes
Scenes have adjustable attributes:Master intensity multiplier for all channels (0.0 - 1.0)
Inherited intensity from parent function (0.0 - 1.0)
Flashing
Scenes can be flashed for instant preview:Flashing bypasses fade times and applies scene values immediately. The
forceLTP parameter forces all channels to act as LTP, overriding HTP behavior.XML Structure
Scenes are saved with this structure:channel,value,channel,value,...
Best Practices
Set Appropriate Fade Times
Match fade times to the fixture type (fast for LEDs, slower for moving heads)
See Also
- Chasers - Use scenes as steps
- Sequences - Animated scene playback
- Collections - Run multiple scenes simultaneously
