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
+1 -1
View File
@@ -18,7 +18,7 @@
#include <string>
#include <unordered_map>
#include "third_party/dear_imgui/imgui.h"
#include <dear_imgui/imgui.h>
#include <mujoco/mujoco.h>
namespace mujoco::toolbox {
+2 -2
View File
@@ -21,8 +21,8 @@
#include <type_traits>
#include <unordered_map>
#include "third_party/dear_imgui/imgui.h"
#include "third_party/dear_imgui/imgui_internal.h" // For ButtonEx and PressedOnClick
#include <dear_imgui/imgui.h>
#include <dear_imgui/imgui_internal.h> // For ButtonEx and PressedOnClick
#include <mujoco/mujoco.h>
namespace mujoco::toolbox {
+1 -1
View File
@@ -15,7 +15,7 @@
#include "experimental/toolbox/interaction.h"
#include <algorithm>
#include "third_party/dear_imgui/imgui.h"
#include <dear_imgui/imgui.h>
#include "experimental/toolbox/imgui_widgets.h"
#include "experimental/toolbox/physics.h"
#include "experimental/toolbox/renderer.h"
+10 -10
View File
@@ -17,16 +17,16 @@
#include <string>
#include <string_view>
#include "third_party/SDL2/include/SDL.h"
#include "third_party/SDL2/include/SDL_error.h"
#include "third_party/SDL2/include/SDL_events.h"
#include "third_party/SDL2/include/SDL_hints.h"
#include "third_party/SDL2/include/SDL_syswm.h"
#include "third_party/SDL2/include/SDL_version.h"
#include "third_party/SDL2/include/SDL_video.h"
#include "third_party/dear_imgui/backends/imgui_impl_sdl2.h"
#include "third_party/dear_imgui/imgui.h"
#include "third_party/implot/implot.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_error.h>
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_hints.h>
#include <SDL2/SDL_syswm.h>
#include <SDL2/SDL_version.h>
#include <SDL2/SDL_video.h>
#include <dear_imgui/backends/imgui_impl_sdl2.h>
#include <dear_imgui/imgui.h>
#include <implot/implot.h>
#include "experimental/toolbox/helpers.h"
#include <mujoco/mujoco.h>
+1 -1
View File
@@ -19,7 +19,7 @@
#include <string_view>
#include "experimental/toolbox/helpers.h"
#include "third_party/SDL2/include/SDL_video.h"
#include <SDL2/SDL_video.h>
namespace mujoco::toolbox {