Rasterizer.makeScreenshot()
http://www.blender.org/documentation/249PythonDoc/GE/Rasterizer-module.html

Or if this is to be used in the game you will need to use VideoTexture for that.

Cheers,
Dalai

http://blenderecia.orgfree.com

2009/12/4 Changhua Wu <[email protected]>:
> Hi,
>
> He is asking that is there a way to get A 2D  picture of the camera
> view. I took a look at the method in the camera class and did not find
> anyone suitable yet. Any advice?
>
> Changhua
>
> José Ignacio wrote:
>> On Thu, Dec 3, 2009 at 11:00 PM, Scott Wengenroth
>> <[email protected]> wrote:
>>
>>> If I have a Python script as a controller in the Game Logic for an object, 
>>> is there any way for that script to get data of, say, what a camera was 
>>> viewing?
>>>
>>> Wengenroth
>>>
>>>
>>>
>> Could you elaborate, please? also note this is not an user support
>> list, but a developers' forum.
>>
>> Thanks
>> _______________________________________________
>> Bf-committers mailing list
>> [email protected]
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to