franbrennan / dinotakesatrip

Some Augmented Reality fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some Augmented Reality Fun

Dino Takes A Trip

click image to view full-res video


Dino Takes A Trip

A marker-based WebAR test created using AR.js Studio.

  • Live Demo 🦖✈️

  • Live demo marker image (print out and point your device camera at the marker image)

marker

on mobile devices, drag the AR content to rotate it - pinch and zoom it to scale.


Lights & Shadows

The files generated by AR.js Studio work brilliantly well straight out of the box... but here I also added some custom lights, plus a primitive entity to act as ‘land’ for shadows to fall on (both are commented in index.html).

Also note, shadow="cast: true; receive: true" has been added to the model entity and shadow="receive: true" to the land entity, to enable the shadows.


The AR Content

I created the 3D model using Blender 2.8. Please don’t scrutinise my modelling too closely, I only made it for a bit of fun 🙂


Handy Links

If you were interested in seeing Dino Takes A Trip you may also like to check out


Feel free to play around with absolutely anything that I've created here... and if you have any questions about any of it, just give me a shout and I’ll do my best to help 🙂

Twitter: @FrannieBrennan
LinkedIn: FrannieBrennan

About

Some Augmented Reality fun

License:MIT License


Languages

Language:HTML 100.0%