NikolaiVChr / flightgear-saab-ja-37-viggen

Saab 37 Viggen for Flightgear flight simulator
http://wiki.flightgear.org/Saab_37_Viggen
GNU General Public License v2.0
26 stars 15 forks source link

Excessive particles #164

Closed colingeniet closed 3 years ago

colingeniet commented 3 years ago

Vapour trail particle systems launch (or try to launch) around 1000 particles per seconds. That sounds bad. It's causing performance issues for me on FG next, and the particles 'get stuck' (I don't remember having these issues previously, something may have changed on next, but the 1000 particles/s sounds bad anyway)

colingeniet commented 3 years ago

Particles getting stuck was a FG core issue: https://sourceforge.net/p/flightgear/codetickets/2568/ It is specific to local particles.

1000 particles per seconds may not be as bad as it seems considering that their lifetime is a single frame. Still not sure what to think of it, particles may not be the best way to do wingtip trails. (F-16 uses a shader instead, could be a good replacement for at least vapour.xml).