Canvas view camera element: Difference between revisions

Line 193: Line 193:
* compare the scenegraph generated for sc::View vs. sc::Image using http://wiki.flightgear.org/Canvas_Troubleshooting#Dumping_Canvas_scene_graphs_to_disk
* compare the scenegraph generated for sc::View vs. sc::Image using http://wiki.flightgear.org/Canvas_Troubleshooting#Dumping_Canvas_scene_graphs_to_disk
* check whether sub-classing sc::Image and  directly using its _texture makes any difference or not
* check whether sub-classing sc::Image and  directly using its _texture makes any difference or not
** if it does, we could just as well add support for a custom <code>view://by-number/</code> protocol to the src/filename handling helper
* if all else fails, use an osg::Image and assign it to the texture and invoke its dirty() method to update the whole thing
* if all else fails, use an osg::Image and assign it to the texture and invoke its dirty() method to update the whole thing