logo

ESP32 3D animator [1/2]

tobozo

tobozo

9 followers

time2 yr agoview5 views

This project idea came after stumbling upon the wonderful tinyraytracer library (see credits) and discussing the matter on esp32 gitter.

Adding the animation only came after discovering the also wonderful tiniJPEG library.

Both libraries required some modifications in order to use the psram (code will be published on request).

Even though the ESP32 has a lot of RAM, it wasn't enough to do JPEG encoding and raytracing.

Since it's obviously not enough to do realtime animation, storing the rendered images as jpeg files on the sdcard seems the right way to go.

The video capture begun at the end of the rendrering (30 frames ~=5mn).

tinyraytracer: https://github.com/ssloy/tinyraytracer tinyjpeg: https://github.com/serge-rgb/TinyJPEG ESP32-Wrover-Kit v4.1: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/get-started-wrover-kit.html Source: https://github.com/tobozo/ESP32-Raytracer

Loading comments...