.eng file's Light( State( Azimuth( X Y Z ) ) ) function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Triaged
|
Low
|
Unassigned |
Bug Description
This function in MSTS is interpreted as an angle from the light's original orientation, within the light always faces camera/viewer. While OR interprets this as a simple rotation angle just modifying the original orientation, but the light doesn't follow the camera dynamically by its facing.
Moreover the axes are also smashed somehow. The order of the axes depend on the Light( Conditions( Headlight() ) ) setting as well. E.g. in MSTS, when Headlight(1) is set, the Z(up) axis is the 3rd parameter of Azimuth() function; while when Headlight(3) is set, the Z(up) axis is the 2nd parameter of Azimuth() function. Strange, I don't quite understand it too, but OR handles this function in a different way than MSTS.
A good example of it is the following (already referenced in another bug) consist: http://
You may check the blinking orange direction indicators and compare them how in MSTS behave. For playing with them please find their definition in eng after line "COMMENT ( indexek 4 feny )"
Changed in or: | |
assignee: | nobody → James Ross (twpol) |
tags: | added: graphics |
Changed in or: | |
milestone: | none → 1.0 |
Changed in or: | |
milestone: | 1.0 → none |
Azimuth is not an X/Y/Z value, and neither is its cohort Elevation; both specify min/centre/max values for rotations about the Y and X axes. Open Rails currently only uses the centre value as it doesn't support glow lights following the camera, which is why you see the strange behaviour on the BKV_UV wagons - they specify 0/-180/0 and 0/0/180 for Azimuth so in OR you'll get the light facing directly forwards or backwards, but never outwards as might be more likable.