Constant 3D graphic pixel size

160
2
04-30-2020 03:04 PM
MatthiasStraehl
New Contributor

Hi there,

Is there a way to render 3D graphics (e.g. ModelSceneSymbol, SimpleMarkerSceneSymbol), with a constant size? For our use case, we need some 3D graphics to maintain a constant size in terms of pixels on the screen, as for example the SimpleMarkerSymbol does.

If not, is there any recommended workaround to achieve the same result? E.g. by recreating the graphic whenever the camera zoom changes? It appears that the DistanceCompositeSceneSymbol QML type only allows to statically predefine a number of graphics, but doesn't allow to dynamically change the graphics based on the camera distance.

Thank you in advance for your response!

0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

This can be achieved with ModelSceneSymbol. You can set the SymbolSizeUnits to DIPs (device independent pixels) instead of the default (meters), and the width/height will be in screen size and not real world size. ModelSceneSymbol Class | ArcGIS for Developers 

MatthiasStraehl
New Contributor

Amazing, that's exactly what I was looking for. Thank you for your help!

0 Kudos