How do display visuals of one player on multiple monitors, while using Unreal Engine and MATLAB Simulink to start the program?
Show older comments
I am using MATLAB R2021b and Unreal Engine. How can I split the visuals of a single person driving in a driving simulator, which operates on Unreal Engine, and display them on two screens?
3 Comments
Nishan Nekoo
on 31 Aug 2023
Hi Kaitlyn, can you clarify what you mean by splitting the visuals?
Do you mean mirror the same display on two different screens, or do you mean to show some parts of the scene in one window, and other parts on a different window?
What are you trying to accomplish by "splitting the visuals"?
Kaitlyn Woolf
on 31 Aug 2023
Kaitlyn Woolf
on 31 Aug 2023
Accepted Answer
More Answers (1)
Nishan Nekoo
on 5 Sep 2023
1 vote
Kaitlyn, one way to do this might be to place two Simulation 3D Camera blocks in your Simulink model and adjust the parameters so that they cover the parts of the scene that you desire.
To visualize the camera images that are output by the Image port of that block, use a Video Viewer or To Video Display block. This will open the view from each camera in a separate window.
Categories
Find more on Simulink 3D Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!