Week 34 — Coding Projects
Core
Combine compute and rendering in one application.
- NumPy: Prototype the data flow on CPU first: simulation → transform → shading inputs.
- Metal: Build one app where a compute pass produces data consumed by a render pass — particle system, height field, or image post-process chain. · Reading: MBT — combining compute + graphics, resource sharing, render loop architecture.
- Vulkan: Integrated engine-style compute + graphics flow with render graph / pass structure. · Reading: Vulkan Book — render graph / pass structure / synchronization concepts.
- CUDA: Less natural for full graphics integration; use CUDA for a heavy compute stage with CPU/graphics handoff. · Reading: CUDA Book — interop or large compute subsystem patterns.
- Stretch: Add double buffering or frame-resource management. Add debug visualizations.
- Verify: Resource transitions/data flow are correct · Compute output visibly affects rendering · Architecture is clean, not ad hoc.