I need a C++ module that displays images using the nVidia 3DVision system under Vista/Windows 7. It will take a stereoscopic image and display it so that the 3DVision system activates and displays it correctly (in 3D) fullscreen. Please do not bid if you are unable to test this.
The C++ module must be in the form of a C++ object. It must support the following prototype functions
extern bool DirectXLaunch(long xRes, long yRes); //where xRes and yRes are the desired screen resolution
extern bool DirectXPutImage(unsigned char* imgBytes, long width, long height, long stride);
extern <type> DirectXGetEvent(); //this will check for keypress or mouse events and return them in an appropriate manner.
extern bool DirectXClose();
Pseudo code for displaying an image would be:
DirectXPutImage(image, 640, 480, 1920);
event =? DirectXGetEvent();
while(event != event_close);
The code should be well commented and free of bugs including memory leaks. The required libraries for compilation must be clearly specified.
The routines must be provided as a standalone object (cpp file and header). Code should be commented. Dependencies must be clearly specified. It must not make use of WTK/ATL.
it must not contain any GPL'd or LGPL'd code.
Code must compile in Visual C++ Express 2008. Standards compliant code is preferred. The object must be provided with a simple test program to prove functionality.