orig74 / DroneSimLab

SITL ArduCopter & PX4 with Unreal Engine 4 Simulation framework
MIT License
143 stars 30 forks source link

Disbale game view window #30

Closed ykhedar closed 6 years ago

ykhedar commented 6 years ago

Hi, is there a way to disable the game view window? I am running the demo - px4_gazebo.

Thanks,

ykhedar

R055A commented 6 years ago

Enlarge the other window that you prefer so that it covers the game view window?

ykhedar commented 6 years ago

Visibility is less of a problem. Since I am not doing anything in this window and it is still being rendered, it is using some computational power (not sure how large or small). So I was wondering if there was a way to switch it off. :)

orig74 commented 6 years ago

If you are using the game mode (packed game) you can change the game parameters in the GameUserSettings.ini file under /LinuxNoEditor/testprj7_14_4/Saved/Config/LinuxNoEditor/. I don't know if you can disable it completely but you can change the screen resolution to something smaller and this maybe will save you some CPU usage. In the Unreal Editor, you can change the rendering parameters and also save some more CPU Usage.

ykhedar commented 6 years ago

Thanks @orig74 I will try this suggestion.

Edited: This works but the CPU load is unchanged. It seems that the game engine it self is demanding a high load, which would make sense. Would love to know your points.