Initial implementation of the filament rendering backend for mujoco.

This is intended as a drop-in replacement for mjr_render to enable high
quality, physically-based rendering (PBR) using the filament render engine.

This is a work-in-progress and, as such, some features may be missing. This
is also a code-only drop; build files (including instructions on how to
generate the filament materials) will be provided at a later date.

This library is intended to be run with the experimental studio app.

PiperOrigin-RevId: 817593684
Change-Id: Ib9cd14c1881e4897c1111275bd749aa38ebb5317
This commit is contained in:
Haroon Qureshi
2025-10-10 05:00:46 -07:00
committed by Copybara-Service
parent bd68f0c6cc
commit ff7c613c79
56 changed files with 6969 additions and 19 deletions
+4 -4
View File
@@ -29,8 +29,8 @@
#include <utility>
#include <vector>
#include "third_party/dear_imgui/imgui.h"
#include "third_party/implot/implot.h"
#include <dear_imgui/imgui.h>
#include <implot/implot.h>
#include <mujoco/mujoco.h>
#include "experimental/toolbox/helpers.h"
#include "experimental/toolbox/imgui_widgets.h"
@@ -40,9 +40,9 @@
#include "experimental/toolbox/window.h"
#if defined(USE_FILAMENT_OPENGL) || defined(USE_FILAMENT_VULKAN)
#include "third_party/mujoco/google/filament/render_context_filament.h"
#include "experimental/filament/render_context_filament.h"
#elif defined(USE_CLASSIC_OPENGL)
#include "third_party/dear_imgui/backends/imgui_impl_opengl2.h"
#include <dear_imgui/backends/imgui_impl_opengl2.h>
#else
#error No rendering mode defined.
#endif