Azure / azure-remote-rendering

SDK and samples for Azure Remote Rendering
MIT License
106 stars 38 forks source link

[Question] - about model conversion #97

Closed magmukendi closed 1 year ago

magmukendi commented 1 year ago

I am currently trying to use Azure's remote rendering tools. And my model is about 580MB (it's an FBX file). I attempted to convert it into arrAsset but it say: "the conversion process exceeded system resources. It's possible the asset is too large.", even though I am using the premium and not the standard performance VM.

Does anyone know the maximum size the 3d model should have so that it is converted successfully ?

(Also, I would be glad to hear some tips about how to reduce the size of my FBX file)

Thank you in advance

WikkidEdd commented 1 year ago

I could give you tips on how to reduce the size of an FBX files, but the point of ARR is that you don't need to :) ARR can comfortably handle much bigger files than that.

We've had this error before on a file of only 145mb. We didn't report it as an issue at the time, but in hindsight, we should have. We hypothesized that it was the fact that it was a 3.5m triangle model but it was very small and it was causing some problems with the processing. It was a building floor plan with furniture and things like that, but the scale it was exported at was about 20cm. So there were chairs with 45k tris which were about 3mm across.

It could be that it is some other quirk about the file causing the problem, but it might be worth checking the scale of your fbx is sane and trying again.

For the ARR team. I just ran the problem file again to get you a conversion ID (413c019f-bbf6-4d22-b8e5-b8e8732bf47c). One thing I noticed is that the file took a long time to fail. Normally a similar complexity file would convert in under 5 mins, but this took 38 mins before it failed like it was stuck in a loop until it ran out of resources.

ChristopherManthei commented 1 year ago

Hi @LeGrandMAG , Sorry to hear you are having problems. Models can increase in size during the conversion process. However, given the small size of your input data, the problem is probably a bug in our conversion service.

If you are able to share the input data with us, we can debug the problem further and work an a fix. To make sure all privacy concerns are met, please only share models by creating a support request via the Help + support page in the Azure portal.

Cheers, Christopher

magmukendi commented 1 year ago

@ChristopherManthei @WikkidEdd, Thank you so much for all the tips and the support.

I will check the scale of my model again and try again. Also I will create a support request as suggested.

Big thanks

magmukendi commented 1 year ago

@ChristopherManthei , I created the support request (support request ID 2303030050000185). But for some reason I can only upload file as big as 4MB, not more. I won't be able to uploading my model there.

Will there be another way to share my input data with you ?

ChristopherManthei commented 1 year ago

@LeGrandMAG it looks like you managed to upload the model. Anything below 2gig shouldn't be a problem to upload.

@LeGrandMAG , @WikkidEdd thank you for providing the models, we can reproduce the issue and will keep you updated with our progress on creating a fix.

magmukendi commented 1 year ago

@ChristopherManthei Thank you so much for the suppport.

FlorianBorn71 commented 1 year ago

Hi @LeGrandMAG , we have deployed a conversion service update that fixes this specific out-of-memory issue. Thanks a lot for your contribution in CSS! @WikkidEdd , 'your' gltf bug is also understood, but the fix was a bit more involved. It's currently in review and once greenlit, the fix will be part of an upcoming release. I'll keep you updated in a separate channel, so I can close this thread with the original issue.