Тёмный

Optimization in Team Fortress 2 

s4videos
Подписаться 51 тыс.
Просмотров 113 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 438   
@shadokwastaken
@shadokwastaken 3 года назад
my favorite things with 3D skyboxes has always been to have players in them and everyone in the map would see giants around them
@elfasto2255
@elfasto2255 3 года назад
@@TheFalseShepphard in the map there’s a small little area called a sky box, when something is in that little area it’s loaded into said skybox area, making it look larger in the normal map, including players
@overlord3481
@overlord3481 3 года назад
oh hey, you're that dead yt channel who keeps commenting on other vids to get internet attention.
@birdflox1337
@birdflox1337 3 года назад
@@overlord3481 people can leave comments on videos my guy
@Suqordia
@Suqordia 3 года назад
ah, memories of dm_mariokart. good times.
@JNJNRobin1337
@JNJNRobin1337 3 года назад
Statement *commenting is attention seeking and so is breathing or having a pulse*
@0sac
@0sac 3 года назад
TF2's optimizations were perfect for the 2007 game, but in 2021 theres been so much stuff stuck ontop of the base game that I dont think anyone could call it optimised today. The game was built without ever knowing that every player model would have up to 4 additional models stuck to it for example.
@drivanradosivic1357
@drivanradosivic1357 3 года назад
which is why there are community configs that improve optimization.
@EC-ms1jr
@EC-ms1jr 3 года назад
Spaghetti code in TF2. I kinda feel like a lot of the code was done sloppily (and questionably) because the programmers were lazy.
@Aryzon13
@Aryzon13 3 года назад
Have to disagree. There were MUCH more complex games made in 2007 that run and look better than TF2. And by better I mean several orders of magnitude better.
@0sac
@0sac 3 года назад
@@Aryzon13 yeah perfect was porbably the wrong word, my point is that its silly to say that the game has many optimisation techniques so therefore anyone who complains is playing on a terrible pc on a badly made map.
@sampla86
@sampla86 3 года назад
@@EC-ms1jr They weren't necessarily lazy, but once a bunch of people who code differently don't agree on a way to make something work it gets messy
@flytrapYTP
@flytrapYTP 3 года назад
"TF2 is well optimized if you think about it." Heresy.
@crimsonlanceman7882
@crimsonlanceman7882 3 года назад
DESTROT IT!
@CoolSs
@CoolSs 3 года назад
NYEHHH
@bluntsmonken
@bluntsmonken 3 года назад
save my toaster
@theotv5522
@theotv5522 3 года назад
Shounic: "I'm pretty sure he's right mate"
@Nitosa
@Nitosa 3 года назад
Tf2 is not too bad but it does definitely have its Onorthodoxe optimizations.
@PotatoPatatoVonSpudsworth
@PotatoPatatoVonSpudsworth 3 года назад
This is why we NEED the Team Comtress patch. It's been finished and sent to Valve, but in classic Valve fashion they used it to fix overlapping problems in DOTA 2.
@lowen__
@lowen__ 3 года назад
@MayTCowboy I guess it is now.
@PeptoAbismol
@PeptoAbismol 2 года назад
classic valve
@honkhonk8009
@honkhonk8009 Год назад
No one even plays Dota-2 Its such a shit game bruh. Everyone plays LOL instead. Why tf does Valve put so much resources into DOTA-2 instead of fucking TF2. Just sell that shit to microsoft bruh what are these clowns doing.
@AcceleratorTF2
@AcceleratorTF2 Год назад
Hopefully they integrate it with the Summer update now that the Workshop has a "Community Fixes" section.
@kaydemonlp4886
@kaydemonlp4886 3 года назад
LOD's are actually calculated based on how much space on the screen they take up, not the distance from the camera
@s4videos
@s4videos 3 года назад
Ya, this is more correct than what I said. The trigger to change lod is taking up less screen space and not from increase in distance alone. Subsequently fov settings modify when things change lod as things will take more screen space at lower fields of view. Interestingly, the fade-out of props could also be set to be based on screen space over distance.
@Martyste
@Martyste 3 года назад
@@s4videos This was probably done in order to adjust automatically the LODs with your game's resolution. Which would mean low LODs will likely trigger at a closer radius around you if you are playing on a lower resolution, and vice-versa. ( In old games like Super Mario 64, it's based on distance, and as a result, the HD port on Switch in 720p will show Mario's lowpoly model much more clearly than it used to. )
@mrpages6384
@mrpages6384 3 года назад
This was utterly fascinating. Thank you free games guy
@s4videos
@s4videos 3 года назад
A few author's notes: I regret over-simplifying a few things: Reflections aren't “pre-rendered”, that's not the best term to use. What I mean is they're not updated in real time. The far z clip plane can be any value. I say it's after the fog is fully opaque as it normally is but it can be a lower value like it is on 2fort. Lighting is baked into the maps. All lighting is always technically rendered live but there's a big difference between what TF2 does and what happens with more modern forms of lighting. I am 90% sure it was the Hatless update that changed the game to stream assets as needed but it could have been the Steampipe update. A lot of rocks actually do have textured bottoms as a lot of rock props are meant to be rotated. Doing more research it seems it's actually super rare that areaportal windows are used. Map devs forget to use this form of optimization often. Same for doors that toggle area portals when opened/closed. Super rare despite being powerful at saving resources. I wrote this video way before TF2's source code was leaked. If I wrote it now the ending would be a bit different. All these optimization tricks still work and are still great but the code showed us that TF2 is actually trash under the hood. It's unrefined and inefficient. Like the code contains things such as randomly calling to rendering things multiple times in sequence. Super poor multi-threaded performance due to stupid oversights. Things like that. The far z clip plane is the strangest thing to record because source games are buggy. Right now if you load 2fort in-game the far z clip plane sometimes doesn't work. If you look at the decompiled map it's there. They programmed it into 2fort. It's literally a coin flip if the map will stop rendering at a distance. I find if I first join a server running 2fort, disconnect then load the map from console it'll have a working far z clip plane, otherwise it will not. Good code, love it Valve. I know I said you shouldn't play this game on integrated graphics and expect good performance but I think eventually it will be a possibility. Come back to this video in 20 years and tell me about how well the game runs on integrated graphics on computers from 2041. I'd love to hear it. It would be really screwed up if even a bad computer couldn't play a game from 34 years ago.
@leoelbocchifan
@leoelbocchifan 3 года назад
I run tf2 in integrated graphics on an amd gpu and it runs at 60 most of the time
@shoeliver
@shoeliver 3 года назад
how was this made a week ago?
@s4videos
@s4videos 3 года назад
The video was uploaded a week ago and then I commented on it and then I set the video to come out in the future.
@rmod8
@rmod8 3 года назад
i mean technically reflections are pre-rendered because they're cubemaps, which are just 360 images, and they are rendered before the map is played
@TFalkon185
@TFalkon185 3 года назад
@@s4videos That's pretty trippy, also great video! It's very informative and I really enjoyed it.
@laynalazarsnumber1fan
@laynalazarsnumber1fan 3 года назад
I remember when 2fort had dust and particle effects. Other details and even some lighting effects have been taken out. Valve removed these details overtime because they needed more room for hats!
@Thornskade
@Thornskade 3 года назад
I am not aware of a version of 2Fort that had dust and more particle effects. I played the 2008 version of TF2 and the map looks about the same. When you look at TF2 gameplay on consoles (which are stuck with an early patch) I also can't see any such detail. I think you're remembering incorrectly.
@Ultra289
@Ultra289 3 года назад
Whats the point of dust and particle effects Im so glad they are removed (same happened with csgo ,not even a year after its release)
@izuki8233
@izuki8233 3 года назад
@@Ultra289 Attention to detail
@Ultra289
@Ultra289 3 года назад
@@izuki8233 attention to these type of details are very very pointless on PvP games They just dont make sense
@donovan6320
@donovan6320 3 года назад
@@Ultra289 Except for an a game like TF2 it's not exactly fast pace often often I'm especially when you've got things like friendly's like friendly's it's not a bad idea
@GewelReal
@GewelReal 3 года назад
"LOD levels" ah yes, the levels of detail levels
@Thornskade
@Thornskade 3 года назад
Nah, it's actually LODL. Which stands for Levels of Detail LODL. Which stands for Levels of Detail Levels of Detail LODL. Which stands for Levels of Detail Levels of Detail Levels of Detail LODL. I forgot what that last one stands for.
@ict5126
@ict5126 3 года назад
GNU aka: GNU's Not Unix
@crashnspin
@crashnspin 3 года назад
@@Thornskade The last L's a typo
@Thornskade
@Thornskade 3 года назад
What's really sad is that mastercoms has a huge, huge list of in-depth fixes for TF2 that are ready to be implemented and would fix much of the performance issues caused by coding oversights. Valve would just need to get in contact with her and work on implementing it but it doesn't seem like they have a lot of interest in doing that which is hella frustrating.
@Ultra289
@Ultra289 3 года назад
Some valve employee actually used masterconfig work for dota Ofc ,not every employee will agree with other employee ideas or solutions so stuff like this can happen
@donovan6320
@donovan6320 3 года назад
@@Ultra289 not mastercomfig teamcomptress
@ambassadorgaming8411
@ambassadorgaming8411 3 года назад
I have a very shitty laptop that can run TF2 at a pretty smooth 60 FPS somehow, yet one of the few times I had a big frame drop was when I was observing my team while waiting to respawn
@LodewijkFidder
@LodewijkFidder 3 года назад
players are among the most expensive things to render in tf2
@yoshifan2334
@yoshifan2334 3 года назад
As a fellow potato gamer, would you mind sharing what settings or whatnot you use? I'm pretty tech un-savvy but my not even that old laptop still doesn't really get anything above like 45 fps consistently unless its setup time
@ambassadorgaming8411
@ambassadorgaming8411 3 года назад
@@yoshifan2334 I just kind of lowered the detail stuff on the models, textures and other stuff down to medium, or low.Oh yeah and I also lowered the resolution. It stays on 60-50fps most of the time, but if there are a lot of things on screen it dips down to 30-25fps
@gigagrenade7249
@gigagrenade7249 3 года назад
My pc is semi decent so it can run tf2 okay but I hate when I get 40-60 fps but 120 ping
@ambassadorgaming8411
@ambassadorgaming8411 3 года назад
@@gigagrenade7249 Oh yeah, I hate that, but it only really happens in MvM for me
@TheJosiahTurner
@TheJosiahTurner 3 года назад
Ya know, learning about tf2 and the source engine really helps explain a lot of SFM’s quirks as well
@TheJosiahTurner
@TheJosiahTurner 3 года назад
@@SikerScrapyard real 😳
@Artician
@Artician 3 года назад
As a fun fact, bot NAV meshes in CS:GO actually automatically generate on custom maps when you first play them, because of the countless maps that were and are being created for the Game. They are somewhat accurate, depending on the maps' complexity, and can (but not always) help the map creator at least a little bit to make accurate bot NAV meshes for their map(s), even if they aren't that accurate when first generated.
@quickscopesheep5994
@quickscopesheep5994 3 года назад
I think source is the one of the only engines where you have to manually generate navmeshes
@karlbischof2807
@karlbischof2807 3 года назад
i thought tf2 had a command to automatically generate one
@quickscopesheep5994
@quickscopesheep5994 3 года назад
@@karlbischof2807 yes but it’s very crude and you spend as much time fixing it as you would doing it yourself
@karlbischof2807
@karlbischof2807 3 года назад
@@quickscopesheep5994 i see
3 года назад
This is present since css where the bot system was ported from cs1.6, then they used those bots for l4d, l4d2, csgo, and then backported the system to TF2. Its not automatically done in most of those games when no nav mesh is found but the command exists.
@Aarmastah
@Aarmastah 3 года назад
There's a ton of work that goes into optimization from mapmakers and model creators, yet the in one part where it matters the most, the engine, it is neglected. 😔
@jveerf8573
@jveerf8573 3 года назад
:(
@mineland8220
@mineland8220 3 года назад
Fact: tf2 can run on a 2010 i3 laptop with integrated graphics at 40+ fps with a low enough resolution and mods like mastercomfig. It will, however, run a bit bad on a 2006 celeron with a 2010 amd gpu. So my conclusion is that tf2 runs mostly on cpu rather than gpu
@karlbischof2807
@karlbischof2807 3 года назад
and hard drive
@RealSwissShady
@RealSwissShady 3 года назад
Is this the reason why i keep getting a out of memory error despite having the recommended ram
@karlbischof2807
@karlbischof2807 3 года назад
@@RealSwissShady most likely not
@felixgertrude9311
@felixgertrude9311 3 года назад
I created that x4 variant you showed at the end. (viper, snow) It was my first map which was mostly just a modification of x4. I added those trenches and tunnels and props. I really had no clue what I was doing and to this day I’m shocked people still play it. Pretty sure there’s a complete area under the map that is rendered for no reason. I don’t recognize the ramps at spawn so someone probably copied my terrible work. The cycle goes on. 😂
3 года назад
still waiting for an option to turn off player's cosmetics
@RandomGuyWoomy
@RandomGuyWoomy 3 года назад
6:48 i find it more eaisly noticeable if you pay attention to the hitmans heatmaker reflection on the scope since it is very reflective, moving from one room to another will just change the picture, so its not snooth moving and just snaps to that picture
@blackespectral
@blackespectral 2 года назад
karlson
@krycerkris
@krycerkris 3 года назад
Niche, yet well-researched, structured and edited video? Amazing stuff man!
@gutstheberserkerr
@gutstheberserkerr 3 года назад
feels weird when Dom talks about TF2 rather than L4D2, lol great video
@nash-mi7so
@nash-mi7so 3 года назад
Thank you for updating this in 2021. ❤️
@tristandpc
@tristandpc 3 года назад
See, here's the thing. Tf2 was worked on for nine years, changing to the Source engine partway through. It release in 2007 on an engine from 2004, and received constant updates for over a decade. Take the slight jank of the Source engine, some ancient code and a decade of new code bolted on and you get a bit of a mess. The game has these optimisations, and is better off for them, but someone needs to go into the metaphorical tangle of cables to sort out all the newer stuff. For instance, did you know that the GRU's health drain stat is directly connected to the Eviction Notice's stat? Same thing for the damage resistance on the Natascha and Brass Beast. Tf2 is filled with weird quirks and things that are implemented in very strange ways. Little issues, but there's a *lot* of them. They stack up over time, especially in a 15 year old engine. TL;DR: TF2 was optimised at launch, but is bogged down by a decade of updates.
@ben1ben
@ben1ben 3 года назад
You sound like the Drummer 66Samus but higher pitched, Anyways great Video thanks for all this information about Optimization in Team Fortress 2.
@jolo8224
@jolo8224 3 года назад
I don’t know much about compter rendering and stuff, but i remember in the developer commentary maps they said that they send the particle calculations to a graphics accelerator to save rescources. and this was when the game was first released, they’re really pushing the limits nowadays with their burning flames, sunbeams holy grail unusuals
@Thornskade
@Thornskade 3 года назад
Particle effects are actually pretty taxing in TF2. When I originally played the game in 2010, I was fascinated that my framerate would drop from 60+ to 20 or so when I looked at water and fired a shotgun at it. All the splashes right up in the camera (i.e. rendering in full quality) literally made the game a slideshow for a second.
@jolo8224
@jolo8224 3 года назад
looks like you have a graphics decelerator lmao
@Thornskade
@Thornskade 3 года назад
@@jolo8224 Sorry, I don't understand what you mean
@donovan6320
@donovan6320 3 года назад
Fun thing is they don't actually use GPU accelerated particles. They may render the particles on the GPU but they're not calculated on the GPU.
@genethebean7597
@genethebean7597 3 года назад
The Source engine is indeed optimized, just not exactly in the hardware department. Considering the fact that most GPU's are barely utilized and the framerate dips reflect that it's just hard to consider any hardware aspects "optimized".
@donovan6320
@donovan6320 3 года назад
It was designed under the assumption that CPU's would get more powerful in that more powerful in which they didn't meaningly get more powerful.
@bunslinger
@bunslinger 3 года назад
09:50 valve actually used to do this with every weapon in 1st-person as well, only parts of the weapon that were visible or would be visible during appropriate animations were modeled. when more unlockable weapons started coming out, valve converted every weapon in the game to the new c_model format, wherein the weapon in 1st and 3rd person are the same, and the player's arms are a separate model that the weapon is then attached to. this also makes it easier to mod in weapons since all you need is the weapon model with proper rigging.
@MannFace51
@MannFace51 3 года назад
Step 1: Play TF2C Step 2: Cry because it performs 3x better than current TF2
@jveerf8573
@jveerf8573 3 года назад
Tf2C running better at high settings than tf2 in lower.
@energeticyellow1637
@energeticyellow1637 3 года назад
300 fps in tf2c while I get maybe 80 fps in tf2
@ethanbear360
@ethanbear360 3 года назад
6:56 To explain more, They use non real-time simulation programs and convert the sim into an animation. This saves on recources, but won't interact with dynamic (moving) things
@Thornskade
@Thornskade 3 года назад
They do actually interact with players. Some of the larger objects in the animation kill you when you stand in the area that they drop on, as they drop. I suspect it's probably just a death trigger that activates for a short duration timed to be in sync with the animation, so it's not a true interaction but a nice trick nontheless.
@apchistuz
@apchistuz 2 года назад
@@Thornskade it happens because it has a collison mesh
@Thornskade
@Thornskade 2 года назад
@@apchistuz There's a collision mesh that follows the animation of the object? I wasn't aware that's even possible.
@apchistuz
@apchistuz 2 года назад
@@Thornskade or a death trigger yeah
@aaaeeo3451
@aaaeeo3451 3 года назад
"Poorly optimized custom map" Suijin would like to have a word with you.
@maxresdefault_
@maxresdefault_ 3 года назад
It takes a brave soul to say that TF2 is well optimized. For the greater good of education
@marcusTHEgoat23
@marcusTHEgoat23 3 года назад
I was watching your left 4 dead videos, and I was waiting for your next release. You continue to have great content. Loving this :)
@sleepy1066
@sleepy1066 3 года назад
Man i remember getting up fo 247fps back in 2015 in tf2, after tough break it took a hit and then after jungle inferno my pc struggles to run it at 120fps while games like csgo still run well over 200fps
@Duel53
@Duel53 3 года назад
My favorite part of TF2 is that my cpu is utilized at about 20% with my gpu max at 29%. I don't get how TF2 is not optimized to fully use a GPU in 2021.
@OutlawedPoet
@OutlawedPoet 3 года назад
because it's an old game running on a very old engine that runs better when the CPU has a higher clock speed on one core
@Duel53
@Duel53 3 года назад
@@OutlawedPoet my cpu does, and it still doesn’t run right.
@Robb1977
@Robb1977 3 года назад
as someone still using windows 7, I never thought tf2 was unoptimized. in fact its one of the only games that runs without reducing the settings to "ultra low"
@sydney_pepper
@sydney_pepper 3 года назад
"There are some cases when the game runs poorly when it shouldn't" Yeah well on my PC we call that always.
@OutlawedPoet
@OutlawedPoet 3 года назад
TF2 is a "well optimized game" but it's greatly held back by its spaghetti code and hundreds of cosmetics that's simply too much for the source engine to handle. not only is the source engine pretty limited but it's also an old engine, meaning it was made to utilize single core CPU clock speeds rather than CPU's with multiple cores/threads and GPUs. I get 40-80 FPS average on vs saxton hale servers with less than 15 people without any configs and I have a 1660 super and ryzen 5 2600
@jveerf8573
@jveerf8573 3 года назад
I had 1060 ti and runs very well over 144 fps......... with masterconfig cfg.
@OutlawedPoet
@OutlawedPoet 3 года назад
@@jveerf8573 I don't play casual but I mostly play vsh and I get constant framerate fluctuation if there's more than 10 players on the server even with mastercomfig low
@jveerf8573
@jveerf8573 3 года назад
@@OutlawedPoet Weird I play vsh too and the only issues That I had is with the server lagging because of some bosses. But the fps is over 100 normally with over 24 players
@Sinister80s
@Sinister80s 3 года назад
@@jveerf8573 what CPU?
@jveerf8573
@jveerf8573 3 года назад
@@Sinister80s i5 10thgen
@Peterscraps
@Peterscraps 3 года назад
1:00 ah my old friend camortho
@poggers9654
@poggers9654 3 года назад
whats camortho
@FurryWrecker911
@FurryWrecker911 2 года назад
10:00 3D artist here. I want to offer a quick correction here and say that it's not a wall that is transparent. It instead is a wall that _does not exist_ at all. Instead of having 4 faces for 4 walls, you just delete the rear face, leaving only 3 walls. Also this is called a model, not a texture. Models are the physical entity, which had a material plugged into it which defines what it is (affects sounds, and bullet decals), which has textures plugged into it that make it look like concrete, or brick, or sand, etc.
@s4videos
@s4videos 2 года назад
In the Source engine to make a wall with no visible texture you set its texture as the "no draw" texture. When assigned this texture the wall still exists, it just appears transparent. It continues to have collision and block projectiles. In the game's level editor the points in space that represent the corners of the rectangular prism that is the walls always exist. The faces of a wall continue to exist even when invisible. In Source the walls are called brushes and they're a separate thing from the models that appear on maps. Perhaps what you say is true in a different context, such as in newer game engines but in this instance it's not correct.
@FurryWrecker911
@FurryWrecker911 2 года назад
@@s4videos Oooooh... that kinda rocked my world. I knew Source was an old engine but.... WOW. That just kinda turned my world around on what I knew. Thanks for the explanation.
@ChisponGroxo
@ChisponGroxo 2 года назад
I'm no expert but I doubt newer games still utilize techniques like BSP trees or vis planes. I think modern techniques involve using the GPU for culling object rather than CPU calculations. Might be the limitations of Valve being still stuck on a DX9 engine...
@maslav4241
@maslav4241 3 года назад
you sound like a happy person
@canaconn2388
@canaconn2388 3 года назад
One note on your mention about support for VR headsets, is that TF2 only supports the HTC Vive and Rift dev kits.
@Heyheyhey0475
@Heyheyhey0475 3 года назад
When I was a kid and learnt the vast landscapes in the background of my favorite maps were all fake I felt so violated
@Sentay0
@Sentay0 3 года назад
Oh, I was kinda hoping this was a proposal of optimizations they could make next time.
@arbi018
@arbi018 3 года назад
for the render "transparent" side of objects, its not that the model doesnt have textures, on 3d planes/faces have 2 sides, one visible and one thats invisible, so what you see on the example at 10:19 its not that it isnt textured, they just take away the faces that u wont see, that means down parts of an object, parts of the object that faces to a wall, etc. all tho, to save resources and not use 2 planes/faces for an object, you can use a double sided material so it can show the texture on both sides of the plane, weirdly enough on source even if you see the material it will be posible to see an object through the double sided material
@mehcro3622
@mehcro3622 3 года назад
there is so many timestamps i thought this was an hour
@testhekid
@testhekid 3 года назад
thankfully knowing the majority of these really makes the lowend experience way better because ik what's the issue and how to fix it also i knew it that seeking tf2 optimization will make us source engine experts
@simpson6700
@simpson6700 3 года назад
the problem is that visleaves are very static and you can end up with huge rooms where everything is loaded even if things aren't in line of sight. lazarus is a great example of this, as the capture point is sort of in an L-shaped "room", but things around the bend are always loaded, even when you are in the hallways with the windows. modern games basically flipped the use of visleaves and occluders. big open areas always check for line of sight to occlude objects, while doors and hallways are linked to triggers that load and unload entire areas. i say modern games, but Crysis already used this back in 2007.
@DankDimensionMemes
@DankDimensionMemes 3 года назад
Biggest issue I have is 24 player servers, 24 players with all of the hats, unusual and stuff is barely possible to run.
@moronribbons5774
@moronribbons5774 3 года назад
One thing I noticed about map unloading is that it seems to consider glass oddly. Back when I still actually played on turbine I noticed looking down the enemy intel hall through the glass from way back in your team's hall would allow you to see that nothing would be loaded behind the glass.
@nthSonata
@nthSonata 3 года назад
That's (probably) due to areaportal windows
@GOGOGOGOGOGOGOGottaGoFast
@GOGOGOGOGOGOGOGottaGoFast 3 года назад
The ending is fun as you watch people play this game but don't realize all these complicated optimizations that are in place to have a smooth experience. Really made me think about how much more is probably going on under the hood as I play.
@Snaily
@Snaily 3 года назад
TF2's optimisation is so good my mid-range computer I built last year needs me to play on potato settings to get over 60fps on 2fort
@reD_Bo0n
@reD_Bo0n 3 года назад
I have an upper mid tier PC and on Max graphics I get atleast 100FPS on most maps
@deemus4776
@deemus4776 3 года назад
very interesting, most people would argue that tf2's optimization is bad but it has very similar optimization features from other source games, it's just that it's not very fit for a game that's as chaotic as tf2, excellent video. i'd like to see more of these stuff.
@TheEmeraldSword04
@TheEmeraldSword04 Год назад
Let's not forget that in options, when you set most of 'advanced, video' to low, things can get real low quality. I used Pyro's Dragon Fury for a while with model detail bottomed out, and I ended disliking the model so much I decided to go through my computer and optimize it. Glad I did because a privacy and access violation was found, likely someone or something trying to download malware on site.
@bastian_5975
@bastian_5975 3 года назад
14:00 sure... one problem though: source runs mostly on the CPU, so even though I have a graphics card and it's not being 100% utilized, I still lag. It was well optimized in 2007, but after 14 more years of updates and hardware changes, it's extremely poorly optimized.
@quickscopesheep5994
@quickscopesheep5994 3 года назад
The chunks being culled is leftover from half life two, it uses binary space partitioning to identify occluded chunks, this technique was originally used in doom
@firstnamelastname-yu2td
@firstnamelastname-yu2td Год назад
A bit strange to call it a left over, as it's a core part of how all source games render. It's just as much a left over of hl2 as it is hl, quake, and like you said doom.
@greentea_DP
@greentea_DP 3 года назад
1 thing they didn't optimize tho, spaghetti code, lots and lots of spaghetti code.
@sulphurous2656
@sulphurous2656 3 года назад
"TF2 is well optimized if you think about it." Yeah, maybe in 2007.
@ileryon4019
@ileryon4019 3 года назад
It aint if you have a notverygood pc
@CubeItself
@CubeItself 3 года назад
LOD levels also known as level of detail levels we all learn new stuff everyday apparently
@OdysseyK
@OdysseyK 3 года назад
My PC runs the game just fine on 32 player servers. Granted I've got a 40 command line autoexec... lol
@Crow_Rising
@Crow_Rising 3 года назад
That end bit really resonates with me. All too often I see people complain that games on steam are bad ports or poorly optimized because it doesn't work as expected on their specific combination of hardware. It's always nice if devs can patch their games to better support said hardware combinations, but throwing shade because of the problem existing to begin with just comes off as immature to me. It's unreasonable to expect devs to have tested their game on every possible combination of hardware known to mankind.
@ST3VI3RICHI3
@ST3VI3RICHI3 3 года назад
The first section isn't strictly true. While, yes, what you don't see behind solid brushes gets culled, doors hiding things behind them is controlled by the mapper and is an entity called an "areaporal", which is linked to the door. The same goes for when walking round corners and the map isn't culled in one go, models disappear as you walk. When the visleaf is behind a solid brush it is culled, but if its even near visible the entire leaf is shown. I know its nit-picking but just thought I should put this out there for those who are curious.
@Ultra289
@Ultra289 3 года назад
So basically this video is just 3kliksphilip video he made about this when danger zone maps was released for csgo but instead just tf2 images are shown
@UsernameDoesntCare
@UsernameDoesntCare 3 года назад
Sometimes when I spawn into Badwater, the door to the outside looks like it leads to the sky or something, but disappears when I walk through it.
@oldoldmeme
@oldoldmeme 3 года назад
I know it isn't the focus of the video in the slightest but hey, u seem to know what you're talking about so I may as well ask it, what's the point in ray tracing then? If it's essentially rendering lighting and reflections in real time, then surely having the map and whatnot prerender them themselves is easier on your PC? Apologies for how stupid of a question it is, but I just really fail to understand the fuss over ray tracing in games these days, I can never notice it.
@ambreiaju
@ambreiaju 3 года назад
Ray tracing is realtime. So for example your playermodel will be seen in the reflection. Not only that, but as it's said in the video, dynamic props (payload cart) will not reflect actually on a close by surface. (Imagine the cart next to a shiny wall (Rarely seen in TF2 though because of the artstyle) won't be reflected correctly as you move)
@oldoldmeme
@oldoldmeme 3 года назад
@@ambreiaju But, and correct me if I'm wrong here, but haven't similar techniques existed in games for years? I could've sworn older games pulled off the same effects and there was never any mention of ray tracing.
@ambreiaju
@ambreiaju 3 года назад
@@oldoldmeme Some games use clever techniques like Portals (not those portals). Imagine a surface with a portal spanning it's whole face. In the world inside you can have the same props as in the real world. You attach those props with the "real" ones with constraints to make them mimic their movement. And then overlay on the "mirror" a semitransparent material (for example metal). Lastly if you need you add post processing on that mirror (blur for making it mate, bloom for realism, etc.). Or if you won't have problems with impossible geometry you can do the same thing without that portal. Like the mirror in Super Mario 64 where there's only a copy of the room and Mario on the other side while is made to mimic your movement. There are other countless techniques
@oldoldmeme
@oldoldmeme 3 года назад
@@ambreiaju Damn, this is all so interesting, thanks very much for the information man!
@ambreiaju
@ambreiaju 3 года назад
@@oldoldmeme check out this video which explains some stuff about cubemaps in the Source Engine and their flaws when you can: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uX5krqI51hQ.html
@Jexy00
@Jexy00 3 года назад
Really well done!
@blacklight683
@blacklight683 3 года назад
I really want to use it but yeah this is not my stuff but still good to hear about
@emperorfaiz
@emperorfaiz 3 года назад
Yeah, so optimized that Demo's bottle being breakable feature is removed.
@catke590
@catke590 3 года назад
Now it breaks when doing a crit.
@taco8077
@taco8077 3 года назад
I mean either way their point still stands, Valve never made any proper improvements to TF2's code and just lazily decided to downgrade the game's looks and features instead so that they could fit more hats into the game lol, and not even in short term was a good change because it barely improved anything and it just made the game look worse and in long term? TF2 is literally considered the most unoptimized source game ever made as of today. I gotta say the guy in the video kinda dropped the ball on this one.
@orangegouice
@orangegouice 3 года назад
That has nothing to do with optimization though?
@justaplayer1522
@justaplayer1522 3 года назад
And on that day, my opinion about TF2's optimization has changed. It's nice.
@microsoftpowerpoint4731
@microsoftpowerpoint4731 9 месяцев назад
You can actually get 2 corpses at the same time, by using the dead ringer and also kill binding
@Kira-zf7te
@Kira-zf7te 3 года назад
8:15 is that why randomly your mad milk and holy mackerel will have their physics completely glitch out when equipped (and work once you re equip them)
@s4videos
@s4videos 3 года назад
Yes I think the reason the weapons sometimes get misshapen is due to the jiggling stopping and starting again. The more dips in fps a person has the higher the likelihood.
@Oretal
@Oretal 3 года назад
Ballin video man
@backmaskingklocucha1262
@backmaskingklocucha1262 3 года назад
it was able to run smoothly on old 3.2ghz pentium 4 but now it's just mess, so imo it's not well optimized
@losio6879
@losio6879 3 года назад
This game does not meet with modern optimization standards. The engine is just outdated. 32bit that allow you only to use 4 cores (but by default it uses only 2 xD), and up to 4GB of ram. Also it barely takes usage of external graphic cards.
@caingamin2
@caingamin2 3 года назад
Oh I thout that the spawnroom windows filled in to prevent the other team from seeing inside the spawnroom
@ScrakSFMs
@ScrakSFMs 11 месяцев назад
13:04 theres two other methods to do that. one use a diffrient texture on inside and outside and second is to use nodraw or skybox.
@sillylilstella
@sillylilstella 3 года назад
i love how my PC can run Doom Eternal, Fortnite, Splitgate, Call of Duty Warzone, and yet I can't get a stable 60 fps on Hightower :(
@snakeface5652
@snakeface5652 3 года назад
Man, I didn't even know optimization came in the form of the map itself. I thought it would be just how it gets rendered, as well as some code underneath.
@anonviewerciv
@anonviewerciv 2 года назад
Fascinating game design, not so much client-side tips on improving performance.
@meganegan5992
@meganegan5992 2 года назад
you know, i wonder what would happen to the bots if Valve suddenly decided to remove the bot mesh from their server maps? It'd be all server side, so there's really be nothing the bot makers could do about it. it'd make certain single player things harder to work around, but i think it ccould be a simple & elegant solution to the problem at hand.
@Engiman
@Engiman 3 года назад
*we are very sorry for the miscommunication and want to point out that while saying team fortress 2 is "well optimized" we forgot to take wutville into account.*
@RichterOvertime
@RichterOvertime 3 года назад
Hey Dom, I'm a fellow creator who's been a fan of your work for a long time. Can we get in touch somewhere? I have an invitation for you
@quitequeerquesadilla
@quitequeerquesadilla 3 года назад
heyyyy it's the arg guy
@darkitotf2
@darkitotf2 3 года назад
Yo
@albert1587
@albert1587 3 года назад
Teethineer
@Ultra289
@Ultra289 3 года назад
Tf2 still runs well for me on both low spec and mid spec pc... I play on my favourite resolution 640*640
@atruepanda1782
@atruepanda1782 3 года назад
You do realize that the minecarts in the thumbnail don't move . . . right?
@jimmybuba2683
@jimmybuba2683 3 года назад
If a game cant handle my Custom 2021 particle effects, High poly anime models, artificial ray tracing, 3 gb size custom map, special weapon animations and personalized HUD ABOVE 300 fps then it is a poorly optimized game for me
@ambreiaju
@ambreiaju 3 года назад
I have ~100 addons on TF2 lol. Custom particles ✓ Custom skins ✓ Custom models ✓ Custom sounds/music ✓ Custom viewmodels ✓ Custom viewmodel animations ✓ Custom HUD ✓✓✓ I need to stop browsing gamebanana...
@Davtwan
@Davtwan 3 года назад
Remember your occluder brushes, map-makers! They’re a _huuuuuge_ part on making sure your map’s FPS doesn’t drop.
@nthSonata
@nthSonata 3 года назад
Areaportals > occluders
@Davtwan
@Davtwan 3 года назад
@@nthSonata - Oh that was what I was probably thinking. Thanks.
@quartzskull8772
@quartzskull8772 3 года назад
That is why wutville was so buggy, it was all being rendered at once
@s4videos
@s4videos 3 года назад
Hmm, let me see... Yes you're correct. What the heck, all but a small portion of the map is always rendered. Even hallways that lead to spawn rooms that twist (as if to cut line of sight) don't have good optimization and still render what's beyond. It looks like the makers didn't know how to optimize maps as the optimization is atrocious. The map's second biggest optimization failure is that all the large props around the map should utilize fade-out distances but bafflingly don't. What a poorly-made map. There's so much that's wrong with the map's optimization that I could probably make a video about it.
@harrisongrant8558
@harrisongrant8558 2 года назад
This video should really be titled "Map Optimization in Team Fortress 2". Map optimization is an important part of any game (Wutville is a perfect example of what happens when it's done all wrong, and if Valve said "yes, this is gud map", then that might be very telling on how they see optimization as a whole now), but the rest of the game has... questionable optimization, and unfortunately it's part of the reason why so many people experience low framerates even on modern PCs, and for a game made in 2007, intended to run on Windows XP, that's unacceptable. A lot of this stuff I do recognize from other games of the same era, and most of these tricks are still used today (Trainz Railroad Simulator uses model and world LODs, not rendering objects behind the camera, fog), but how well they're implemented is another story.
@wulfrumpylon
@wulfrumpylon 3 года назад
really cool video i have 2800 hour's and didn't know many of these
@jockeyfield1954
@jockeyfield1954 3 года назад
i can play a 100 survivor vs 4 infected server in left 4 dead 2, and still get more fps than in a normal casual game on 2fort
@PoneDtheGuy
@PoneDtheGuy 3 года назад
I think the reason some things load/stay loaded even when they are technically out of site is an attempt to avoid obvious things popping in and out of existence in the player's view.
@LodewijkFidder
@LodewijkFidder 3 года назад
no its just a consequence of how visibility between visleaves is calculated
@road_chad3669
@road_chad3669 3 года назад
I disagree yes all of these things are indeed clever and help the game run better however, the reason why I personally call tf2 unoptimized is that it makes poor use of most hardware It offloads too much to the cpu, and on top of that it can only use 3 cores of the cpu (which is not intentional but a mistake in the games code that has been adressed in the community made team comtress fix) meaning it doesnt make good use of modern, and even older multicore cpus nor of GPUs (ironically meaning that yes tf2 could run well on integrated graphics provided they are paired with a good cpu) Since Ive already mentioned team comtress, Benchmarking demos played on the vannilla game and on team comtress shows that team comtress has an increased performance of up to 40%, simply by offloading some things to the gpu and fixing the multicore bug. This is and INSANE diffrence and I think it objectively proves that tf2 is an unoptimised game
@catke590
@catke590 3 года назад
I really want to see more about team comtress
@linear1224
@linear1224 3 года назад
True dat, also it irritates me to high heaven to see the team comtress bug fixes applied to dota and not team fortress 2.
@31w19
@31w19 3 года назад
Great video, but is there a config that dosent lower the graphics and Can still boost FPS?
@LodewijkFidder
@LodewijkFidder 3 года назад
if you want to improve fps there needs to be a compromise, you can only improve fps by making things cheaper to render and thus uglier
@greenlemon9155
@greenlemon9155 3 года назад
you are the only one speaking about tf2 that know what he is talking about, and this is exellent good job
@a.9252
@a.9252 3 года назад
The game may be properly optimized but whenever a spawn door opens my game freezes
@delta7380
@delta7380 3 года назад
i have a very low config but even with that i can have desent fps when a pyro spams the m1 literally dies my freaking fps or when there is rocket explotion,overheal and stuff it dies and idk what to do
@siy202
@siy202 3 года назад
The world models being shown in first person just look kinda cool to be honest, wish you could use the command in other games.
@ThatNormalBunny
@ThatNormalBunny 2 года назад
You most likely can if its a game that gives you access to the console/engine settings it might just be called something different
@sulphurous2656
@sulphurous2656 3 года назад
LOD in Source: Exists Drawcalls: I'm about to ruin this features usability
@ambreiaju
@ambreiaju 3 года назад
r_lod 0 FTW
@OctovenderReal
@OctovenderReal 3 года назад
And yet I still have to use mastercomfig low and cap my fps at 60
@OctovenderReal
@OctovenderReal 3 года назад
And about the end bit I play on a 3 or 4 year old gaming laptop so hardware should be fine but I still get frame drops, even when playing 6s. Maybe it's because everyone is an explosive class, maybe it's because everyone is grouped together. Maybe it's because I have an unusual medigun. Idk, I just want to be able to play without fearing that I'll drop to 20 fps without notice
@miolen9212
@miolen9212 3 года назад
@@OctovenderReal I play on 7-8 year old "not gaming" laptop that has an fried graphics card which will shut down the screen and force me to wipe the memory if I try to activate it, yet I get more fps than you with the mastercomfig low. What? Is it just the sorse magic?
@johnjonjhonjonathanjohnson3559
@johnjonjhonjonathanjohnson3559 3 года назад
@@OctovenderReal maybe its the RAM access memory or get rid of the dust
@OctovenderReal
@OctovenderReal 3 года назад
@@johnjonjhonjonathanjohnson3559 what
@Vash599
@Vash599 3 года назад
Could maybe touch on network optimizations like client-side prediction.
@diamondwave100
@diamondwave100 3 года назад
6:00 Hold up, what map is that? That actually looks beautiful!
@s4videos
@s4videos 3 года назад
koth_lazarus
Далее
The Least Fun Weapon in TF2
11:28
Просмотров 117 тыс.
The Coolest TF2 Map I've Ever Made - cp_fnaf
17:51
Просмотров 327 тыс.
I get on the horse's nerves 😁 #shorts
00:12
Просмотров 3 млн
how was tf2's art designed so well?
7:39
Просмотров 686 тыс.
Why Wutville Runs Like Trash
7:50
Просмотров 112 тыс.
The History of CP_Orange
10:13
Просмотров 704 тыс.
TF2: Death of Degreaser
12:01
Просмотров 452 тыс.
Left 4 Dead 2 and the Importance of Fog
9:08
Просмотров 114 тыс.
Why Demoman is respected, and Junkrat is hated
19:45
Просмотров 78 тыс.
how the tf2 classes and gameplay were designed so well
7:28
Why Exactly Are We Fighting In TF2?
16:49
Просмотров 1 млн
Interesting Places in TF2
11:35
Просмотров 148 тыс.