Hey guys, im working on a map that has a wow camera sort of angle, the zoom is locked, but i have full pitch and yaw. The problem im running into is when im in one corner of the map, and i look to the other side of the map, the fps drops to around 5fps... does anyone have any experience working with this problem?
The FPS drop is due to the engine. In a typical FPS/TPS game engine, only what you see is actually there. For example, if I were to look at a wall in, say, Half Life 2, the wall behind the wall I'm looking at isn't rendered. This improves performence on a massive scale. SC2, however, is an RTS game, so, when in first/third person, EVERYTHING is being rendered. It's quite system heavy.
i attempted to change the far clip to a lower amount, but it still doesnt do much for me. I guess the only choice i have is to lock the pitch so that they cannot look too far across the map
Well if you know how (I don't), I'm sure you could make a script that checks which objects are in view of the camera, and if an object is not in view, then hide the object. Terrain can be hidden as well.
Farclip isn't really a good solution considering anything beyond that point isn't rendered at all, and it's like there's a black wall a few feet in front of you unless you have a lot of things blocking the distant view. This also makes skyboxes invisible.
Hey guys, im working on a map that has a wow camera sort of angle, the zoom is locked, but i have full pitch and yaw. The problem im running into is when im in one corner of the map, and i look to the other side of the map, the fps drops to around 5fps... does anyone have any experience working with this problem?
Its called "You show EVERYTHING at the same time." ... People have a solution ... its called streaming.
@Gorandor: Go
and exactly how do you do this streaming??
Edit: i got the same problem
The FPS drop is due to the engine. In a typical FPS/TPS game engine, only what you see is actually there. For example, if I were to look at a wall in, say, Half Life 2, the wall behind the wall I'm looking at isn't rendered. This improves performence on a massive scale. SC2, however, is an RTS game, so, when in first/third person, EVERYTHING is being rendered. It's quite system heavy.
So anyway, do tell about this streaming.
Enable Far Clip on your camera. 90 or so should be enough to keep lag down.
@Sephiex: Go
i attempted to change the far clip to a lower amount, but it still doesnt do much for me. I guess the only choice i have is to lock the pitch so that they cannot look too far across the map
You need to create streaming on your own. We hide every doodad & unit in a certain radius around the character for performance purposes.
@Sephiex: Go
how do you enable this farclip???
Well if you know how (I don't), I'm sure you could make a script that checks which objects are in view of the camera, and if an object is not in view, then hide the object. Terrain can be hidden as well.
Farclip isn't really a good solution considering anything beyond that point isn't rendered at all, and it's like there's a black wall a few feet in front of you unless you have a lot of things blocking the distant view. This also makes skyboxes invisible.
@Kanaru: Go
lol i dont know how. im a little new to the editor :)