IFC数据模型构件控制

控制ifc构件的隐藏与显示、着色

osg::ref_ptr<osg::Geode> geode1 = new osg::Geode();
osg::ref_ptr<osg::StateSet> stateset1 = geode->getOrCreateStateSet();
stateset1->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
float alpha = 0.5f;
m_system1->getCoordinateAxesNode()->addChild(geode1);

原文地址:https://www.cnblogs.com/herd/p/11301797.html