Hello :).
I’m testing BGE a little, and i want to know how it’s possible to take a screenshot (dump screen) in game, also, i want to know how to change the FOV of a camera.
Thank you.
Hello :).
I’m testing BGE a little, and i want to know how it’s possible to take a screenshot (dump screen) in game, also, i want to know how to change the FOV of a camera.
Thank you.
makeScreenshot(filename)
Saves a screenshot to the filename.
filename:
Type: string
Note:
The image format (jpeg or png or bmp etc) the screenshot is saved as is set in Scene(F10). ie Buttons Window Menu >> Panels Scene(F10) >> Format Tab
Sample Code
# import Rasterizer
import Rasterizer
# save screenshot
Rasterizer.makeScreenshot(“myScreenshot”)
http://www.tutorialsforblender3d.com/GameModule/RasterizerModule.html