Is it possible to use bespoke markers that do not resemble the "Hiro" marker like below. Could I potentially use a random shape (a solid red oval for example) as a marker?    If this is not currently supported, could someone point me into the...
I wanted to know how to have a Aframe Component for any entity that define if the entity is seen by the camera, like a bool attribute.  "isSeen"= true || false   I tried with trigonometry (knowing the rotation of the camera, and the Entities&...
Edit 2: Here is the working code. Many thanks to Piotr for his help I couldn't have done it so effortlessly without you guys.   sceneEl.querySelector('a-sound').setAttribute('sound', {src:url3});        let playing = false;...
I never worked with html, javascript or a-frame and I want to make three collada files visible and then invisible one after another (like a keyframe animation sequence)and loop that animation.  That code works except for the possibility to loop the a...
When We Load A Big 3D Model Or Big A Video, It Takes Time To Load The Assets(Resources) And Render The Resources,So I Want To Show A Loading Screen Or Loading Gif File or a Loading A-Box - Till The Whole Assets Loading And Rendering Is Done,On The Sc...
just yesterday i started to tried the InstancedBufferGeometry method because i want to render thousand of objects with a good performance. In my case i want to instance cube geometries with different heights of each other. At moment i tried this code...
I'm trying to implement a score counter in my Aframe scene, and so far I have this code but it isn't working. Would someone be able to take a look at the code below and spot the mistake I'm making? Many Thanks. D   AFRAME.registerComponen...
How would I add a border to a curved image when selected?  The following code will change the material color of the image however I'd prefer to add a border or glow instead.  AFRAME.registerComponent('selectable', {      init: function ()...
I have a 360 Image using aframe.io library.  And I would like to see how to create a "throw" effect.  [Not sure what the effect calls] When user swipe left or right, the 360 images will rotate/spin to either direction and eventually finish af...
I'm trying to use regular Three.js raycasting in a web-based augmented reality app (as opposed to AR hit-testing, this question is not about hit-testing on real planes).  The web app uses A-Frame with the aframe-xr component to get WebXR support...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.