harfang3d / dogfight-sandbox-hg2

Air to air combat sandbox, created in Python 3 using the HARFANG 3D 2 framework.
GNU General Public License v3.0
155 stars 49 forks source link

How can I run multiple dogfight windows? #69

Open KevinGrey opened 1 year ago

KevinGrey commented 1 year ago

Hello, I would like to conduct parallel testing in multiple environments, but I cannot find where to modify the IP address. Can you please tell me how to operate so that I can run multiple dogfight windows with different IP addresses on a single computer?

astrofra commented 1 year ago

Hi :)

The dogfight, when ran in nominal mode (with the complete 3D display), is using the GPU intensively. If you need to use it for AI training purpose, you might want to enable the "renderless" mode, this will allow you to run multiple instances of the program.

If you still want to maintain the display, I suggest to lower the resolution, disable the antialiasing and the shadows.

KevinGrey commented 1 year ago

Thank you for your response. However, what I would like to know is how to open multiple windows of "dogfight" and run different experiments, each requiring a different port number or IP address.