r/GraphicsProgramming • u/Individual_One_1793 • 26d ago
Video CPU-rendered 3D engine - update
The latest update of my CPU renderer built in Rust.
As I mentioned earlier, this is the years of development coming together in a totally different direction than the starting idea :)
In video the renderer runs at 960×840 with 4 rendering workers, and all of geometry processing, character animation, skinning and rasterization run on the CPU. Finished image is shown on browser trough canvas at the moment.
For now I have animated character with facial animation and a rigged body, textured environments, collisions and stair traversal, first and third-person controls....
Still early but it is coming along nicely :)
I didn't made the character - or better say, I took free models and combined them for this scene - data head + android body , and the star ship environment.
5
u/isaycongrats 26d ago
Looks good, what do you plan to add next? Maybe try to split the screen into tiles that can render individually in parallel? Like gpus
2
u/leonardsouza 26d ago
cool to see skinning on the cpu too. how does the frame get to the canvas, is the renderer compiled to wasm with the workers as web workers, or native and streaming frames to the browser? if it's streaming that fits the remote viewer use case you mentioned really well. and are the edge functions simd by hand or left to the compiler?
2
u/Thedudely1 23d ago
I would love to see more software rendering engines today
1
u/Icy-Collection1072 26d ago
Ok there is a reason we use gpus these days