Skip to content
← Back to Community
how to make augmented reality
Profile icon
BrightSideSide

⚫first, you need to get a 3d model, you can do so by making your own one in Blender, Paint 3d, etc

⚫Then export the model as a GLB file and upload it to repl.it

⚫Finally, add this code to your website:

<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script> <model-viewer src="Your 3d model's file name goes here .glb"ar-modes="webxr scene-viewer quick-look" environment-image="neutral" auto-rotate camera-controls></model-viewer>

{the AR only works in android devices}


if you're having trouble understanding or have any question feel free to comment

Voters
Profile icon
BrightSideSide
Profile icon
ZeenaFarook
Profile icon
ch1ck3n
Comments
hotnewtop
Profile icon
redley112

When you get typing really fast you tend to look away from the grammar being written and more towards the words being written.
slope unblocked

Profile icon
ch1ck3n

haha donut go brr

Profile icon
BrightSideSide
Profile icon
ch1ck3n

@BrightSideSide that means the donut is amazing

Profile icon
BrightSideSide

@ch1ck3n
oh thanks