Re: [Bf-committers] View data?

2009-12-04 Thread Dalai Felinto
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 :
> 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
>>  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
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] View data?

2009-12-04 Thread Changhua Wu
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
>  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
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>   

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] View data?

2009-12-03 Thread Dalai Felinto
Really,
even if this list were a good place to ask those questions (which I
strongly believe that isn't) you will be better served in the Blender
Artists Forum.
If you want to use irc the #gameblender room is better to address
specific user questions too.

Cheers,
Dalai

http://blenderecia.orgfree.com

2009/12/3 joe :
> Well, what with the recent changes in the python api in the BGE, I
> think it's reasonable for people to ask questions about it.
>
> http://www.blender.org/documentation/249PythonDoc/GE/index.html
>
> Here's the API reference for the game engine.  I'd suggest asking
> further questions on irc://irc.freenode.net/blendercoders , though GE
> people seem to show up somewhat randomly so you might not always be
> able to get help.
>
> Joe
>
> On Thu, Dec 3, 2009 at 6:03 PM, José Ignacio  wrote:
>> On Thu, Dec 3, 2009 at 11:00 PM, Scott Wengenroth
>>  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
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] View data?

2009-12-03 Thread joe
Well, what with the recent changes in the python api in the BGE, I
think it's reasonable for people to ask questions about it.

http://www.blender.org/documentation/249PythonDoc/GE/index.html

Here's the API reference for the game engine.  I'd suggest asking
further questions on irc://irc.freenode.net/blendercoders , though GE
people seem to show up somewhat randomly so you might not always be
able to get help.

Joe

On Thu, Dec 3, 2009 at 6:03 PM, José Ignacio  wrote:
> On Thu, Dec 3, 2009 at 11:00 PM, Scott Wengenroth
>  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
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] View data?

2009-12-03 Thread José Ignacio
On Thu, Dec 3, 2009 at 11:00 PM, Scott Wengenroth
 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
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] View data?

2009-12-03 Thread Scott Wengenroth
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



___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers