利用者:Sculptorjim/Game Engine/World

提供: wiki
< 利用者:Sculptorjim‎ | Game Engine
2018年6月29日 (金) 05:47時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

World

BGE World Panel (fully expanded)

World settings enable you to set some basic effects which affect all scenes throughout your game, so giving it a feeling of unity and continuity. These include ambient light, depth effects (mist) and global physics settings. These effects are a limited subset of the more extensive range of effects available with the Blender renderer (see Doc:2.6/Manual/World|World)

Blender3D FreeTip.png
While world settings offer a simple way of adding effects to a scene, compositing nodes are often preferred, though more complex to master, for the additional control and options they offer. For example, filtering the Z value (distance from camera) or normals (direction of surfaces) through compositing nodes can further increase the depth and spacial clarity of a scene.
{{{2}}}


World

These two color settings allow you to set some general lighting effects for your game.

Horizon Color
The RGB color at the horizon ; i.e. the color and intensity of any areas in the scene which are not filled explicitly.
Ambient Color
Ambient light mimics an overall background illumination obtained from diffusing surfaces (see Ambient Light, Exposure and Ambient Occlusion). Its general color and intensity are set by these controls.


Mist

Mist can greatly enhance the illusion of depth in your rendering. To create mist, Blender makes objects farther away more transparent (decreasing their Alpha value) so that they mix more of the background color with the object color. With Mist enabled, the further the object is away from the camera the less it's alpha value will be. For full details, see Mist.

Mist check box
Toggles mist on and off
Start
The starting distance of the mist effect. No misting will take place for objects closer than this distance.
Depth
The depth at which the opacity of objects falls to zero.

Game Physics

The Game Physics located in the World panel determine the type of physical rules that govern the game engine scene, and the gravity value to be used. Based on the physics engine selected, in physics simulations in the game engine, Blender will automatically move Actors in the downward (-Z) direction. After you arrange the actors and they move as you wish, you can then bake this computed motion into fixed Ipo curves (see Logic actors for more info).

Physics Engine
Set the type of physics engine to use.
Bullet
The default physics engine, in active development. It handles movement and collision detection. The things that collide transfer momentum to the collided object.
None
No physics in use. Things are not affected by gravity and can fly about in a virtual space. Objects in motion stay in that motion.
Gravity
The gravitational acceleration, in units of meters per squared second (m.s-2), of this world. Each object that is an actor has a mass and size slider (see Object Physics section).
In conjunction with the frame rate (see Render section), Blender uses this info to calculate how fast the object should accelerate downward.
Physics Steps
Max
Sets the maximum number of physics steps per game frame if graphics slow down the game. higher value allows physics to keep up with realtime.
Substeps
Sets the number of simulation substeps per physics timestep. Higher value give better physics precision.
FPS
Set the nominal number of game frames per second. Physics fixed timestep = 1/fps, independently of actual frame rate.
Logic Steps Max
Sets the maximum number of logic frame per game frame if graphics slows down the game, higher value allows better synchronization with physics.
Occlusion Culling
Use optimized Bullet DBVT for view frustum and occlusion culling.
Resolution
The size of the occlusion buffer in pixel, use higher value for better precision (slower).


Obstacle Simulation

Simulation used for obstacle avoidance in the Game Engine, based on the RVO (Reciprocal Velocity Obstacles) principle. The aim is to prevent one or more actors colliding with obstacles. Reference: User:Nicks/Gsoc2010/Docs

Type
RVO (cells)
RVO (rays)
None