Skip to content

AR.js based augmented reality application with a model directly from Pymol

Notifications You must be signed in to change notification settings

MokosDaniel/ARPymol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARPymol - Augmented reality from Pymol

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, but measurements will be visible, only without numbers.
  • To generate your 3D object, use the command:' save filename.gltf ', or go to ' File - Export image - GLTF... '

AR:

  1. Create a new repository in your GitHub profile
  2. Import this repository
  3. Upload your gltf model
  4. Edit the index.html file and change the name of the model "yellow.gltf" in line 17 to the name of your object, "filename.gltf"
  5. Commit changes, then in the repository, go to 'Settings - Pages - Branch' and select 'main' from the list
  6. 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".

In case you want to use a personalized Marker:

Any changes you make usually take around a minute to take effect in the webapp.

About

AR.js based augmented reality application with a model directly from Pymol

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages