I had a question, I ve run simple 1 and 2 examples successfully.
I want to take images of the rendered output, how can i do that. I
need those images for the input into an algorithm which will guide the
camera in the map .
got a reply: You could check the source code of the bugplug utility plugin in plugins/utilities/bugplug.
It has a screenshot function from which you can easily see how to get the contents of
the screen in an image that you can then manipulate or use.
Now I ask that ive tried that bugplug function but it makes my application stall or stuck.
i want to capture every frame that it generated.Basically im simulating my robot which will find optical flow between each frame.So i need the two consecutive frames in the memory i dont want to save them. How can i convert the
csRef<iImage> img (csPtr<iImage> (G2D->ScreenShot ()));
This means the current frame! right?
if this gets me the current screen shot then how can i convert this iImage into a usable image for example an 8bit 3 channel image.