HTML/JS cab controls
Using CefSharp library, complex cab controls can be coded in HTML/JS with access to variables from the simulator.
The HTML page will be rendered to a texture which can then be applied to the 3D cab model.
(To be compared to new MSFS HTML gauges)
Variables that can be accessible in the cab controls must be defined in a C# class which is then made available in JS via an object (can be the same dataset as the future generic C# rolling stock scripts).
Events from the simulator must be received in the JS script.
The JS script must also be able to send events to the simulator and to C# scripts (such as TCS, power supply, etc.).
Mouse clicks on the cab controls in the 3D model must be translated to a click position on the HTML page.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Cédric GNIEWEK
- Direction:
- Needs approval
- Assignee:
- Cédric GNIEWEK
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
-
Not started
- Milestone target:
-
1.x
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
For ORMT response, see http://
Assignee Cedric will build a proof of concept.