Blair MacIntyre
33f548fc6c
weird incorrect line fix
...
in render, was setting matrixWorldInverse to invalide value, which would be overwritten anywhat.
2018-04-14 09:29:54 -04:00
Blair MacIntyre
e4a04f871b
in progress, switching machines
...
this doesn't work right now, refactoring
2018-04-03 13:53:23 -04:00
Blair MacIntyre
a8c735c040
added XRVideoFrame
...
Encapsulated all the functionality of video frames (receiving, managing cached ArrayBuffers, lazilly converting from base60 to binary, etc) in an object.
Included methods to clean up workers (postMessageToWorker and postReplyMessage). updated simplecv
2018-04-03 07:13:47 -04:00
Roberto Garrido
4473633a28
Added an alignEUS init option, that makes the ARKit initialize with ARWorldAlignmentGravityAndHeading configuration. Otherwise it'll be initialized with just ARWorldAlignmentGravity.
...
Also, fixed a typo.
2018-03-21 17:20:43 +01:00
Blair MacIntyre
1513e22473
Merge pull request #90 from mozilla/buffer-fix
...
fix for app update, buffer reuse
2018-03-20 21:51:29 -04:00
Blair MacIntyre
9729e4afe0
fix for app update, buffer reuse
...
Needed to pass ArrayBuffers into Workers and back out, and then back down to polyfill, in order to reuse them and not constantly reallocate
2018-03-20 21:50:42 -04:00
Blair MacIntyre
7a8a699d6c
removed incorrect comment
2018-03-20 08:45:29 -04:00
Blair MacIntyre
19d5ddfe8c
disable internal worker; resync requests for next vid frame.
2018-03-19 16:05:06 -04:00
Blair MacIntyre
2cd13d8819
simple update
2018-03-18 20:17:35 -04:00
Blair MacIntyre
26537b88d5
initial simple CV example
2018-03-18 14:58:09 -04:00
Blair MacIntyre
838ab6c56d
got rid of SITTING_EYE_HEIGHT, fixed floorAnchor
...
SITTING_EYE_HEIGHT was a hack, set it to 0 to no longer have an effort, should remove eventually.
Made "findFloorAnchor" return null in AR, and the stage height in VR. Added the hack to create a fake floor in common.js, where it belongs.
2018-03-08 17:39:08 -05:00
Roberto Garrido
a09bab16f1
Iterate the list of removed anchors so the corresponding nodes are also deleted.
2018-03-08 18:34:57 +01:00
Blair MacIntyre
dc8ea76326
fix
2018-03-07 17:08:26 -05:00
Unboring SL
0c8cefb95b
Fix setViewMatrix and set headPose before render each view
2018-01-12 11:26:19 +01:00
Unboring SL
5ef0f3c0cc
Add vrFrameData viewMatrix to adjust HMD issue
2018-01-10 11:54:24 +01:00
Trevor F. Smith
9ec79fce65
Merge pull request #56 from mozilla/gs-loggin
...
GA logging
2017-11-03 09:16:41 -07:00
Trevor F. Smith
f552018d63
Polish the coordinate system changes.
2017-11-02 13:21:16 -07:00
Trevor F. Smith
72ce0e7e9a
Try the coordinates without the XRCoordinates.
2017-10-31 09:20:42 -07:00
Josh Marinacci
a8623d62fc
added description overlays
2017-10-19 19:08:39 +00:00
Trevor F. Smith
870a16ffd6
Added an example that uses an envmap and a reflective model.
2017-10-06 17:40:16 -07:00
Trevor F. Smith
ce4789212e
Added a snazzier hit test example.
2017-10-06 15:39:22 -07:00
Trevor F. Smith
0fd8e81c92
Add floor anchor API and update the examples to use it.
2017-10-04 17:49:32 -07:00
Trevor F. Smith
34e88a32ef
Use a tracker coordinate system instead of stage. Update examples so they function but next they need to use the (not yet implemented) floor anchors.
2017-10-04 16:08:47 -07:00
Trevor F. Smith
d4697afe9d
Start reading back the hit test data from ARKit. There is something wrong with the way it is using the hit result anchor transforms from both ARKit and ARCore.
2017-09-26 13:56:05 -07:00
Trevor F. Smith
0056d370b7
Update to new promise based ARKitWrapper API. Implement XRAnchorOffset. Update hit test example to expect XRAnchorOffset instead of XRAnchor.uid from frame.findAnchor.
2017-09-25 13:02:22 -07:00
Trevor F. Smith
3cc6e8791c
Removed tweaks that are no longer needed for the ARKit app.
2017-09-08 15:10:50 -07:00
Trevor F. Smith
0a232e83dd
Rearranged the example code for clarity
2017-09-07 18:07:39 -07:00