Bug
| Bug ID Number | BUG-000113348 |
|---|---|
| Submitted | April 19, 2018 |
| Last Modified | August 5, 2024 |
| Applies to | Portal for ArcGIS |
| Version found | 10.6 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Status | Non-Reproducible |
Modify some of the parameters of theĀ SLPK and get it rendered correctly in the Scene Viewer (attached Modified.slpk)
https://supt0005059.esri.com/portal/home/item.html?id=501da4000a814fd9a23a1eeeecb8e652:
1. Open the .slpk file in the 7zip software.
2. Extract and open all the 3dNodeIndexDocument.json.gz files (using 7-zip), and modify the '[]' value to be null in all 3dNodeIndexDocument.json files. Right-click and click Edit. Then click Save.
3 Extract and open all sharedResource.json.gz files, paste the following content into sharedResource.json files, and modify the value of the 'useVertexColorAlpha from false to be true.
{
"materialDefinitions": {
"Mat1": {
"type": "standard",
"name": "standard",
"params": {
"vertexRegions": false,
"vertexColors": true,
"reflectivity": 0,
"useVertexColorAlpha": true,
"ambient": [0, 0, 0],
"diffuse": [1, 1, 1],
"specular": [0.098039215686274508, 0.098039215686274508, 0.098039215686274508],
"shininess": 1,
"renderMode": "solid",
"cullFace": "none"
}
}
}
}
4. Extract and open the 3dSceneLayer.json.gz and modify in 3dSceneLayer.json file following value to be 'false':
"cachedDrawingInfo" : {
"color" : true
}
5. Upload the .slpk to Portal for ArcGIS and open the hosted scene layer in Scene Viewer: https://supt0005059.esri.com/portal/home/item.html?id=501da4000a814fd9a23a1eeeecb8e652
Bug ID: BUG-000113348
Software:
Get help from ArcGIS experts
Download the Esri Support App