简体   繁体   中英

How to customize AR.js camera?

We have a simple group project in AR.js. Goal is to add simple object created by us (like a chair) with hiro marker. Question is how is it possible to add side menu to choose over our items and print them on the scene. We already understand how to change object but can't add overlay in front of camera view.

Thanks !

Simplest way to achieve this is by adding a HTML element before or after the scene, then position it absolutely with CSS and make sure its z-index is high enough to be shown. This will put the HTML element in front of the rendered video output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM