[SOLVED:] Too many small lightmaps.
Hello everyone,
Today I started noticing really long compile times in the level I'm working on.
The compiler kept timing out at BuildVisLeafs and created a fullbright map that even mat_fulbright "0" couldn't darken.
Using the Cordon tool I was able to find out where the issue was coming from, and checking the auto_visgroups I found out the map compiles correctly if all func_details are hidden.
I was under the impression func_details were ignored by VVIS so should in no way be able to influence it, but as you can see in the images below it certainly does greatly affect my compile times...
(all nonhidden func_details are highlighted)
-------
SCENARIO 1: Everything visible.
http://puu.sh/3c4TP.jpg
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (169)
-------
SCENARIO 2: Hid a couple of func_details.
http://puu.sh/3c5hs.jpg
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (97)
-------
SCENARIO 3: Hid even more func_details.
http://puu.sh/3c5Di.jpg
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (64)
-------
SCENARIO 4: Hid ALL func_details.
http://puu.sh/3c5I1.jpg
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (18)
-------
As you are able to see the time to generate the visLeafs is in direct correlation with the amount of func_details in the map.
I have also copied everything into a new map file to see if that would be the issue. All compiles were done on fast and I'm mapping for HL2 Ep2 (Source2009).
Any help would be greatly appreciated so thanks in advance!
Jethro








