[Bf-committers] game engine without visual

P2sta p2sta at atlas.cz
Wed Apr 25 12:07:42 CEST 2012


Thanks for answer,

uhm, can you please expline me the second possibility you wrote a bit 
more. I'm not really sure I do understand what to do.

Thanks,

Zbyněk

Dne 24.4.2012 22:06, Campbell Barton napsal(a):
> Hi. there are a few ways you could that this,
>
> we have headless build option for ghost. - in cmake its WITH_HEADLESS,
> this builds a blender which does not link with X11 (or do any
> windowing).
>
> You could look at enabling this build flag and then adding ifdef's in
> the BGE to comment out drawing code.
>
>
> Another way would be to use G.background (or some BGE variable
> initialized from G.background) and have the BGE check for background,
> this has the advantage that you wouldn't need  a custom build to take
> advantage of the feature.
>
>
> On Wed, Apr 25, 2012 at 4:26 AM, P2sta<p2sta at atlas.cz>  wrote:
>> Hello,
>>
>> I would like to know if it's possible to make the game run on the
>> background (without any visual part). I mean when I hit start game
>> button, I need only a physics to make collision detection, no rendering.
>>
>> Can anybody help me wtih that or at least give me some tips how to get
>> this done?
>>
>> Thanks in advance,
>>
>> Zbyněk
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
>


More information about the Bf-committers mailing list