20,741
edits
No edit summary |
|||
| Line 17: | Line 17: | ||
== CanvasAnimation == | == CanvasAnimation == | ||
{{Note|For the time being this is probably the most important addition from a performance standpoint, because it will help dramatically reduce Nasal related overhead in the main loop, while also using native OSG data structures for handling animations.}} | {{Note|For the time being this is probably the most important addition from a performance standpoint, because it will help dramatically reduce Nasal related overhead in the main loop, while also using native OSG data structures for handling animations. | ||
Supporting native OSG animations will also be beneficial to [[Unifying the 2D rendering backend via canvas]], i.e. for porting the existing HUD/2D panels legacy code to OSG.}} | |||
Animations are currently not handled by any Canvas/OSG code directly - instead, Nasal callbacks (using timers and listeners) are used to emulate animations. | Animations are currently not handled by any Canvas/OSG code directly - instead, Nasal callbacks (using timers and listeners) are used to emulate animations. | ||