提交 edae221d 编写于 作者: N nicolo.carpignoli

Last commit before release

上级 e22264da
# 2.1.5
- added `distance` and `distance` properties to `gps-entity-place` (location based)
- added new example for distance property
- added new example for a `gps-entity-place` that is always facing the user (location based)
- fixed error when source is image or video and not camera
- enhanced docs
# 2.1.4
- fixed wrong positioning of content on markers
......
......@@ -127,7 +127,7 @@ You can also use GeoAR.js **without** the script, adding `gps-entity-place` enti
<!doctype HTML>
<html>
<script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script>
<script src="https://raw.githack.com/jeromeetienne/AR.js/2.1.4/aframe/build/aframe-ar.js"></script>
<script src="https://raw.githack.com/jeromeetienne/AR.js/2.1.5/aframe/build/aframe-ar.js"></script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs>
<a-marker preset="hiro">
......
......@@ -101,6 +101,12 @@ It shows a debug UI with camera informations and a list of registered `gps-entit
<a-scene gps-camera-debug embedded arjs='sourceType: webcam; debugUIEnabled: false;'></a-scene>
```
## Tips
### **Content that will always face the user**
Look at [this example](./examples/always-face-user/index.html) in order to create `gps-entity-place` entities that will always face the user (so the user camera).
## Location Based Support
Tried on Huawei P20, works like charm.
......
......@@ -2526,7 +2526,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '2.1.4';
ARjs.Context.REVISION = '2.1.5';
/**
* Create a default camera for this trackingBackend
......
此差异已折叠。
{
"name": "ar.js",
"version": "2.1.4",
"version": "2.1.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "ar.js",
"version": "2.1.4",
"version": "2.1.5",
"description": "Efficient Augmented Reality for the Web",
"main": "",
"scripts": {
......
......@@ -2526,7 +2526,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '2.1.4';
ARjs.Context.REVISION = '2.1.5';
/**
* Create a default camera for this trackingBackend
......
......@@ -2526,7 +2526,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '2.1.4';
ARjs.Context.REVISION = '2.1.5';
/**
* Create a default camera for this trackingBackend
......
此差异已折叠。
此差异已折叠。
......@@ -76,7 +76,7 @@ Object.assign(ARjs.Context.prototype, THREE.EventDispatcher.prototype);
// ARjs.Context.baseURL = '../'
// default to github page
ARjs.Context.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/'
ARjs.Context.REVISION = '2.1.4';
ARjs.Context.REVISION = '2.1.5';
/**
* Create a default camera for this trackingBackend
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册