The post describes a project to render 3D graphics within a terminal emulator as a step towards creating a Wayland compositor that runs in the terminal. The author explores using OpenGL for 3D rendering and ncurses for terminal graphics handling. The process involves setting up a surfaceless OpenGL context for rendering, creating framebuffers, and attempting to display the results in the terminal. By experimenting with different buffer sizes and color handling techniques, the author aims to achieve a functional visualization of the 3D cube in ASCII or similar representations.
•1h 56m watch time
Sort: