How do you take a screen shot?

Hi.
Does anyone know how to take screen shots of your game?

I am sure it can be done from viewing the Galleries.
The function I am looking for is the equivalent of F9 in ToonTown.

Thanks.

Press the “Prnt Scrn” (Print Screen) key on your keyboard. Then, open any image editing application and click the paste button (Ctrl-V).

The Print Screen key copies what’s on your screen to the clipboard.

I’m not sure if there’s a shortcut to take a screenshot built into Panda.

I supose you could render everything to 2d, then save the image. But I have no idea how that would look like exactly.

Thanks a millions Artofwot.
It works fine.
For some reason I have never been able to get PrtScr to work … till now.
(so the trick is the screen shot is kept in the clipboard, Ahhh I see)
slaps the head
Cool.

I have always used the printscreen key, but ShowBase does have a screenshot function. You can call base.screenshot(‘namePrefix’).

This in turn calls a GrpahicsWindow saveScreenShotDefault function, which uses parameters that you will need to define in the config file:

You could also use base.win.saveScreenshot(Filename). Make sure that Filename is an actual Filename() instance. You will probably need to include the file extension in that, but I am not sure what graphic file types panda supports.