mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 11:51:25 +00:00
remember any optimizations ideas i get
This commit is contained in:
parent
0fee24865c
commit
eef4390c84
1 changed files with 2 additions and 0 deletions
2
Documents/optimizations.txt
Normal file
2
Documents/optimizations.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
The floor/ceiling surfaces in classic modes can be optimized by sorting them by texture. This would require keeping two lists of sector references in the 2D renderer. One list sorted by sector floor texture, the other sorted by sector ceiling texture. These lists are then used in an optimized routine for surface rendering. The lists need to be updated every time MapSet.Update is called (and possibly in other events as well).
|
Loading…
Reference in a new issue