WayneKeenan / python-vrzero

VR on the Pi, in Python
86 stars 20 forks source link

Use OpenHMD provided proj/view matrix #15

Open TheOnlyJoey opened 3 years ago

TheOnlyJoey commented 3 years ago

Ohai!

I was playing around with VRZero a bit and realized that it only uses the rotational information from OpenHMD. By using the provided Projection and View matrices, you will get correct rotation and position information, while also getting IPD and some lens information for more correct rendering.

As OpenHMD is getting more positional devices, and Raspberry Pi's are getting better specs, My goal is to get the current DK2/CV1 positional tracking (https://github.com/thaytan/OpenHMD/tree/rift-kalman-filter) working on Pi4. If the projection and view matrices are used, that tracking would work out of the box with VRZero, which would be great for demo's and prototyping!

Thanks

WayneKeenan commented 3 years ago

That would be very cool. Not sure if that’s just a suggestion or you just volunteered? :D But you’re right either way .

TheOnlyJoey commented 3 years ago

Its more a open question i guess haha, i am currently limited on time so i guess a suggestion at this point, but volunteering if it has not happened in a while? XD