Thanks a lot! I'm trying to use the GetPicture()
Thanks a lot for answering me.
At the moment my app takes the snapshot only through a GDI device (without using the CortSDK), and that works properly, but I have to integrate this feature with Cortona SDK and I invoked GetBuffer(&pBuff, &nBytes, &nWidth, &nHeight, &nBPP) from I3DViewService4 and I tried to convert it to a HBITMAP. For some reasons, I get a black bitmap instead of the real snapshot.
This code is here: http://rafb.net/p/fO9rla29.html
Actually my task is very tricky. I'd like to generate jpg snapshots from every viewpoint, in a separate thread. First of all, is it possible? Can you recommend some general approach to this problem? It seems very hard to me, I don't know where to start.
Bye,
Andrea