@@ -172,42 +172,27 @@ Enable web server
172172-----------------
173173
174174This option enables an internal web server that can be used to display game and
175- train status information in a browser, intended for use on secondary screens.
176- When activated, the server can be accessed (on the local machine only) at
175+ train status information in a web browser, intended for use on secondary screens.
176+
177+ When activated, the server can be accessed from a browser on the local machine at
177178``http://localhost:<port> ``, where ``<port> `` is the specified port number.
178179
179- .. admonition :: For core developers
180-
181- The web server serves content out of the ``Content\Web `` subfolder of the OR
182- program folder; it features a simple API to obtain data from the simulator.
183- Responses are OR data structures
184- `serialized <https://www.newtonsoft.com/json/help/html/T_Newtonsoft_Json_JsonConvert.htm >`_
185- in JSON format. API call paths are case-sensitive.
186-
187- .. list-table ::
188- :widths: 15 15 35 35
189- :header-rows: 1
190-
191- * - Method
192- - API call
193- - Description
194- - Response type
195- * - GET
196- - ``/API/HUD/<n> ``
197- - | Retrieves the information rendered on the ``<F5> `` HUD, row by row,
198- | page by page, where ``<n>`` is the desired HUD page number.
199- - Orts.Viewer3D.WebServices.WebServer.ORTSApiController.HudApiArray
200- * - GET
201- - | ``/API/TRAINMONITOR ``
202- | or ``/API/TRAININFO``
203- - | Retrieves information rendered on the Track Monitor, such as speed,
204- | acceleration, grade, and upcoming hazards.
205- - Orts.Simulation.Physics.Train.TrainInfo
206- * - GET
207- - ``/API/APISAMPLE ``
208- - | A test object that demonstrates the JSON serialization of various
209- | data types.
210- - Orts.Viewer3D.WebServices.WebServer.ORTSApiController.ApiSampleData
180+ If you `open
181+ <https://www.howtogeek.com/394735/how-do-i-open-a-port-on-windows-firewall/> `_
182+ the web server port (just granting RunActivity.exe an exemption is not
183+ sufficient) in Windows Firewall, the server can also be accessed from a device
184+ on the local network, such as a smartphone, tablet or another PC, using your
185+ system's `IP address
186+ <https://support.microsoft.com/en-us/windows/find-your-ip-address-f21a9bbc-c582-55cd-35e0-73431160a1b9> `_.
187+ E.g.: If your Open Rails PC is at IP address 192.168.0.99, browse to
188+ ``http://192.168.0.99:<port> ``, where ``<port> `` is the specified port number.
189+
190+ :ref: `Sample web pages <sample-web-pages >` are included in the Open Rails
191+ installation and the browser will show a menu of sample pages.
192+
193+ As well as a web browser, data from the web server can also be fetched by any
194+ program which can make a web request, such as C# or Python, using the
195+ :ref: `Application Programming Interface <web-server-api >` (API).
211196
212197Overspeed Monitor
213198-----------------
@@ -382,6 +367,17 @@ Ambient daylight brightness
382367
383368With this slider you can set the daylight brightness.
384369
370+ Anti-aliasing
371+ -------------
372+
373+ Controls the anti-aliasing method used by Open Rails. Anti-aliasing is a
374+ computer graphics technique that smooths any harsh edges, otherwise known as
375+ "jaggies," present in the video image. Currently, Open Rails only supports the
376+ multisample anti-aliasing (MSAA) method. Higher applications of anti-aliasing
377+ will require exponentially more graphics computing power.
378+
379+ The default setting is MSAA with 2x sampling.
380+
385381.. _options-simulation :
386382
387383Simulation Options
0 commit comments