Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aardvark is really rather unoptimized (extremely poor usage of func_details) #6

Open
ddm999 opened this issue May 22, 2015 · 0 comments

Comments

@ddm999
Copy link

ddm999 commented May 22, 2015

Aardvark has some really horrific usage of func_details, which leads to extremely long compile times (probably more than 10x longer than it should take) and inflates the file size (fully optimized, it should be more than 6Mb smaller than it is now - 31Mb to less than 25Mb).
(No offence intended towards who made the map, just to clarify.)

This makes modifying the actual map file for things that should be quick fixes actually take a vast amount of time due to compile time (essentially requiring that you leave it running overnight), and also means anyone slightly changing the maps for use on their server will probably think Hammer's just crashed when compiling given how long it takes.

In fact, some of the stuff that is func_detailed is actually making the performance WORSE by creating even more visleaves.
This image is taken with func_detail hidden:
really messed up visleaves
These small latches generate 2 extra visleaves each for absolutely no reason.

But then the cylindrical columns that should be func_details and the curved walls are not.
This leads to the visleaf count being at least 10x as many as should be needed.

Unfortunately, the issue is so large and across the entire map that it may be quicker to instead rebuild the entire thing based on the old map but using a box room structure.

I'll see what I can do, but it may take a long time.
( Luckily it's half term next week for me, so I'll have time to waste. 👍 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant