Update 3D_model_creation.md

pull/1499/head
Luca Giovannesi 3 years ago committed by GitHub
parent 9fd2158b0a
commit 28d74315a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,5 +28,6 @@ Next up, you will want to replicate the materials that you selected when designi
The final stage before exporting the model is joining all the individual parts. You can still edit things afterwards. But if you don't do this, you will only export the last selected part. First, select all the parts of the 3D model that you want visible in configurator. Click on the triangle to the left of the object name, in the obkect list in the top right of the screen. Hold the __shift__ key to select multiples. Once they're all selected, hold __Ctrl__ and press __J__. The parts should all now join, and you will see only one object in the list (objects not selected to be joined will of course still be there). If it didn't work, try __Ctrl__ + __J__ again, as sometimes I have had to issue the command twice.
## Exporting the model to glTF
Select you joined object and head to the top menu with __File__ > __Export__ > **glTF 2.0 (.glb/.gltf)**. Select the format **glTF Embedded (.gltf)**, Select the export folder and give it a name should be pretty straight forward. These export settings have worked fine for me.
![Immagine 2022-03-28 115931](https://user-images.githubusercontent.com/40276199/160375086-ef0eb587-9574-4f4e-b101-ce24e27e0e12.png)
You can then put the .gltf model in the Configurator __/resources/models/__ folder, and ammend the code to display the model.

Loading…
Cancel
Save