Select to view content in your preferred language

Use rgb attributes to color features in 3D

227
1
11-03-2023 08:25 AM
BenjaminLecuona
New Contributor II

Hello community,

I want to display featureLayers of polygons / polylines and points in a SceneView using a renderer base on rgb attributes.

My approach is the same as described in this post , based on CIMPolygonSymbol, CIMLineSymbol, and CIMPointSymbol, with primitive overrides. But this solution seems to be incompatible with 3D because CIMPolygonSymbol and CIMLineSymbol are unsupported in 3D.

Is there any alternative to CIMSymbols and primitive overrides for 3D?

Thanks for your help.

0 Kudos
1 Reply
AndreasUlmer
Esri Contributor

First answer from the linked post also applies here: Use Color VisualVariables. This concept works for both CIMSymbols and non-CIM 3D symbols.

See samples:
* https://developers.arcgis.com/javascript/latest/sample-code/visualization-multivariate-3d/
* https://developers.arcgis.com/javascript/latest/sample-code/layers-scenelayer-edges/

Hope this helps.

0 Kudos