Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
marius's avatar
marius
Honored Guest
12 years ago

DK2 distortion parameters

My project uses raycasting and I need every flop :-/

So with DK1 I "pre-distort" the rays to make every one count and need no post-process distortion.
This ray "pre-distort" uses the distortion params, e.g. [1.0, .22, .24]

Is there a way to get those parameters for the DK2?
I browsed through the apis and source but so far haven't found them.

-marius

1 Reply

  • owenwp's avatar
    owenwp
    Expert Protege
    DK2 (or even DK1 with the new SDK) doesnt use spherical distortion. Its a much more in depth optical model that includes the exact position of each eye, with quite a few variables.

    I think there is an SDK function to generate the UVs for people who make their own mesh/lookup texture, you could probably work backwards from that.