Model preparation:
- Load and customize your model in Pymol (2.4 or above!)
- avoid using mesh representation, and minimize sticks, balls and lines, as they will increase the file size. The size limit is 25 MB.
- transparency and labels will not be applied in the model
- To generate your 3D object, use the command:' save filename.gltf ', or go to ' File - Export image - GLTF... '
AR:
- Create a new repository in your GitHub profile
- Import this repository
- Upload your gltf model
- Edit the index.html file and change the name of the model "yellow.gltf" in line 18 to the name of your object, "filename.gltf"
- Commit changes, then in the repository, go to 'Settings - Pages - Branch' and select 'main' from the list
- Save, and after a few minutes the link for your AR scene should show up in the Settings - Pages site.
To View the AR scene, go to the URL shown in Pages on a device with a camera, and look at the marker image "3Dmarker.png".