Select to view content in your preferred language

Scene Viewer New Functionality- How to Edit to Upload 3D models in Web Scene?

8742
29
Jump to solution
06-15-2023 12:30 PM
Labels (2)
Amanda__Huber
MVP Regular Contributor

Hello Scene Viewer Team, 

We're very excited for the new capability to upload 3D Models into the scene viewer. We have lots of OBJ files and are excited to test it out. 

I watched your video tutorial in the the ArcGIS Online June 2023 Update announcement but it's uncear how you got to this setting/functionality: 
https://www.esri.com/arcgis-blog/products/arcgis-online/3d-gis/whats-new-in-scene-viewer-june-2023/ 

 

Amanda__Huber_3-1686857235792.png

 

It seems you need to have an editable scene layer to start(?) 

When we try to create a scene layer from AGOL > Create Item> Scene layer it appears OBJ files aren't supported: 

Amanda__Huber_4-1686857296698.png

 

 

That being said, we're trying to understand how to get started/set up a layer like to to add our OBJ files too. (Apologies if this is an obvious answer, we're just dabbling into the world of 3D GIS now)

 

Thanks in advance!

Amanda Huber

 

 
 

 

29 Replies
Ed_
by MVP Regular Contributor
MVP Regular Contributor

So let's say I want to bring a 3D asset from CityEngine to ultimately Scene Viewer. Is the process same for bringing over assets from CityEngine to ArcGIS Pro 3.1 that you mentioned under `Prepare data using latest ArcGIS Pro 3.1`? 

Question | Analyze | Visualize
0 Kudos
VeronikaLanders
Esri Contributor

Hi Saadullah,

could you share this in a bit more detail through a direct message? I'm not sure I understand what exactly you would like to do but generally, the process for supported 3D models that you have stored on disk is the same (independent of the source software).

Thanks,
Veronika

JamesFindlay
New Contributor

Hi @VeronikaLanders,

I've followed the steps as you described, but I still don't have the option to create new features from Scene Viewer--only edit the attributes for existing features. Is this still the correct workflow for 2024? I am using Pro 3.3.1 and the latest version of ArcGIS Online.

Sincerely,

James

0 Kudos
DanielFox1
Esri Contributor

Hi @VeronikaLanders 

We had a case that surrounds this issue and this workflow above was noted as a workaround. The issue was to do with using Web Mercator for publishing a 3D layer from ArcGIS Pro, here is the workflow 

Steps to Reproduce:

1. In ArcGIS Pro, create a new 3D object feature class and set the coordinate system to Web Mercator
2. Add the 3D object feature class to a local scene in Web Mercator
3. Use Add 3D Formats to Multipatch to enable the GLB format on the layer. This is required for web editing
4. Optionally import a 3D object using Import 3D Objects tool
5. Share the 3D object feature layer by right clicking on it > Sharing > Share as Web Layer
6. In the sharing config, enable editing, choose the option to cache online and make sure the option to publish a related feature layer is enabled
7. Start the sharing job
8. The job will fail after a few minutes. A service definition, feature layer and scene layer will be created in AGOL, but the scene layer won't open. Rebuilding the scene layer cache will not fix it

We have since logged a defect (BUG-000171140) against this but I would appreciate your comments on this matter or do you know if this is expected?

0 Kudos
MCh
by
Regular Contributor

Hi Daniel, @DanielFox1 

I would like to ask why would you Share As Web Layer instead of ZIP file and Add item on ArcGIS Online according to Veronika's steps above?

0 Kudos
MCh
by
Regular Contributor

Hello Veronika, @VeronikaLanders 

I've been following these steps and still can't get the Edit button function on Scene Viewer.
1. I created new .gdb with 3D object type feature class

MCh_0-1737380836029.png
2. I used this tool

MCh_1-1737380905622.png
3. Then close ArcGIS Pro to ZIP .gdb file

MCh_2-1737380953230.png
4. Go to ArcGIS Online and add ZIP file item as File Geodatabase

MCh_3-1737381011756.png

5. I've got File Geodatabase and Feature Layer

MCh_4-1737381117012.png

6. I go to Feature Layer > Settings > Enable Editing

MCh_7-1737381249849.png


7.I choose Publish > Scene Layer

MCh_5-1737381171929.png

7. Then I've got Scene Layer - 3D Object

MCh_6-1737381197976.png

8. I opened this Scene Layer in Scene Viewer and NO Edit button at all...

MCh_8-1737381352346.png

 

Please tell me what I've missed 😢
Thank you in advanced.

0 Kudos
kristian_inCitu
Emerging Contributor

Hi, this is a great feature 👏. Is there any plan to support the 3d model upload in API?
Thanks, 
Krisztian

VeronikaLanders
Esri Contributor

Hi Kristian,

actually 🙂 not just a plan - we released it also as a beta for the Maps SDK for JavaScript.

You can find more information in our SDK Release Notes and please feel free to reach out with your more specific questions, ideas and thoughts also through direct messages to our developer evangelist @ArnoFiva or me. Please keep in mind that this is a beta feature where documentation has room for improvement, we might still change public API and you may encounter some unexpected issues.


Thanks and looking forward,
Veronika

kristian_inCitu
Emerging Contributor

Hi Veronika,

Thank you so much for the update! I'm excited to hear that the new feature is available in Maps SDK for JavaScript. Starting to explore it and hopefully provide some positive feedback. 😀

Best, 
Krisztian

0 Kudos
BernardRIXEN
Esri Contributor

I tested this great idea ! It's a lot easer to update/upload 3D models.

I made it work with a dataset in wgs84 in a globale scene. Does it also work within a local scene and other coordinate systems ?

I tried to upload quite big files (>100MB), which are not uncommon, and they failed to load. Are there known limitations (max file size, max number of faces, possible unsupported features like material...) ?

By the way, when loading, a model was lying on its side. We're now able to turn it in the horizontal plane. It would be great to be able to do it in the other planes too.

Best, Bernard

0 Kudos