stalgiag / p5.xr

a library that helps turn p5.js sketches into immersive experiences using WebXR
GNU Lesser General Public License v2.1
117 stars 25 forks source link

Feat/p5mr #207

Closed TiborUdvari closed 6 months ago

TiborUdvari commented 7 months ago

I created p5mr in addition to p5ar and p5vr. I find that the modern headsets have rendering more similar to how the p5vr functions at the moment.

I think this might be an anti-pattern as far as the web goes, for progressive enhancement, but it might be the way to go for a p5 wrapper.

Do you have any thoughts on what would be a good way to handle these types of headsets/devices with passthrough?

stalgiag commented 7 months ago

This is exciting. I do worry about accidentally creating a situation where every new hardware development suggests a new path. I almost feel that the distinction between vr, ar, and mr don't make sense anymore and all of these paths can be merged into a single mixed reality path with progressive enhancement based on supported features as you suggest. The full MR feature set supports all of the features of both VR and AR and this is the most likely headset hardware paradigm moving forward.

TiborUdvari commented 6 months ago

I think so as well, it makes more sense to have a single p5xr object that handles the different use cases and enables features based on availability. I'm wondering what would be an effective way to transition to a new interface without possibly affecting older sketches. I think I will open an issue to address this to see how to best proceed.

TiborUdvari commented 6 months ago

Closing as #215 makes more sense for the project.