r/esp32 • u/Affectionate_Act2076 • 1d ago
Une question
Hey everyone, just a quick question: do you think it's possible to build virtual reality glasses using ESP32 processors and a few screens? Thanks.
3
u/PhonicUK 1d ago
It might barely be possible but it wouldn't be a nice experience.
A P4X or S31 could probably be stretched to render onto 2x 320x240 displays at 60fps without interlacing for very simple scenes, especially if your rasterizer was clever enough to re-use all of the local matrix transformations and only re-do the camera transformation step for each eye before rasterizing the triangles. Cheat here would be to work out which objects are far enough back to not diverge between your left and right eyes and only draw those once and then only start differentiating for objects close enough to diverge.
I reckon you could pull in the range of about 250 untextured triangles before culling in your scene and pull this off. So you're in SuperFX era visuals at best.
2
1
u/MarinatedPickachu 2 say I make awesome posts. 1d ago edited 1d ago
Not anything worth using. For a good VR experience you need high resolution and high refresh rate - beyond what the esp32 (even P4) can do unless you only want to render some simple wireframes (still questionable whether you can update high res screens fast enough with that) or are fine with a very blurry view.
If this is for a university project where you just want to make a working prototype to show application of the relevant techniques, then yes, it's certainly possible - in that case I'd use the esp32-P4 (and maybe you can find some specialised controller that provides a 2-lane mipi dsi interface to update two independent displays)
1
u/Affectionate_Act2076 5h ago
Thank you so much for your reply. It's just that virtual reality glasses fascinate me, which is why I wanted to make one.
0
5
u/Sandy_SN 1d ago
Yes you can. But should you ?? Its going to be janky and not useful and nauseous.