Implementation:Google deepmind Mujoco Filament ImGui Editor
| Knowledge Sources | |
|---|---|
| Domains | Rendering, GUI, Post-Processing |
| Last Updated | 2026-02-15 04:00 GMT |
Overview
Provides an ImGui-based editor panel for interactively tuning Filament rendering settings such as tone mapping, color grading, lighting, and post-processing options.
Description
imgui_editor.cc implements the ImGuiEditor class that exposes Filament-specific rendering parameters through an ImGui interface. It includes controls for tone mapper selection (PBR Neutral, ACES, ACES Legacy, Filmic, Linear), color grading adjustments (exposure, contrast, vibrance, saturation, white balance, shadow/midtone/highlight curves), and other visual settings. The editor tracks which values have been modified from their initial defaults using a static InitValues map and highlights changed parameters with an orange color indicator.
Usage
Used in MuJoCo Studio and similar applications to provide a real-time rendering settings panel. The editor is rendered as part of the ImGui GUI overlay and modifies SceneView and ColorGradingOptions objects in response to user input.
Code Reference
Source Location
- Repository: Google_deepmind_Mujoco
- File: src/experimental/filament/filament/imgui_editor.cc
- Lines: 1-738
Key Functions
NameList EnumNames(ToneMapperType v);
InitValues& GetInitValues();
template <typename T> bool IsModified(ImGuiID id, const T& current_value);
// ImGui panel drawing functions for tone mapping, color grading, lighting
Import
#include "experimental/filament/filament/imgui_editor.h"
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| scene_view | SceneView* | Yes | The scene view whose rendering options are being edited |
| color_grading_opts | ColorGradingOptions* | Yes | Color grading parameters to modify interactively |
Outputs
| Name | Type | Description |
|---|---|---|
| Modified settings | Various | Updated rendering parameters applied to SceneView and ColorGradingOptions |