User Tools

Site Tools


gamedev:propfields

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gamedev:propfields [2009/04/17 00:22] – created dragonlordgamedev:propfields [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
-====== Spam Props with Prop Fields ======+{{tag>dragengine graphic field instanciation}} 
 +<WRAP youarehere> 
 +[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> **Prop Fields** 
 +</WRAP> 
 Large outdoor sceneries are no more uncommon in games. Rich outdoor sceneries though require a lot of smaller plants and props laying around on the ground interacting with wind and actors walking through to be believable and up to a standard level of graphic details players grew accustomed to. Placing large numbers of props though using Components is very slow since they are rather heavy weight. In addition such scenery props are usually redundant which means that they are not required for the game mechanics to work but are there only to enrich the player experience. Especially players with weaker computers wish to reduce the complexity of such background scenery elements to improve framerate since after all the game play is important. To cater for all these goals the Drag[en]gine supports so called "Prop Fields". A prop field is as the name suggests a field of redundant props. These fields can contain large numbers of props while still producing a good frame rate. In addition props in a prop field are influenced by [[gamedev:forcefields|Force Fields]] allowing them to wiggle under the influence of wind or other forces. Due to the high performance requirements the way prop fields work is slightly different than the way other world elements work. Large outdoor sceneries are no more uncommon in games. Rich outdoor sceneries though require a lot of smaller plants and props laying around on the ground interacting with wind and actors walking through to be believable and up to a standard level of graphic details players grew accustomed to. Placing large numbers of props though using Components is very slow since they are rather heavy weight. In addition such scenery props are usually redundant which means that they are not required for the game mechanics to work but are there only to enrich the player experience. Especially players with weaker computers wish to reduce the complexity of such background scenery elements to improve framerate since after all the game play is important. To cater for all these goals the Drag[en]gine supports so called "Prop Fields". A prop field is as the name suggests a field of redundant props. These fields can contain large numbers of props while still producing a good frame rate. In addition props in a prop field are influenced by [[gamedev:forcefields|Force Fields]] allowing them to wiggle under the influence of wind or other forces. Due to the high performance requirements the way prop fields work is slightly different than the way other world elements work.
  
Line 7: Line 11:
 ====== Physics ====== ====== Physics ======
 The physics module also obeys to the commands of the graphic module in this situation but has its own means to control performance. For each prop field a set of **Bending States** are maintained. These bending states are created by the physics module depending on how accurate it can or wants to simulate the physical interactions of prop fields with force fields or other world elements getting in contact. Each instance is assigned to a bending state. Therefore usually a group of instances is controlled by the same bending state which improves performance. Once set up the physics module drives the bending states which in turn then are used by the graphic module to render the instances. The physics module also obeys to the commands of the graphic module in this situation but has its own means to control performance. For each prop field a set of **Bending States** are maintained. These bending states are created by the physics module depending on how accurate it can or wants to simulate the physical interactions of prop fields with force fields or other world elements getting in contact. Each instance is assigned to a bending state. Therefore usually a group of instances is controlled by the same bending state which improves performance. Once set up the physics module drives the bending states which in turn then are used by the graphic module to render the instances.
- 
-====== Links ====== 
-  * [[gamedev:main|Game Development Informations]] 
-  * [[:start|Main page]] 
gamedev/propfields.1239927734.txt.gz · Last modified: 2009/04/17 00:22 by dragonlord