0
\$\begingroup\$

Making a 3d scene in my game(stereographic double projection). I was looking for a Direct X version of a LH or RH Matrix for oblique projection. Does directx have a function or will I have to make my own?

\$\endgroup\$
  • \$\begingroup\$ You question has a question mark, but no actual question. \$\endgroup\$ – Vaillancourt Jul 12 '17 at 13:43
  • \$\begingroup\$ It's still not clear what actual problem you're trying to solve here. Tell us what you're trying to do, not how you're trying to do it. \$\endgroup\$ – Maximus Minimus Jul 12 '17 at 19:55
2
\$\begingroup\$

DirectXMath doesn't have a function for computing stereo projection matrices in the standard library.

There is code for creating a stereo projection (right-handed) in the Windows 8.1 Store app Direct3D stereoscopic 3D sample in the Stereo3DMatrixHelper.h/.cpp files.

There is also a prototype of a stereo projection helper with additional controls which you can find on the DirectXMath GitHub as Stereo3DMatrixHelper.h / .cpp

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.