Lorenzo Florentina
Lorenzo Florentina

Reputation: 11

Is it possible to add distortion to the display in the HMD with openvr?

I trying to change the barrel distortion coefficients for the HTC Vive to create a distortion in the HMD. Is OpenVR the best method to do this?

Upvotes: 0

Views: 216

Answers (1)

Krzysztof Bociurko
Krzysztof Bociurko

Reputation: 4661

The only thing I can suggest to you at this point is to search for OculusRiftEffect.

This is an old plugin for THREE.js that is now useless in normal use because it needed to show you the deformed view on your screen. In most application you don't want that, but you might want to show that to the students. The example was hardcoded to the lenses of Oculus Rift DK2 (or DK1 if you uncomment some stuff inside), but the optics don't differ that much and the effect should be even more visible.

It is removed from their current version, so check out old THREE.js revisions or some stale demos on the internet, and you'll find something. Search something around 3 years back.

Upvotes: 0

Related Questions