SEED - Combining entities: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
add
 
Tels (talk | contribs)
add link
Line 1: Line 1:
== Introduction ==
== Introduction ==


{{red|TODO}}
The '''SEED''' (System for Environmental Entity Distribution) was created by Tels in Summer 2010 and can either create entities at random places (depending on underground, height, distribution patterns and so on), or manage manually placed entities.
 
In both cases there are usually a lot of entities placed in a map. To improve the performance, the system can also combine entities and this page describes how that works.


== How it works ==
== How it works ==
Line 10: Line 12:


# The number of maximal tris/indexes is hardcoded into the source code and cannot be changed.
# The number of maximal tris/indexes is hardcoded into the source code and cannot be changed.
# The maximum distance of entities to be combined can be changed with the spawnarg '''combine_distance'''
# The maximum distance of entities to be combined can be changed with the spawnarg [[SEED - Spawnargs#combine_distance|'''combine_distance''']] on the SEED entity.


{{seed}}
{{seed}}

Revision as of 18:10, 8 February 2011

Introduction

The SEED (System for Environmental Entity Distribution) was created by Tels in Summer 2010 and can either create entities at random places (depending on underground, height, distribution patterns and so on), or manage manually placed entities.

In both cases there are usually a lot of entities placed in a map. To improve the performance, the system can also combine entities and this page describes how that works.

How it works

TODO

Parameters

  1. The number of maximal tris/indexes is hardcoded into the source code and cannot be changed.
  2. The maximum distance of entities to be combined can be changed with the spawnarg combine_distance on the SEED entity.