I have changed the code to XPLMInstancing, which is mandatory for X-Plane 11.50 Vulkan.
As I am on Linux, I was not able to 'make' for Windows and Mac, but I tested the new coding in a separate configuration.
I have marked all changes with 'nst0022' in the source code.
On my machine, 5 GroundTraffic plugins work now:
Golden Gate Bridge
Oakland Bay Bridge
MisterX San Francisco (1)
MisterX San Francisco cable cars (1)
San Diego Coronado Bridge
(*1) One peculiarity: The original GroundTraffic.txt files caused X-Plane to crash at the first XPLMInstanceSetPosition attempt.
I needed to replace all objects, that had ANIM_begin/_end in their .obj file with their counterparts without ANIM_begin/_end. I first thought, that XPLMInstanceSetPosition cannot handle animated objects, but it worked well with Laminar's Instance Sample Code. Well ?
I have changed the code to XPLMInstancing, which is mandatory for X-Plane 11.50 Vulkan.
As I am on Linux, I was not able to 'make' for Windows and Mac, but I tested the new coding in a separate configuration.
I have marked all changes with 'nst0022' in the source code.
On my machine, 5 GroundTraffic plugins work now:
Golden Gate Bridge Oakland Bay Bridge MisterX San Francisco (1) MisterX San Francisco cable cars (1) San Diego Coronado Bridge
(*1) One peculiarity: The original GroundTraffic.txt files caused X-Plane to crash at the first XPLMInstanceSetPosition attempt. I needed to replace all objects, that had ANIM_begin/_end in their .obj file with their counterparts without ANIM_begin/_end. I first thought, that XPLMInstanceSetPosition cannot handle animated objects, but it worked well with Laminar's Instance Sample Code. Well ?