Canvas properties: Difference between revisions

Jump to navigation Jump to search
Line 121: Line 121:


: This is definitely something we'll need, also for supporting styling. I have currently something like (or a subset) of CSS in mind. We only need to take care that it stays performant even with a large number of elements, so this should be best implemented in C++.
: This is definitely something we'll need, also for supporting styling. I have currently something like (or a subset) of CSS in mind. We only need to take care that it stays performant even with a large number of elements, so this should be best implemented in C++.
=== Render 3D models to a texture ===
Omega95 mentioned how being able to load a 3D model and transform/render it to a 2D texture would allow more complex instruments and GUI widgets to be implemented using the Canvas system. This should probably be added as a custom canvas "mode", and it should probably be implemented such that it may later on be extended to also support scenery views using CompositeViewer or FlightGear aircraft [http://flightgear.org/forums/viewtopic.php?f=4&p=164245#p164243]. {{Not done}}


=== Smart Labels for OSGText elements ===
=== Smart Labels for OSGText elements ===

Navigation menu