Crystal Space
Welcome, Guest. Please login or register.
July 29, 2014, 08:23:18 pm

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8254 Members
Latest Member: Natashascott
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Game Content Creation
| | |-+  generate an image of every frame generated
« previous next »
Pages: [1] Print
Author Topic: generate an image of every frame generated  (Read 1171 times)
Theai
Newbie
*
Posts: 1


View Profile Email
« 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!!!!!!!!!!!!!!!!!!!
Logged
Pages: [1] Print 
« previous next »
Jump to:  

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