Select to view content in your preferred language

3d scene layers and integrated mesh LOD issues

521
4
08-29-2024 01:20 AM
Fer
by
Emerging Contributor

Hi,

We have a VR scene that incorporates either an integrated mesh or a 3D object scene layer of an area imported runtime from an enterprise portal.

The model is derived from photogrammetry generated by a drone survey.

The problem I'm encountering is with the Level of Details (LOD) management. When using the integrated mesh, the more detailed tiles don't load at the appropriate time (see video attached).

We also tried using a 3D scene layer with a lighter model. In that case, there's no LOD management at all. The model appears clear (see screenshot attached), but this results in significant performance issues.

Is there a way to manually control the LOD? There is a specific way to publish the model on the portal to have it working properly in Unity? How does the LOD of 3d models function behind the scenes?

Many thanks!

0 Kudos
4 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

That does look much coarser than I would expect. 

A few questions:

  • What version of the Maps SDK for Unity are you using? (latest is v1.6)
  • What VR headset is the app running on?
  • What does the integrated mesh look like in the Unity Editor?
  • What does the integrated mesh look like in another app e.g. try the free ArcGIS Earth
  • Have you tried adjusting the Quality Scaling Factor property? (This option allows you to control the quality of the GIS content being rendered. A higher number indicates higher quality and a higher impact on performance. The default number is 2.)

Thanks

 

0 Kudos
Fer
by
Emerging Contributor

Hi Michael,

thanks for the reply.

Following the answers to your questions:

  • What version of the Maps SDK for Unity are you using? Masp sdk 1.6, Unity 2022.3
  • What VR headset is the app running on? Oculus Quest 3
  • What does the integrated mesh look like in the Unity Editor? Same as the build
  • What does the integrated mesh look like in another app? In ArcGIS Earth is the same as Unity. However in the portal it works well.
  • Have you tried adjusting the Quality Scaling Factor property? I tried even with a value of 9. The result improved a bit, but the issue that i showed in the video is still there. When I rotate the camera often it loads the LOD with less resolution, despite being the same distance to the model.

In the VR sample it seems that the LOD visualization works fine with both 3d object scene (San Francisco) and integrate scene layers (Girona). Maybe is there a specific workflow we need to follow when we publish the model as slpk?

Many thanks,

Ferdinando

 

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

A couple more questions:

  • When you're viewing the integrated mesh in the portal - do you mean it's a scene service hosted by ArcGIS Enterprise that you're viewing in the SceneViewer web app?
  • What workflow are you following to create the scene layer package (slpk) from the service? 

 

Thanks 

0 Kudos
Fer
by
Emerging Contributor

Hi Michael,

please see my answers below:

  • When you're viewing the integrated mesh in the portal - do you mean it's a scene service hosted by ArcGIS Enterprise that you're viewing in the SceneViewer web app? Yes
  • What workflow are you following to create the scene layer package (slpk) from the service?

The integrated mesh slpk, as the one I showed in the video, comes directly for the photogrammetry software . However we usually need to apply further refinement and optimization to the model using 3d modelling software such as Maya. In that case the workflow is: Import FBX in CityEngine > Manually geolocate > Export to File GDB (Multipatch) (gives better results than export directly to slpk) > In ArcGIS Pro from the MP create 3D Object Scene Layer (since Create Integrated Mesh Layer is only supported for OSGB format) > Publish

From fbx we can only obtain 3D object Scene Layer with this workflow. Is there another workflow to create integrated mesh from fbx?

 

Many thanks,

Ferdinando

0 Kudos