View Issue Details

IDProjectCategoryView StatusLast Update
0005130The Dark ModGraphicspublic09.03.2020 11:17
Reporterstgatilov Assigned Tostgatilov  
Status resolvedResolutionfixed 
Product VersionTDM 2.07 
Target VersionTDM 2.08Fixed in VersionTDM 2.08 
Summary0005130: "deform particle" with "fadeIndex" broken
DescriptionUnlike "deform particle2", using "deform particle" allows to have particle system spawning particles uniformly over its area.
However, if nonzero "fadeIndex" is specified in the particle, then it is broken.
Usually this results in rendering much fewer particles then expected, though wasting lots of resources.
Additional InformationWith useArea = true ("deform particle"), R_ParticleDeform computes totalParticles number depending on surface area. This adjusted number is not saved/passed anywhere.
Then it calls idParticleStage::ParticleColors, which takes color from stage, i.e. uses non-recomputed value.




19.01.2020 16:48

administrator   ~0012154

Fixed in svn rev 8529.

Speaking of custom materials, "particle deform" is used in few maps.
There is like 1 FM (Behind Closed Doors) which uses "deform particle" and "fadeIndex > 0" simultaneously.
I hope it won't break things too much.

Issue History

Date Modified Username Field Change
18.01.2020 14:25 stgatilov New Issue
18.01.2020 14:25 stgatilov Status new => assigned
18.01.2020 14:25 stgatilov Assigned To => stgatilov
19.01.2020 16:48 stgatilov Note Added: 0012154
19.01.2020 16:48 stgatilov Status assigned => resolved
19.01.2020 16:48 stgatilov Resolution open => fixed
19.01.2020 16:48 stgatilov Fixed in Version => TDM 2.08
01.02.2020 05:01 stgatilov Tag Attached: particle
09.03.2020 11:17 stgatilov Target Version => TDM 2.08