Sunday, January 12

Coder crafts smooth 3D graphics engine from scratch, runs it on DIY GPU

videobacks.net

Serving for over .

indicates and you can rely .

Why it matters: In world by effective GPUs from and , one -taught is showing that it' possible to develop remarkable from scratch. has actually launched an extremely smooth 3D that on a little GPU powered by an Espressif ESP32-S3 microcontroller.

This isn' Fish's very first into homebrew graphics. He at first “Pescado” engine in WebGL for browsers, then ported it to OpenGL for PC graphics . Accomplishing smooth 3D rendering on a low- microcontroller is a considerable leap.

Fish's engine, called “ESPescado” for the ESP32 , is totally utilizing and OpenGL. He produced the vector, matrix, and rendering from scratch. As Fish discusses, “the and happen in 3D, however when showing the on a , just 2D can be outlined.”

ESPescado utilizes of to flatten the 3D into 2D for the screen.

It's rather responsive. Thanks to the ESP32's dual- , Fish's can manage physics and processing at 700 2nd on one core, while the other core concentrates on efficiently rendering wireframes at 40 .

The itself is a 's : a 1.9-inch, 320 160 pixel screen surrounded by ESP32 brains, coupled with external joysticks that permit complete 3D . One even connects to your finger for an immersive . An supplies input for changing the in- .

See: FuryGPU is an source hardware GPU constructed from scratch

the , ESPescado uses the basic 3D of meshes, vertices, and matrices. Meshes, built from triangles of points and lines, the items and seen in game. The engine can then use improvements like , turning, and placing to put these meshes in the virtual 3D world.

A demonstration showcases ESPescado in , with Fish controling an easy triangular item versus a . It uses a fundamental insight into the engine's , showing that even the most basic 3D graphics can be established from very first concepts.

For tinkerers and of 3D mathematics, Fish's task supplies a remarkable peek into the core behind 3D engines. Both the ESP32 “ESPescado” variation and the initial OpenGL “Pescado” have actually been launched on for anybody to and build on.

ยป …
Learn more

videobacks.net