|
楼主 |
发表于 2017-8-22 18:13:02
|
显示全部楼层
geometry->setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE); 这行代码在3.4版本里面,参数不被识别,要换成osg::Geometry::AttributeBinding:: , 但是会提示 Warning, can't assign attribute binding as no has been array assigned to set binding for.
请问应该怎么做?谢谢了! |
|