- Messages
- 138
- Country
Hello,
I've been playing with AS1000_PFD.html in \Pages\VCockpit\Instruments\NavSystems\AS1000\PFD\ to get a feeling on how this whole new method of drawing gauges with HTML/JavaScript/CSS works.
It seems pretty straight forward for 2D drawing, but what I don't understand is how the Synthetic Vision is being drawn.
There is this code here:
Does this code hand the drawing over to the engine?
How one goes about drawing their own synthetic vision or any 3D image on a gauge with the new framework?
Thank you.
I've been playing with AS1000_PFD.html in \Pages\VCockpit\Instruments\NavSystems\AS1000\PFD\ to get a feeling on how this whole new method of drawing gauges with HTML/JavaScript/CSS works.
It seems pretty straight forward for 2D drawing, but what I don't understand is how the Synthetic Vision is being drawn.
There is this code here:
Code:
<div id="HorizonContainer">
<map-instrument id="SyntheticVision" bing-mode="horizon" bing-id="PFD_SyntheticVision" show-overlay="false" config-path="/Pages/VCockpit/Instruments/NavSystems/AS1000/PFD/"></map-instrument>
<glasscockpit-attitude-indicator id="Horizon" background="false" bank_size_ratio="-17"></glasscockpit-attitude-indicator>
</div>
Does this code hand the drawing over to the engine?
How one goes about drawing their own synthetic vision or any 3D image on a gauge with the new framework?
Thank you.