Crystal Space
Welcome, Guest. Please login or register.
September 20, 2017, 05:43:17 pm

Login with username, password and session length
Search:     Advanced search
9054 Posts in 2047 Topics by 73780 Members
Latest Member: Nicolanicola881
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Game Content Creation / generate an image of every frame generated on: August 03, 2010, 10:46:50 pm
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 .

Help pls

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.
Help PLS!!!!!!!!!!!!!!!!!!!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.923 seconds with 17 queries.