F-JYL wrote in Sat Feb 01, 2014 6:28 am:Should be next step I need to finish with the fuel panels,I also started ti write unit tests ..
galvedro wrote in Wed Jan 22, 2014 9:04 am:Philosopher wrote in Sun Jan 19, 2014 12:22 am:Unfortunately, I think the big problem with multiple instances is the property references in model files – one would have to be made for each instrument, which I can see no way to change .
Perhaps model files should be treated as "templates" instead, leaving to the instancing code in the core the responsibility of binding object property hooks to their final locations in the property tree. The final location could be controlled by aircraft authors in the cockpit definition files.
I am just thinking aloud. I have only really been exposed to the instruments I tweaked when integrating the soaring toolkit, so I have not much experience on how the binding actually work.
I'm even more convinced now that we should move the 2D panel and HUD rendering over to this approach, since that would get rid of all the legacy OpenGL code besides the GUI.
Users browsing this forum: No registered users and 2 guests