pub fn render_pixels(
scene: &SceneGraph3D,
cam: &Camera,
width_px: u32,
height_px: u32,
) -> PixelBufferAvailable on crate features
raster-png and raster only.Expand description
Rasterize scene under cam into a width_px x height_px PixelBuffer
(Task 14) via the SAME grid::draw_scene core the Tier-0 braille
rasterize calls — near-plane clip, painter’s depth sort, triangle
fill, integer Bresenham struts and Node3 discs (review MAJOR 3), only
the target resolution differs — then read the buffer out directly as
Rgb per pixel (no braille composition — Tier-1 is raw pixels, and no
glyph banner: a pixel plate has no text cells). Pure function of
(scene, cam, width_px, height_px) — byte-exact golden-testable.