On 10/9/2011 9:28 AM, Robbo wrote: > I am trying to learn OSG for use in Flightgear. I have seen a technique used > regularly > that I am not able to figure out. > Essentially a scene is using an rgb file which is transparent and whilst > quite large > (1024x768), contains many different 'icons' of smaller size and what appears > to be an > 'alpha mask' for the main image area. These icons appear to be extracted and > used within > a dynamic scene, but I am not sure how this is done as it does not appear > obvious in the > code (i was expecting some image coordinates at least). > The particular example within Flightgear (for those who may be familiar) is > wxradar.cxx > and wxecho.rgb) > Could somebody please take the time to explain how this works in principle > and what the > technique is called?
Sounds a bit like a Texture Atlas. Yes, I would expect either the UV coordinates to be altered, or perhaps the transform/translate of the texture coordinate matrix. > Robbo -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org