MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / _render_warmup_frames

Function _render_warmup_frames

tools/render/render_episode.py:1184–1198  ·  view source on GitHub ↗
(
    world: Any,
    *,
    frame_count: int,
    step_physics: bool,
    physics_steps_per_render: int,
    cameras: Mapping[str, Any],
)

Source from the content-addressed store, hash-verified

1182
1183
1184def _render_warmup_frames(
1185 world: Any,
1186 *,
1187 frame_count: int,
1188 step_physics: bool,
1189 physics_steps_per_render: int,
1190 cameras: Mapping[str, Any],
1191) -> None:
1192 for _ in range(max(0, int(frame_count))):
1193 _render_frame(
1194 world,
1195 step_physics=bool(step_physics),
1196 physics_steps_per_render=int(physics_steps_per_render),
1197 )
1198 _prime_camera_buffers(cameras)
1199
1200
1201def _force_renderer_flush(

Callers 1

mainFunction · 0.85

Calls 2

_render_frameFunction · 0.85
_prime_camera_buffersFunction · 0.85

Tested by

no test coverage detected