Talk:Canvas PFD framework: Difference between revisions

m
response
(Created page with "= How would this actually work? = I have created 2 Canvas PFDs so far, the Airbus A3XX PFD, and the McDonnell Douglas MD-11 PFD. This has lead me to realize that you can't hav...")
 
m (response)
Line 4: Line 4:
Kind Regards,
Kind Regards,
[[User:It0uchpods|It0uchpods]] ([[User talk:It0uchpods|talk]]) 20:14, 25 January 2018 (EST)
[[User:It0uchpods|It0uchpods]] ([[User talk:It0uchpods|talk]]) 20:14, 25 January 2018 (EST)
: Using the MVC approach, you can hook up different back-ends to different front-ends, just like the [[FG1000]] is currently doing via Richard's [[Emesary]] framework. But, don't bother looking at any of that, if you've only just begun with Nasal/Canvas coding - it introduces a fair amount of abstractions and sophisticated concepts that will all seem like gibberish to you and not make much sense. For starters, what would make more sense is to to come up with 2D drawing helpers specifically for creating PFDs/HUDs - i.e. a library of common elements and helpers to animate those. See Thorsten's existing shuttle work for example: https://forum.flightgear.org/viewtopic.php?f=71&t=33108
: This would basically be the first step - using either helpers to procedurally create such elements, or a combination of Nasal helpers and SVG/XML files for creating common elements that can be easily customized. --[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 04:50, 26 January 2018 (EST)