Another 6 months later... and all recent work in the IDF rather than Arduino
Using partitions for world data / textures / sound has worked well and I've been able to set up multiple layer worlds at 2MB. Pointers haven't been a problem at all, reading the binary data and making large arrays and C ...
Search found 6 matches
- Sat Mar 22, 2025 4:58 pm
- Forum: ESP32 Arduino
- Topic: Fairly large (>64k) const arrays
- Replies: 9
- Views: 6442
- Thu Oct 24, 2024 7:33 am
- Forum: ESP32 Arduino
- Topic: Fairly large (>64k) const arrays
- Replies: 9
- Views: 6442
Re: Fairly large (>64k) const arrays
A few months later....
I took the plunge and set up partitions for my 3D world and textures independent of the code. I rewrote my world 'compiler' in node.js to take a .obj from Blender and make a structured binary that is self contained. As you say, 'finding' the partitions is easy from IDF. Of ...
I took the plunge and set up partitions for my 3D world and textures independent of the code. I rewrote my world 'compiler' in node.js to take a .obj from Blender and make a structured binary that is self contained. As you say, 'finding' the partitions is easy from IDF. Of ...
- Tue Jun 18, 2024 3:47 pm
- Forum: ESP32 Arduino
- Topic: Fairly large (>64k) const arrays
- Replies: 9
- Views: 6442
Re: Fairly large (>64k) const arrays
Thanks, I'll take a look at that, might be simpler than fatfs although that has the merit that it can be built on the host from 'normal' files.
I have managed to reproduce the error from a fairly minimal program. I took the arrays and then made repeated small routines to memcpy to malloc'd PSRAM ...
I have managed to reproduce the error from a fairly minimal program. I took the arrays and then made repeated small routines to memcpy to malloc'd PSRAM ...
- Mon Jun 10, 2024 7:01 pm
- Forum: ESP32 Arduino
- Topic: 12v variable analog output to esp32 s3 boards.
- Replies: 3
- Views: 2444
Re: 12v variable analog output to esp32 s3 boards.
Hi, don't know how 'old..er' your moto is, I've worked on electrics from 70s to 90s. Nothing CANBus at all. A few things I've run into:
1. It's not really 12V. If you've standard lead acid battery and alternator/charger it may reach nearly 14V, and on an old moto with a weak alternator and a big ...
1. It's not really 12V. If you've standard lead acid battery and alternator/charger it may reach nearly 14V, and on an old moto with a weak alternator and a big ...
- Sun Jun 09, 2024 7:24 pm
- Forum: ESP32 Arduino
- Topic: Fairly large (>64k) const arrays
- Replies: 9
- Views: 6442
Re: Fairly large (>64k) const arrays
Thanks, I've not managed to set a minimal fail code as yet.
World is set with arrays like this to set vertex coordinates, which is the largest array:
const Vec3f cvertices[NVERTS + 1] = { {0.f,0.f,0.f},// Dummy vertex to allow OBJ standard indexing
{40.000000f, 0.000000f, 90.000000f}, {50 ...
World is set with arrays like this to set vertex coordinates, which is the largest array:
const Vec3f cvertices[NVERTS + 1] = { {0.f,0.f,0.f},// Dummy vertex to allow OBJ standard indexing
{40.000000f, 0.000000f, 90.000000f}, {50 ...
- Tue May 28, 2024 8:55 am
- Forum: ESP32 Arduino
- Topic: Fairly large (>64k) const arrays
- Replies: 9
- Views: 6442
Fairly large (>64k) const arrays
Hi, first time posting after a fair bit of reading as a guest. I've done a fairly thorough search of ideas here and in other resources and not been able to find a solution or test to try.
I've written an open 3D world renderer in Arduino C (I appreciate Arduino is really C++ but code is struct ...
I've written an open 3D world renderer in Arduino C (I appreciate Arduino is really C++ but code is struct ...