Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Google deepmind Mujoco Filament ImGui Editor

From Leeroopedia
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

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

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment