View Issue Details

IDProjectCategoryView StatusLast Update
0003796The Dark ModCodingpublic25.07.2014 18:43
ReporterSteveL Assigned ToSteveL  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.02 
Target VersionTDM 2.03Fixed in VersionTDM 2.03 
Summary0003796: Allow easy disabling of LOD on an entity with a new no_lod spawnarg
DescriptionLOD can be disabled by setting both hide_distance and dist_check_period to <=0.

That's a side-effect of a performance optimization, so might change in future, and it's difficult for mappers to remember. Provide a simple "no_lod" spawnarg that has no other purpose, to achieve the same effect.

This will make life easier for designers wanting to make entities that manage their own meshes and custom animations and that inherit from existing LOD entities.
Additional InformationEasy place to put this fix is in idEntity::ParseLODSpawnargs(), in the same place as the perf optimization mentioned above.
TagsNo tags attached.

Activities

SteveL

SteveL

25.07.2014 18:43

reporter   ~0006802

Added a check for the no_lod spawnarg to idEntity::ParseLODSpawnargs which is called at spawn time and bypasses registering the entity for LOD completely if above conditions not met.
SteveL

SteveL

25.07.2014 18:43

reporter   ~0006803

Completed: At revision: 6074

Issue History

Date Modified Username Field Change
23.07.2014 19:21 SteveL New Issue
23.07.2014 19:21 SteveL Status new => assigned
23.07.2014 19:21 SteveL Assigned To => SteveL
25.07.2014 18:43 SteveL Note Added: 0006802
25.07.2014 18:43 SteveL Note Added: 0006803
25.07.2014 18:43 SteveL Status assigned => resolved
25.07.2014 18:43 SteveL Fixed in Version => TDM 2.03
25.07.2014 18:43 SteveL Resolution open => fixed