Modification FPS mirrors

Welcome to the OMSI-WebDisk!
As guest you can only see content in your selected language! Registered users can choose the visibility of other languages in their control panel, more informations here. All topics are marked with a language flag inside the forums: = English [EN], = German [DE], = French [FR].
If you're not able to speak the topic language than write in English!
  • I saw that in buses like Mercedes-Benz Citaro O530 by Alterr, or the Solaris Urbino BVG, the mirrors do not go jerkily, but in other buses yes. So my question is, can I do something to make sure that the mirrors of a bus don't go jerkily?

    Better to be silent and look stupid, rather than talking and remove all doubt.

    (In the original language sounds better that english, but the concept is the same ...)

    :)

  • Advertisement
  • mirrors are rendered in a way that is optimized for performance. every mirror is basically a second image that needs to be rendered, now imagine that you have like 4 or 5 mirrors on a bus. if they get updated every frame, you would loose a lot of performance. so, every mirror that you place in a bus gets updated less and less. the left one will be updated like every second frame, the second one will only be updated every 4 frames, the third one every 6 frames and so on and so forth. so, the more mirrors you have, the more "laggy" they will appear because they wont update as fast anymore.

    the man citybus series, as an example, has a few mirror configurations. even though only 3 are visible at the time, the long right mirror will appear more jerkily than the short one because the reflection is defined after the reflection of the short mirror so it gets handled differently. you wont notice that most of the time because the first mirror defined in the configuration of the bus is the left one, the second mirror is the right one and the third one is the interior mirror. even if the third one starts to lag, you wont notice it right away because the interior reflection doesn't change that much.

    so, to sum this up, thats an intended behaviour for performance reasons.

    you can force full rendering of the mirrors though. go to the settings , switch to the "graphics" tab and change the realtime reflections to "full".


    gft4Kch.png


    also, go to the graphics(enhanced) tab (dont know how its called in english) and change the first two values to something like that:


    vZiR1Zd.png


    this way, the mirrors will always be fully rendered, even if the performance is low. you do have to keep in mind though that every mirror can basically divide your framerate by two so you should expect a pretty bad performance.

  • Thank you!!

    Better to be silent and look stupid, rather than talking and remove all doubt.

    (In the original language sounds better that english, but the concept is the same ...)

    :)

    • Helpful

    There is a lot of confuson about mirrors, especially after at some point there was a change how they work, when we got the "-2" suffixes for addreflexion_Camera.


    In almost every available bus you have the first mirror (the main left one) set to render constantly, the others to not render when not in sight. You see this when you open the bus file and see the first mirror having an _2 suffix to the add_camera-reflection and the other mirrors not. The problem here is that without the _2 there is no 8th line with the distance from you to the mirror, and without a _2 if there is an 8th line it is ignored by OMSI and replaced by a default value, which nobody seems to know which value it is. But in many busses you can tweak it to almost having all mirrors render nicely without any performance impacts. You just have to find the right values, so especially in the main view only one mirror is rendered. The 8th line has to be as small as possible, but not too small. You also have to take into concideration that if you use the head moving option you have to give it some more tolerance.


    Here is an example from the Solaris Urbino PL, based on Alters BVG Solaris, so it might work in the original bus, but I have still not tested it there.

    Now you have to make sure that mirror rendering is set up to full (yes, full, not economic!) in the opions menu. But you won't lose any fps, because in the main view only one mirror is rendered. Same when you look to the right for the right mirror. Only if you look up to the mirror of the passenger cabin you will lose some fps because then there are 3 mirrors active. But you do this normaly only when beeing on a bus stop, so it won't bother you much.


    Next important thing to remember: if the bus has camera monitors it won't work, because they need a huge distance value, overlapping the others (it is the distance from you to the camera, not the monitor!). In my example those cameras are shut off with a very small value in line 8.


    Unfortunetly every bus is different, and there will be cases where the mirrors are too close to each other.

  • Thank you!!

    Better to be silent and look stupid, rather than talking and remove all doubt.

    (In the original language sounds better that english, but the concept is the same ...)

    :)