Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement

This commit is contained in:
Robert Osfield
2011-03-16 10:51:42 +00:00
parent f2ce2f19a9
commit 256da4879e
3 changed files with 217 additions and 85 deletions

View File

@@ -1550,6 +1550,14 @@ void ReaderWriterP3DXML::parseSlide (osgPresentation::SlideShowConstructor& cons
else if (cur->name == "background")
{
constructor.setSlideBackground(cur->contents);
std::string str;
if (getProperty(cur, "hud", str))
{
bool hud = (str != "off" && str != "Off" && str != "OFF");
OSG_NOTIFY(_notifyLevel)<<"background hud, str="<<str<<", hud="<<hud<<std::endl;
constructor.setSlideBackgrondHUD(hud);
}
}
else if (cur->name == "bgcolor")
{