+++ /dev/null
-#ifndef MSP_VR_OCULUSRIFTCOMBINER_H_
-#define MSP_VR_OCULUSRIFTCOMBINER_H_
-
-#include <msp/gl/mesh.h>
-#include <msp/gl/program.h>
-#include <msp/gl/programdata.h>
-#include <msp/gl/view.h>
-#include <msp/vr/stereocombiner.h>
-
-namespace Msp {
-namespace VR {
-
-class OculusRiftSystem;
-
-/**
-Presents a stereo view in a way suitable for an Oculus Rift HMD. All distances
-are specified in multiples of the screen width.
-*/
-class OculusRiftCombiner: public StereoCombiner
-{
-private:
- struct Frustum;
-
- OculusRiftSystem &device;
- GL::View &view;
- GL::Mesh left_mesh;
- GL::Mesh right_mesh;
- GL::Program shprog;
- mutable GL::ProgramData left_shdata;
- mutable GL::ProgramData right_shdata;
-
-public:
- OculusRiftCombiner(OculusRiftSystem &, GL::View &);
-
- virtual void prepare() const;
- virtual void render(const GL::Texture2D &, const GL::Texture2D &) const;
-};
-
-} // namespace VR
-} // namespace Msp
-
-#endif