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?

Modification FPS mirrors
- Ale041
- Erledigt
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet:
-
-
-
-
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".
also, go to the graphics(enhanced) tab (dont know how its called in english) and change the first two values to something like that:
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!!
-
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.
Code
Alles anzeigen[add_camera_reflexion_2] -1.377 5.056 2.285 0 52 175 -25 0.08 [add_camera_reflexion_2] 1.348 5.924 2.353 0 52 205 -10 0.10 [add_camera_reflexion_2] -0.005 5.2 2.576 0 52 195 -22 0.01 "reflexion3.bmp": [add_camera_reflexion_2] -0.372 0.1 2.793 0 80 45 -40 0.001 "reflexion4.bmp": [add_camera_reflexion_2] -0.294 -3.997 2.828 0 80 45 -40 0.001 "reflexion5.bmp": [add_camera_reflexion_2] 1.084 5.882 2.402 0 70 243 -29 0.001
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!!
-
Moderator
Hat das Thema aus dem Forum Fragen zur Erstellung von Modifikationen nach Fahrzeuge verschoben