Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
2EyeGuy's avatar
2EyeGuy
Adventurer
13 years ago

The SDK is too object oriented

Admittedly, I don't have a Rift, and I'm trying to use the SDK blind. But I'm not really liking this SDK's structure, or the structure of the samples. It looks like it was designed to be complicated and hard to follow. Mostly because it's so object oriented.

If a developer wants to read the head-tracker, a simple SDK would have a single global function like this:

bool ReadHeadTracker(double &yaw, double &pitch, double &roll);
(and maybe versions for quaternions or D3D and OpenGL matrices)

which could be called at any time, perhaps even without initialisation.

And the samples currently have initialisation code spread all over the place.

It all seems needlessly complex.

27 Replies