(Sorry for this 2nd pull request, I had to fix some cut&paste errors)
I have made changes to accomodate X-Plane 11.50 Vulkan, namely using XPLMInstancing instead of XPLMDrawObjects.
As I am on Linux, I could not compile for Windows or Mac, but tested the changes in a separate configuration (64-bit Linux only).
The plugin works (here) now for the following custom sceneries:
• San Francisco Golden Gate Bridge
• San Francisco Oakland Bay Bridge
• San Francisco Airport Vehicles (1)
• San Francisco Cable Cars and Ferries (1)
• San Diego Coronado Bridge
covering the GroundTraffic statements 'route', 'highway', and 'train'.
(*1) One peculiarity: In these two GroundTraffic.txt files, I had to replace all objects, that contained ANIM_begin/_end in their .obj files, which caused X-Plane to crash on first XPLMInstanceSetPosition, with their non-ANUM counter parts. I first thought, that XPLMInstanceSetPosition cannot handle such active objects, but in worked fine in Laminar's Instancing Sample Code. Well (?)
(Sorry for this 2nd pull request, I had to fix some cut&paste errors)
I have made changes to accomodate X-Plane 11.50 Vulkan, namely using XPLMInstancing instead of XPLMDrawObjects.
As I am on Linux, I could not compile for Windows or Mac, but tested the changes in a separate configuration (64-bit Linux only).
The plugin works (here) now for the following custom sceneries:
• San Francisco Golden Gate Bridge • San Francisco Oakland Bay Bridge • San Francisco Airport Vehicles (1) • San Francisco Cable Cars and Ferries (1) • San Diego Coronado Bridge
covering the GroundTraffic statements 'route', 'highway', and 'train'.
(*1) One peculiarity: In these two GroundTraffic.txt files, I had to replace all objects, that contained ANIM_begin/_end in their .obj files, which caused X-Plane to crash on first XPLMInstanceSetPosition, with their non-ANUM counter parts. I first thought, that XPLMInstanceSetPosition cannot handle such active objects, but in worked fine in Laminar's Instancing Sample Code. Well (?)