1 of 1 people found this helpful
I believe that the correct process is to make the instruction 'SetPause' = true so that playback of the file pauses at a certain frame. Whilst playback is paused, data can be acquired for that particular frame.
As well as making SetPause true, also make the instruction 'SetRealTime' = false.
Get the frame's data with the 'AcquireFrame' instruction. When you are ready to move on to another frame, use the 'ReleaseFrame' instruction to un-pause.
Here's a guide to recording and playback. At the very bottom of the page is a script that uses all of the above functions to demonstrate how they work together.
Okey, thats very useful,, thank you!
But i still have a doubt. When i take one frame after using Setpause=true, and i want to work with it, do you know which commands do i have to use to get the information of the frame, the depth parameter or the rgb info of each pixel for example?
I would guess that once the frame is paused, then you would use the usual depth and color commands such as QueryVertices, MapDepthToColor, MapColortoDepth, ProjectDepthToCamera, etc, and the camera would provide the information about the current frame that it is paused on.
Great, thank you very much!
You're very welcome! Please come to the forum any time you need to. Good luck!