Optimizing

  • If you're asking a question make sure to set the thread type to be a question!

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
So, i finished my map. But then i found that Portal Flow was taking years to compile.

So i've filled my map with func_details. it helped, but it still take years.

Used some hint brushes, helped too but portalflow doesn't get past the number 2.

I tried using area portals, but no. I sealed all entrances, but hammer always found a leak :( it's like, "IF I NOCLIP THROUGHT THE WALL AND ROCKET JUMP TO THE SKYBOX I CAN GET PAST YOUR ****TY PORTAL NOOB"

There is another optimizing thing? I will put more hints...
 

Tapp

L10: Glamorous Member
Jan 26, 2009
776
215
I had a problem kinda like that, have you tried deleting local content and re-installing? It could just be fragmentation. Anyway, try loading the pointfile afterwards, or just func_detail everything that isn't a big square wall.
 

Cameron:D

L6: Sharp Member
Sep 28, 2008
363
145
Portal flow is calculating what visleaves can and cant see each other. Reinstalling should have no effect on compile times.

There is another thread [ame="http://tf2maps.net/forums/showthread.php?t=9099"]why portal flow is taking to long? - TF2Maps.net[/ame]
about a similar thing, and there are lots of suggestions that have been given.
 

jpr

aa
Feb 1, 2009
1,094
1,085
It sounds to me like you turned everything into func_details, which would explain why your areaportals are leaking. If you turn everything into func details... Ugh, just read the tutorial
 

Tapp

L10: Glamorous Member
Jan 26, 2009
776
215
Portal flow is calculating what visleaves can and cant see each other. Reinstalling should have no effect on compile times.

I know what you mean, but recently I had a problem where vvis.exe screwed up, and I thought there was a chance it could have been that.
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
It sounds to me like you turned everything into func_details, which would explain why your areaportals are leaking. If you turn everything into func details... Ugh, just read the tutorial

So that's why that red line clips throught the wall?

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
the problem is, if i func_detail all the complex geometry, i get the t-junction error

i think the only thing i can do is try the areaportal again...

But portalflow is much faster now, still not good, but faster...
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
yay the area portal works now, but portal flow still doesn't get past number 1 omg...

what else i can do? :(
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Post a screenshot of your map in Hammer with everything turned off apart from world brushes.
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
the map even runs at constant 60 fps at fast vvis :/


everything turned off



everything turned on (except brush entities and hints because they cover the entire view/ceiling/bla)

i will try to make a smaller skybox...
 
Last edited:

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Can't you func_detail that weird platform in the corner?
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Run your compile log through this. and also post it here.

I really don't understand why you're getting t-junction errors. :\
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
Run your compile log through this. and also post it here.

I really don't understand why you're getting t-junction errors. :\

I don't get any errors. (only those that can be avoided)

but if i change that platform to func_detail i get a t-junction error in 5 seconds :/
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Run that particular compile log through is what I meant.
 

Swordz

L5: Dapper Member
Jun 27, 2009
224
37
Run that particular compile log through is what I meant.

FixTjuncs...
Too many t-junctions to fix up! (2712 prims, max 32768 :: 65631 indices, max 65536)


EDIT: it doesn't crash if i assign it to func_viscluster.

and that platform got thousands of blue vis blocks, and now it has 0 blocks. I think i solved it.



EDIT2: Still nothing. everything i can optimize is optimizated :/
 
Last edited: