使用v1001下的产品包 模型效果正常
使用v1010下的产品包 模型部分颜色效果变成黑色
效果对比如下:
代码不变如下:
GeoModel geoModel = new GeoModel();
geoModel.fromFile(rootPath + "/SuperMap/LocalData/阿拉善3D_02/ldcdh/NewSGM.sgm", position);
geoModel.setRotationZ(90.0);
geoModel.getNodeAnimation().setEnabled(false);
Layer3D layer3d = m_sceneControl.getScene().getLayers().get("NodeAnimation");
GeoStyle3D geostyle3d = new GeoStyle3D();
geostyle3d.setAltitudeMode(AltitudeMode.ABSOLUTE);
GeoPlacemark geoPlacemark = new GeoPlacemark("UntitledFeature3D", geoModel);
geoPlacemark.setStyle3D(geostyle3d);
feature3d = layer3d.getFeatures().add(geoPlacemark);
feature3d.setName(s);
m_sceneControl.setAction(Action3D.PANSELECT3D);
tag_addmoxing = "0";
F3DBean.DataBean bean = new F3DBean.DataBean();
bean.setFeature3D(feature3d);
bean.setName(s);
list_f3d.add(bean);