Efficient Rendering

Use when building or speeding up visualization that renders 3D meshes, point clouds, skeletons/keypoints, or overlays onto video — especially offscreen/headless (EGL) rendering, differentiable rasterization in JAX, compositing renders over real camera footage, or anything that must align with a calibrated camera (intrinsics/extrinsics/distortion). Also use for the symptoms — "rendering is slow", "llvmpipe" / CPU GL fallback, "OffscreenRenderer slow", render is "upside-down" or "mirrored", overlay "doesn't line up with the video", blank/clipped renders, or an OOM in a rasterizer. Covers the OpenCV↔GL camera conventions, the two distortion strategies (undistort-the-image vs bake-distortion-into-vertices), GPU device probing and context reuse, chunked/checkpointed rasterizers, and the video-overlay pipeline. Pairs with the camera-model skill for the geometry API.

peabody124 Updated

File contents

peabody124/reproducible_agent_environment/tree/main/skills/efficient-rendering commit 7b83b617db

Frequently asked questions

npx skillmds@latest add peabody124/efficient-rendering