Crystal Space
Welcome, Guest. Please login or register.
December 21, 2014, 03:26:59 pm

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9297 Members
Latest Member: Adrihjapa
* 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.

Greetings,


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 2.331 seconds with 16 queries.