Josh Beckwith

Results 74 comments of Josh Beckwith

Instead of trying to add the canvas object to a threejs object, you will need to create a texture from the canvas, and apply it to a plane (which subclasses...

I think there should be some installation instructions. I added a PR for it after struggling for a while. https://github.com/hiukim/mind-ar-js/pull/251/commits/92f4d634b1918c35ea568de5dfd5ef3e54bb5c66

I am just starting with the library, but in general I think it would be nice to have a super basic version that doesn't do any rendering, just tracking. It...

You should be able to autoplay the video with a few extra parameters. ``

Cracked open the console and found a bunch of svg errors.

Seems like there is also a problem when setting `cameraMask.source` a second time. I get this error: `Uncaught TypeError: Cannot read property 'useProgram' of undefined`

Maybe not the best approach, but checking for `undefined` source before adding it to the array works. It fixes the issue of having to delay assigning source, but not the...

I'll work on making a test case. Yep, assigning `source` before `alphaSource` does the trick! Here are some shots of what happens when I try switching `source` after it's been...

Here's a test case. https://drive.google.com/file/d/0BxHpmZYCB3c2WXhTYXdmUGN1SUk/view?usp=sharing

Check out headless chrome. https://developers.google.com/web/updates/2017/04/headless-chrome