Hi,
I am a long time xplane developer, dealing primarily with complex avionics implementations and specifically 2d rendering on gauges of 3d gauge data (for example, a glass gauge showing a 3d movable representation of the aircraft exterior). I’ve used OpenGL along with shaders to accomplish this in xplane.
I am experimenting with implementing a similar idea - a cockpit gauge which shows a 3d rendered scene. Read through the SDK docs (which I understand are still very premature), but already confusion arises regarding certain elements. I am not sure whether my confusion is due to the infancy of the MSFS2020 SDK and it’s documentation, or my lack of experience in MSFS development in general.
I can see that the nanovg library is available, allowing me to draw in 2d. How would one go about doing 3d rendering (into a bitmap, for example)?
Technically, this is also possible with webgl/ other html5 technologies but i am struggling to understand what is available to you as a developer writing code in c++ or js which gets compiled to a web assembly module.
Thanks!
I am a long time xplane developer, dealing primarily with complex avionics implementations and specifically 2d rendering on gauges of 3d gauge data (for example, a glass gauge showing a 3d movable representation of the aircraft exterior). I’ve used OpenGL along with shaders to accomplish this in xplane.
I am experimenting with implementing a similar idea - a cockpit gauge which shows a 3d rendered scene. Read through the SDK docs (which I understand are still very premature), but already confusion arises regarding certain elements. I am not sure whether my confusion is due to the infancy of the MSFS2020 SDK and it’s documentation, or my lack of experience in MSFS development in general.
I can see that the nanovg library is available, allowing me to draw in 2d. How would one go about doing 3d rendering (into a bitmap, for example)?
Technically, this is also possible with webgl/ other html5 technologies but i am struggling to understand what is available to you as a developer writing code in c++ or js which gets compiled to a web assembly module.
Thanks!