Hello, i am triying to do an utility to see the cameras of all players connected, but after +30 hours of triying im done, do anuone know something of how to do it? i am using render target cuz i want it dynamic
Hi Welcome to community!
It would be better to describe what you are trying to do exactly so we can provide a better suggestion.
So if you are trying to do this over the network that would be overly costly, depending on how many players can be in one server instance. In other words let’s say you have a render target and SceneCaptureComponent2D and you want to send this over the network like CCTV. This can be done, however it is not the best way to send that kind of data over the network.
If you are let’s say you have a team of 5 including yourself and you want to render their cameras in your hud, that’s a more understandable approach. Still render targets are costly in terms of GPU rendering so you have to optimize. What you can do, you can get all the controllers → find pawns → attach a SceneCaptureComponent2D to them and render their views into separate render targets. Then you can simply put them in your hud to display them.
The load over this is your local GPU, so having smaller render targets, maybe not capturing every tick would help. Do describe the actual thing you are doing maybe we could help better.