Select to view content in your preferred language

Arial and Integrated mesh quality

825
7
10-25-2022 12:03 AM
AydinUluc
Emerging Contributor

Hi,

Maybe I am missing something but the arial images and integrated mesh quality is different when we switch over to the map scene in Unreal. This happens only in runtime in Unreal Engine and followed every step as described here https://developers.arcgis.com/unreal-engine/maps/tutorials/display-a-map-ui/HTC_IoT_BIM.jpgHTC_IoT_BIM_TableTop.jpg

Thanks

0 Kudos
7 Replies
Matt_Nelson
Esri Alum

Ok can you do an experiment for me?

In the ArcGISCameraComponent.cpp file, in this function UArcGISCameraComponent::PushViewportProperties

Update this line 
MapComponent->SetViewportProperties(Properties.ViewportSizeX, Properties.ViewportSizeY, Properties.HorizontalFov, VerticalFov, 1);

to be 

MapComponent->SetViewportProperties(5 * Properties.ViewportSizeX, 5 * Properties.ViewportSizeY, Properties.HorizontalFov, VerticalFov, 1);

Let me know if that restores the quality.


0 Kudos
AydinUluc
Emerging Contributor

Hi @Matt_Nelson ,

It looks like nothing has changed. It feels like it stops loading the LODs because the mesh details are like LOD 6-7 and same thing for the tiles. Wondering if there is a way to fix this?

map.jpg

0 Kudos
Matt_Nelson
Esri Alum

in the SmrtTwin image what format is the data in? Is it already in in slpk format? I am not familiar with that tool. Do you by chance have access to arcGISPro to look at the data in there. Should be able to prove if it was a data issue or an issue with our sdk.

0 Kudos
AydinUluc
Emerging Contributor

Hi @Matt_Nelson ,

Here is a screenshot of the slpk file inside ArcGIS Pro and no problem with the data at all. The data is showing fine in the main scene (see the first posted image above), once we load the same data in the tabletop level we see the low res using the display map setup the quality is very bad. This happens only in runtime mode and it looks like of the LODs are not loaded. Inside the editor the LODs are loaded perfectly. Even the Basemap quality is really bad as you can see in the other shared images above in runtime

WhatsApp Image 2022-09-30 at 1.59.41 PM.jpeg

0 Kudos
Matt_Nelson
Esri Alum

Im not asking you to share it on this thread if the data should not be accessed by the public. But would it be possible for you to share with the development team so we can diagnose this issue? We can setup a line of communication via email if that will work for you.

0 Kudos
AydinUluc
Emerging Contributor

and here is the same view in the editor where you can see that the basemap and 3d mesh layer are higher quality.

tabletop.jpg

0 Kudos
AydinUluc
Emerging Contributor

Another thing that I found out is that if you only load the basemap the image quality is good but once you add a new layer (3dobject or mesh) then the image quality drops and no LODs of the 3dobject and mesh is loaded as shown in the screenshots

0 Kudos