Skip to content

Hykudoru/Pescado-Engine-Embedded-ESP32S3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A 3D Graphics Engine for the ESP32.

Version 2.0

Hardware

.OBJ Format

If using blender, Export > Wavefront (.obj). Make sure the exported options are selected:

Geometry

  • Scale: 1.0
  • Forward Axis: -Z
  • Up Axis: Y
  • Colors: True
  • Triangulated Mesh: True

Materials

  • Export: True

Instructions/Gotchas

  1. Make sure to select "Upload Filesystem Image" from the PlatformIO extension in VS Code. This will upload all the data/*.obj files to your ESP32 board.

  2. Copy and paste this code in setup() and run the program once. Comment it out or remove it after it succeeds for the first time.

    if (!SPIFFS.begin(true)) { Serial.println("Failed while mounting SPIFFS."); return; }

Note: When the program starts, if you still see a black screen after ~15 seconds you may need to try a few things. Option 1: Restart the device. Option 2: Disconnect it from your computer and use some other power source. Option 3: Open the serial monitor in VS code. Option 4: Pray.