Guide to Resize 3D models in Marvin XR Campaigns
Updated: Jul 8, 2022
Create AR campaigns under 5 minutes using Marvin XR's innovative platform. The no code platform is a great starting point for creators to deliver augmented reality without coding.
But sometimes you might have experienced the fact that the 3D model appears way bigger than you have imagined while creating it.
Of course you can pinch them into smaller scale but often it is not a good experience for the end users. So below are the key insights to adjust your 3D model size for your next WebAR campaign.
For Surface AR, you need mostly GLB file as a 3D model. When you upload it, our AR library auto converts the 3D into USDZ for iOS users. But this auto conversion does not work if the model is animated. For that reason, it is recommended that if the 3D model is animated, you should upload both GLB and USDZ extension of the 3D model. So it works well for both Android and iOS.
But it is always not easy to predict the size of the 3D compared to a standard human size or its distance from the viewer's eyes. Here's a shortcut to overcome the issue for now.
Create a free account in Sketchfab and upload your 3D model. It supports various formats including FBX, OBJ, DAE, BLEND, STL or even in ZIP, RAR, or 7z formats. Quite a wide variety of 3D models.
Once the 3D model is upload, click on the Edit 3D Settings.
Click on the AR/VR menu on the top left of the page.
Scale the model compared to standard human size - it is super simple.
Adjust the floor level of the 3D - so the viewer and 3D sit on the same plane.
Save and exit from the editor. Wait for 10-15 minutes while Sketchfab converts the model and provides option to download it as GLTF and USDZ model.
Download them and upload in Marvin XR Surface AR campaign. Drag the GLTF files into GLB Export, find the menu inside the campaign and immediately get the GLB model. Upload it to the campaign.
You're done now. Launch your campaign and see the 3D AR experience synchronized with the real world viewer perception. Much better AR experience for your audience.
Image based AR:
For this kind of WebAR, you only need GLB model whether it is static or animated and it works seamlessly with both Android and iOS. Resizing 3D model is comparatively very easy since USDZ format is not involved here.
Once you have created an Image based WebAR campaign, go the Web Editor menu.
Click Edit and find the following tag starting like this <a-gltf-model>
Resize the position (X,Y,Z) --> values will define how far the 3D model will sit in the corresponding coordinates.
Scale option will define what is the length of the 3D model in each of the coordinates.
Save the changes and see the 3D model taking its effect almost immediately.
Marker based AR:
Scaling and updating 3D model sizing for marker based WebAR is almost the same. Once you have created the Marker based WebAR campaign, go to Web Editor menu and change the following parameters and save it afterwards.
Now you know how to precisely control the 3D experience in the WebAR campaigns. This will save you time and effort significantly. Also the detailed process will help the non-technical creators to manage the AR experience and 3D model resizing by themselves.