SEED - Known bugs: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (fix link)
m (use template)
Line 27: Line 27:
The Model Generator can take up to 1/3 of a second to rebuild complex models. 95% of that time are spent in the closed source parts of the engine. A workaround will be implemented for v1.04 by completely redesigning the model generator.
The Model Generator can take up to 1/3 of a second to rebuild complex models. 95% of that time are spent in the closed source parts of the engine. A workaround will be implemented for v1.04 by completely redesigning the model generator.


== See also ==
{{seed}}
 
* [http://bugs.angua.at/view_all_bug_page.php Bugtracker]
* [[LOD|LOD System]]
* [[SEED]] - System for Environmental Entity Distribution
* [[SEED - Usage]] - Example on how to use SEED in real-map scenarios
* [[SEED - Falloff function]] - How to use "falloff" "func" to get more complicated distribution patterns
* [[SEED - FAQ]]
 
{{editing}} {{scripting}}

Revision as of 08:41, 1 February 2011

Introduction

The new SEED system can generate entities for you, in random or image-map based distributions, with random rotations and more. This page lists a few of the know bugs and not-yet-completed features:

Rotating

It is not possible to arbitrarily rotate the seed inside DR. The only way to rotate the SEED shape is by adding an "angle" spawnarg on the SEED.

To find out the value of "angle", rotate the SEED inside DR until it fits, then rotate it back and set the angle spawnarg accordingly.

Density and Entity Count

The calculation of the entity based on the density does not take into account the area of inhibitors. Instead it always assumes that all entities are distributed evenly across the entire space.

This means adding inhibitors to one space of the seed will redistribute the inhibited entities to the other spaces, not just suppress them. Or in other words, if a given density will produce 100 entities inside the SEED area, adding an inhibitor that suppresses the entities in one half, there will still be 100 entities in the other half of the area.

Workaround

For now you must manually lower the density when you change the distribution. This will likely get fixed soon, as this is very cumbersome, esp. with multiple inhibitors, which make the required calculation for the density adjustment non-trivial.

Crashes

The system currently (TDM v1.03) crashes when saving a mission, or when loading such a savegame. Also it can crash at the end of the game session. These are probably due to incorrect memory management (double free by the system itself, and then by the doom engine again). This has been fixed for TDM v1.04.

Model Regeneration takes too long

The Model Generator can take up to 1/3 of a second to rebuild complex models. 95% of that time are spent in the closed source parts of the engine. A workaround will be implemented for v1.04 by completely redesigning the model generator.