ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Re: [snapshot] Taking snapshot through SDK
Sender: Andrea B 6.07.07 05:26
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

 


[snapshot] Taking snapshot through SDK / Andrea B / 4.07.07 07:07
     Re: [snapshot] Taking snapshot through SDK / nalex@parallelgraphics.com / 4.07.07 07:32
         Re: [snapshot] Taking snapshot through SDK / Andrea B / 5.07.07 07:48
             Re: [snapshot] Taking snapshot through SDK / nalex@parallelgraphics.com / 5.07.07 08:38
                 Re: [snapshot] Taking snapshot through SDK / Andrea B / 6.07.07 05:26
                     Re: [snapshot] Taking snapshot through SDK / nalex@parallelgraphics.com / 6.07.07 06:42
                     Re: [snapshot] Taking snapshot through SDK / nalex@parallelgraphics.com / 6.07.07 06:37

Messages in thread: 7


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.