Jump to content
Zum Start hinzufügen

Weitere Informationen

3D-Modellbahn Studio

Eine Vollbild-App auf Ihrem Startbildschirm mit Push-Benachrichtigungen und mehr.

So installieren Sie diese App auf iOS und iPadOS
  1. Tippen Sie auf das Teilen-Symbol in Safari
  2. Scrollen Sie durch das Menü und tippen Sie auf Zum Startbildschirm hinzufügen.
  3. Tippen Sie oben rechts auf Hinzufügen.
So installieren Sie diese App auf Android
  1. Tippen Sie auf das 3-Punkte-Menü (⋮) in der oberen rechten Ecke des Browsers.
  2. Tippen Sie auf Zum Startbildschirm hinzufügen oder App installieren.
  3. Bestätigen Sie durch Tippen auf Installieren.

Empfohlene Beiträge

Geschrieben

1. I am sending a group of command 360s,  to find the location of rolling-stock at start-up of my plug-in. It's only 31 rolling-stock objects with 128 tracks total  but it takes 3.5 seconds to return. The time was fine before I added a bunch of trees and other decorations to the layout.

2. For some reason when I run Internet Explorer when my project is loaded it pretty much kills my computer. Though I guess the latter may be something I am not cleaning up right in the debug environment.

Geschrieben

Hi Trevor,

are you sending the commands in a group (command 10 and 11)? What's your FPS of your layout?

Kind regards,

Neo

Geschrieben
  • Autor

Ya sending as a group. FPS is a meagre 25ish with all those trees even when the simulation is not running.

Geschrieben
  • Autor

btw response time drops to close to 1 second if I make the trees invisible.....

Geschrieben

Please attach your layout file so that I can profile it.

Kind regards,

Neo

Geschrieben
  • Autor
Geschrieben

Thanks for the layout, but I cannot reproduce your timings. My workflow is as following:

  1. Sending command 350 for retrieving all rolling stock in the layout
  2. Sending command 10 for beginning the command group
  3. For each rolling stock returned by 1, sending command 360 for retrieving the track
  4. Sending command 11 for finishing the command group
  5. For each rolling stock, reading the result of command 360

All steps are performed within 60 ms, without a command group approx. 500 ms. Hiding other objects does not affect the timings. The layout runs at 200 FPS.

Kind regards,

Neo

Geschrieben
  • Autor
14 hours ago, Neo said:

Thanks for the layout, but I cannot reproduce your timings. My workflow is as following:

  1. Sending command 350 for retrieving all rolling stock in the layout
  2. Sending command 10 for beginning the command group
  3. For each rolling stock returned by 1, sending command 360 for retrieving the track
  4. Sending command 11 for finishing the command group
  5. For each rolling stock, reading the result of command 360

All steps are performed within 60 ms, without a command group approx. 500 ms. Hiding other objects does not affect the timings. The layout runs at 200 FPS.

Kind regards,

Neo

hmmm.... weird then...
200FPS.... wow.. I get that if I zoom out to cloud level in 3D... then it reads at 250ms. Do you have a dot net system over there... maybe u can run my code in the IDE and see if it's just my system.

 

 

Geschrieben
  • Autor

Sigh... my bad... Apparently I had a slew of unnecessary variable set commands in the Q I didn't know about... 

I hate multi-threaded code.

Sorry for wasting your time again.... thanks for checking though :)

 

Bearbeitet von trevor

Geschrieben

@ Neo,

... if i do so...

  1. Sending command 350 for retrieving all rolling stock in the layout
  2. Sending command 10 for beginning the command group
  3. For each rolling stock returned by 1, sending command 360 for retrieving the track
  4. Sending command 11 for finishing the command group
  5. For each rolling stock, reading the result of command 360

with that layout and my template it will take 20ms ... 30ms @60 FPS (VertSync=on)... but only if MBS is shown...
when i minimize MBS it will take 160ms...280ms... why?

EASY

Geschrieben

Hi Easy,

vor 2 Stunden schrieb EASY:

when i minimize MBS it will take 160ms...280ms... why

MBS automatically enters a "sleep mode" when it gets minimized to not waste too much resources. In sleep mode, the render loop is limited to 10 FPS.

Kind regards,

Neo

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Push-Benachrichtigungen konfigurieren

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.