Facepunch / garrysmod-requests

Feature requests for Garry's Mod
83 stars 24 forks source link

improve cameras #430

Open meatspace opened 9 years ago

meatspace commented 9 years ago

cameras are basically worthless on maps

they are so laggy they cant be used with any reliability. (ie say you have a security cam on a map and another player is watching it to see if anyone comes by)

they dont seem to work correctly on any multiplayer map ive seen with them

heres a few videos to show what i mean:

http://niicos.site.nfoservers.com/vizzymadethisfolder/2015-03-09_172321716.mp4 http://niicos.site.nfoservers.com/vizzymadethisfolder/2015-03-09_172150915.mp4

I know this goes beyond lua and is more likely an engine code thing but If you could improve them that would be cool.

ghost commented 9 years ago

This is normal for all multiplayer Source games. The game will update the screen when a certain player is around it.

meatspace commented 9 years ago

disagree, it works perfect in other multiplayer source games I play

as in, I can watch a monitor and see things happen without lag at all

ghost commented 6 years ago

this is still an issue :/

jorjic commented 2 years ago

You lag because your game is trying to render significantly more than it would without the camera. The engine works by dividing the game world into potentially-visible sets. Carelessly constructed maps will not be partitioned in a way that optimizes how the engine decides what is visible and what isn't. Maps that aren't made for Garry's Mod are often made by people who have a very good understanding of the limitations of the Source engine, and they decide what compromises to make when designing a map so that the game doesn't try to render too much at any given time.

Maps that are made for Garry's Mod usually aren't designed so carefully, so they naturally require higher-end hardware to run as well. If you introduce a camera, the game is now trying to render not only what it showed you before, but also another slice of the map. Most of that slice probably isn't visible, so the time it took your graphics card to render the scene was wasted.

This can't be easily fixed. The Source engine was never designed to meet the limits of imagination of hundreds of thousands of people.