forge-scene-renderer

Initialize a complete 3D scene with device, pipelines, and camera via forge_scene.h.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317 --skill forge-scene-renderer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forge-scene-renderer
Source: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/tree/main/.claude/skills/forge-scene-renderer
Command: npx skills add https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317 --skill forge-scene-renderer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up a complete 3D rendering scene from the forge_scene.h header-only library with a single init call, creating the GPU device, window, depth texture, shadow map, six graphics pipelines (shadow, scene, scene double-sided, grid, sky, UI), a quaternion FPS camera, and an optional immediate-mode UI system.

Core Features & Use Cases

  • Single-init scene creation that wires device, window, pipelines, and camera.
  • Shadow mapping, grid floor, sky gradient, and UI integration for interactive demos.
  • Configurable via ForgeSceneConfig with accessors to device, view-projection, and camera state for real-time rendering tutorials and experiments.

Quick Start

Call forge_scene_init once with a ForgeSceneConfig to initialize a complete 3D scene.

Frequently Asked Questions about forge-scene-renderer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a 3D real-time rendering scene with shadow mapping and an FPS camera?

Real-time rendering scene setup is achieved by calling forge_scene_init with a ForgeSceneConfig, which initializes the GPU device, window, depth texture, shadow map, pipelines, and quaternion FPS camera in one step.

What graphics pipelines are included in a complete forge_scene setup?

A complete forge_scene setup creates six graphics pipelines: shadow, scene, scene double-sided, grid, sky, and UI, all configured through a single initialization call.

Can I integrate an immediate-mode UI into a real-time rendering demo using forge_scene?

Immediate-mode UI integration is supported through the optional UI system wired by forge_scene_init, allowing interactive demos to render UI assets alongside grid floors and sky gradients.

Do I need external dependencies to create a 3D scene with forge_scene.h?

No external dependencies are required; the header-only forge_scene.h library manages host-managed resources for uploaded geometry and initializes the complete 3D scene setup independently.

How do I configure a quaternion FPS camera for a 3D rendering tutorial?

Quaternion FPS camera configuration is handled via the ForgeSceneConfig structure passed to forge_scene_init, providing accessors to camera state and view-projection matrices for real-time rendering tutorials.

What's the best way to initialize a shadow map and depth texture for a 3D scene?

Shadow map and depth texture initialization is handled automatically by forge_scene_init, creating a complete 3D scene setup with shadow mapping, grid floors, and sky gradients from a ForgeSceneConfig.