Splat and Renderer Options¶
Options for photorealistic backgrounds and the non-default renderers. SplatOptions configures a Gaussian-splat
background rendered with gsplat and NyxSplatOptions one rendered with the Nyx path tracer; PCDOptions loads a
raw point cloud. RayTracerOptions and BatchRendererOptions are Eden's versions of Genesis' ray tracer and
Madrona batch renderer options. The sensors and rendering guide explains
when to use each renderer, and the scenes guide covers real-to-sim splat
scenes.
A camera shows the splat only when its CameraOptions.overlays declares a SplatComposite
(camera overlays).
Gaussian splats and point clouds¶
Gaussian-splat scene options (gsplat and Nyx) and point-cloud options.
Attributes¶
Classes¶
PCDOptions
¶
Bases: ConfigurableOptions
PCD options for Eden.
| PARAMETER | DESCRIPTION |
|---|---|
path
|
Path to the ply file, fetched from
|
local_dir
|
Where the file is cached. Unset, it is
|
assets_subdir
|
The subdirectory of the asset root that an unset
|
scale
|
Scale factor.
|
pos
|
Translation of the pcd.
|
quat
|
Rotation of the pcd (w, x, y, z).
|
multiplier
|
Per-splat radiance scale. Maps to
|
tint
|
Per-channel multiplicative tint applied on top of
|
attach_entity
|
Name of the entity whose pose drives this splat. Requires
|
attach_link
|
Optional link name on
|
Source code in eden/options/options.py
SplatOptions
¶
Bases: DynamicConfigurableOptions
Gaussian-splat options for Eden, consumed by :class:~eden.envs.splat.SplatEnvBase (non-RL) and
:class:~eden.envs.splat.SplatRLEnvBase (RL).
The one gsplat backend (:class:~eden.utils.batch_splat_renderer.BatchSplatRenderer),
composited over the sim pass by segmentation mask. There is no sh_degree field (SH is
read from each PLY) and no bg_color field (the background is the composite, not a fill).
Shadows that sim objects cast on the background entities are carried onto the splat per camera,
with the shadow_strength of the camera's SplatComposite overlay.
Nyx is the separate path-traced backend (:class:NyxSplatOptions).
Which camera renders each view is selected by camera_mode — :class:~eden.entities.camera.SplatCamera
renders one env-invariant pose and broadcasts it (cheap; a fixed camera over a shared
background), :class:~eden.entities.camera.BatchSplatCamera renders every env's camera
(needed for an attached/following camera or per_env_gaussians).
| PARAMETER | DESCRIPTION |
|---|---|
per_env_gaussians
|
The shared / per-env Gaussian switch.
|
minibatch
|
Chunk size over the env/view axis, bounding peak VRAM (gsplat evaluates view-dependent SH
per rendered view).
|
camera_mode
|
How each splat camera renders.
|
Source code in eden/options/options.py
Attributes¶
NyxSplatOptions
¶
Bases: DynamicConfigurableOptions
Nyx-based splat rendering options.
Uses Nyx's native light field support to render gaussian-splat backgrounds inside the path
tracer, instead of the gsplat rasterize-and-segmentation-composite approach of
:class:SplatOptions.
| PARAMETER | DESCRIPTION |
|---|---|
spp
|
Samples per pixel for path tracing.
|
denoise
|
Whether to apply denoising.
|
near
|
Near clipping plane distance.
|
far
|
Far clipping plane distance.
|
max_pt_depth
|
Must stay
|
lights
|
Light definitions in Z-up coordinates. Each dict should have a "type" key ("point", "directional", or "spot") and type-specific parameters.
|
env_map_paths
|
Paths to HDR environment map textures.
|
tone_mapper
|
Name of the
|
exposure_compensation
|
Exposure, in EV, relative to unit exposure (a pixel shows the radiance it receives;
|
Source code in eden/options/options.py
Attributes¶
Functions:¶
Renderers¶
Renderer configuration options (ray tracer, madrona batch renderer).
Classes¶
RayTracerOptions
¶
Bases: RayTracer
Options for the ray-tracing renderer.
| PARAMETER | DESCRIPTION |
|---|---|
env_surface
|
Environment surface.
TYPE:
|
env_radius
|
Environment radius.
TYPE:
|
env_pos
|
Environment position. |
env_euler
|
The euler angles of the environment, in degrees. |
lights
|
List of lights. Each light is a dictionary with keys: ['pos', 'color', 'intensity', 'radius']. - 'pos': array-like[float, float, float] - 'color': array-like[float, float, float] - 'intensity': float - 'radius': float
TYPE:
|
BatchRendererOptions
¶
Bases: BatchRenderer
Options for the gs-madrona batch renderer, with declarative scene lights.
Madrona renders ambient-only until lights are added (cameras come out
near-black), and it bakes the light count at scene.build() time — so
lights must be registered via gs.Scene.add_light before the build.
The raw genesis gs.renderers.BatchRenderer has no lights field, so
this eden subclass carries them declaratively (mirroring
:class:RayTracerOptions.lights); :class:eden.envs.base.EnvBase applies
them right after scene creation.
| PARAMETER | DESCRIPTION |
|---|---|
lights
|
One kwargs dict per
TYPE:
|