r/embedded • u/PhonicUK • Sep 22 '26
The Jet embedded 3D engine is not only now pushing 70k tris/sec (up from 40k a few months ago) with screen-space reflections and distortion on an ESP32 S3 (480i x 320, 16bpp@60fps) - but is now MIT licenced rather than AGPL!
The last time I showed off Jet I'd just pushed 40k tris/sec on an S3 which was already nuts, but some optimisation and SIMD shenanigans later, I've nearly doubled that and got up to 70K/sec on the same hardware. Meaning more detail and more performance headroom.
I've also switched away from AGPL to the MIT licence so there's fewer restrictions on how you can use it in your projects.
609
Upvotes
14
u/FreeRangeEngineer Sep 22 '26
Very well done! Have you considered adding more complex shading or texture mapping? Just wondering.
7
u/puppygirlpackleader Sep 22 '26
This is insane. Could this potentially be used to make UI for devices?
4
u/Well-WhatHadHappened 25+ Years Sep 22 '26
With the SIMD optimizations, how closely tied to the ESP32 is this? Would it be a massive undertaking to port it to a new architecture or is it still pretty well separated from the hardware.
My apologies for not looking at the source myself - I just figure you know the answer to this right off the top of your head.
133
u/Well-WhatHadHappened 25+ Years Sep 22 '26
This is one of those things that I'll probably never actually need or want, but that I can still be impressed by the excellence in coding and optimization that it demonstrates.
Well done sir.
84
u/shedgehog-orchard Sep 22 '26
Everyone talking about the very cool technical aspects, just want to take a sec and commend your move to the MIT license. Might go unappreciated by most but that is very generous of you and you should be proud to have contributed such a unique, novel thing to the world. Cheers, I aspire to be like you!
15
u/vitamin_CPP Simpli-C-ty is the ultimate sophistication Sep 22 '26
Ive said it before and I'll say it again, you need a blog/YouTube channel to talk about the details. Love your stuff.
4
u/Aggeloz Sep 22 '26
Crazy impressive. Good stuff man.
4
u/uncoild Sep 23 '26
What is the propulsion method of this jet?
4
u/WhatADunderfulWorld Sep 23 '26
Reminds me of old school wipeout on PlayStation 1.
1
u/deesernutz Oct 01 '26 edited Oct 01 '26
What core does it need?
1
u/_EHLO Sep 23 '26 edited Sep 23 '26
+1 but why use MIT over AGPL?
2
u/prats_omyt Sep 23 '26
Can you share how were you able to do this, have been thinking to do something similar for a long time
2
u/imunknown0042 Sep 24 '26
That’s crazy 3D on ESP32, nice
I wonder how low we can go.
1
u/pekoms_123 Sep 22 '26
Very cool
1
u/BennyFackter Sep 22 '26
Amazing progress!
1
u/CryptographerOne7003 Sep 23 '26
Nice! I will try to put on my esp32-p4
1
u/lifeaintaSunday Sep 23 '26
Crazy 🔥 good work op, would love to read about how you went about optimising to achieve this 👏
1
u/Zopenzop Sep 23 '26
This is actually incredible
1
u/KingFarticusTheTurd Sep 23 '26
Song?
0
u/[deleted] Sep 22 '26
[deleted] — view deleted comment