• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

CCTVs - V1 Vanilla version

--updated--
Fixed the problems with the latest update :)

Works great! But a FPS eater xD
I will push a fix for the heavy FPS use shortly. I noticed im rendering out 1000 blocks on each camera....yikes! lol. I will reduce the culling to about 100 blocks, and we can adjust more or less based on feedback.

Ok, version 1.12 pushed, culling distance at 100. Feedback please. I can make a potato version if needed.

 
Last edited by a moderator:
Looking good! I wouldn't mind having a larger monitor, but still just for 4 cameras. So you have the smaller 0-3 and 4-7 versions, then have a larger 0-3 and 4-7 version, and then maybe one that displays all 8 at once? Just an idea.

 
Can I get some feedback on the FPS impact on the latest version with rendering distance reduced to 100? I can make it any number, but I only have 1080/i7 and a 1050TI/i3 machines to test on. The FPS impact of 4 cameras on the smaller one was minimal at 100.

 
With my GTX1060 3GB & i3-7350K i normaly have around 60 FPS with my settings. Using the latest update i got around 30 FPS.

It is better now, but still at least 50% frame drops. <- if use all 8 cams

Our server players are experiencing the same.

 
Thanks for confirming. I will push a new version when I return home later this week that will improve it even more.

 
To decrease fps drop per camera, I need to reduce how much each camera renders at once. Think of a camera as a player. The player can reduce his rendering distance in video settings and us to be able to reduce field of view as well. Currently rendering distance is 100 and FOV is 80. Next release I thought I would reduce draw distance to 60 and FOV to 60. I could increase pan degrees if needed to compensate for reduced fov but will need input on that.

 
At 0 fov we could do a zillion cameras! But seriously..Maybe I will put a spotlight on a camera with a tight fov like the guard tower spotlights in action movies.

 
Last edited by a moderator:
I'm curious how MY fps would be affected if ANOTHER player set up cameras...

 
Last edited by a moderator:
Think of each camera is a player. Some amount of cpu driving the server component is getting extra load. But yea I was surprised at how much it hit. Perhaps with custom code you could isolate the impact more but I'm using the humble switch class to do all this. I'm sure its angry about the extra workload. Also, the game is built on rendering layers, like terrain layer etc. It is possible to turn off some layers to reduce load but it can have strange appearances if you turn off the wrong layers.

 
Last edited by a moderator:
Version 1.3 pushed. Small cameras render out to 50 blocks and large cameras render out to 100 blocks. Increased panning arc and reduced FOV to 30. Removed HDR rendering and removed AntiAliasing on the cams.

Testing on moderate and powerful rigs indicate you will get a small improvement in your FPS now rather than a major decrease. Go figure. Let me know how your testing goes. As this version is a worst case baseline version, we can improve things if we want some small FPS hit per cam.

 
I always loved the CCTVs in 7 days! Nice work! Tested on a 5 player server and about 6-8 cameras is up. I cannot say I have no lag at all, but I do not notice any lag except the regular lag. I do play on a really nice PC though. ^_^

 
Good to hear the FPS issue may be resolved. I also pushed out the small camera rendering to 100 as it looks better and has no significant fps impact.

 
Version 1.41 pushed. Increased the screen resolution with apparently a tiny FPS impact. 512x256 native resolution per camera screen now, up from 256x256 scaled . Distance and close up detail is improved. Angled camera down 10 degrees to reduce sky rendering. Changed material properties to reduce fog effect and glare. Still has a little biome overlay that I can't completely defeat but it is improved.

Version 1.31 which has lower resolution is still available on Nexus if you can't handle the tiny FPS hit. This older version does not have the above enhancements. If folks really can't use 1.41, let me know and I can revisit that version.

VSync should be off or you may get a greater FPS hit.

 
Last edited by a moderator:
So let me get this straight, these cameras are vanilla and don't require everyone on the server to download/install it?

 
So let me get this straight, these cameras are vanilla and don't require everyone on the server to download/install it?
It is vanilla but if hosted on a dedicated server, then it needs a client install as well. Any modlet that is more than pure xml needs a client load.

 
Dream come true.. I loved the older CCTV mod but this one takes the cake. Took me 3 minutes to setup from Download to Camera use.

Best mod in 7DTD hands down

 
Back
Top