Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://rawgit.com/jeromeetienne/ar.js/master/three.js/"</script>

<script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras/dist/aframe-extras.loaders.min.js"></script>
</head>

<body style="margin : 0px; overflow: hidden;">
Expand Down
2 changes: 1 addition & 1 deletion ARjs-gabarits/examples/a-frame/a-frame-model-fromjson.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://rawgit.com/jeromeetienne/ar.js/master/three.js/"</script>

<script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras/dist/aframe-extras.loaders.min.js"></script>
</head>

<body style="margin : 0px; overflow: hidden;">
Expand Down
2 changes: 1 addition & 1 deletion ARjs-gabarits/examples/a-frame/a-frame-model-gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://rawgit.com/jeromeetienne/ar.js/master/three.js/"</script>

<script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras/dist/aframe-extras.loaders.min.js"></script>
</head>

<body style="margin : 0px; overflow: hidden;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://rawgit.com/jeromeetienne/ar.js/master/three.js/"</script>

<script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras/dist/aframe-extras.loaders.min.js"></script>
</head>

<body style="margin : 0px; overflow: hidden;">
Expand Down
4 changes: 2 additions & 2 deletions ARjs-gabarits/examples/a-frame/a-frame-video-shader.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://rawgit.com/jeromeetienne/ar.js/master/three.js/"</script>

<script src="https://rawgit.com/mayognaise/aframe-video-shader/master/dist/aframe-vid-shader.min.js"></script>
<script src="https://rawgit.com/mayognaise/aframe-video-shader/master/examples/common.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mayognaise/aframe-video-shader/dist/aframe-vid-shader.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mayognaise/aframe-video-shader/examples/common.js"></script>
</head>

<body style="margin : 0px; overflow: hidden;">
Expand Down
4 changes: 2 additions & 2 deletions ARjs-gabarits/examples/a-frame/marker-event-video.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!-- NOTE: somehow `aframe-video-shader` makes error 😢 so it's been `aframe-vid-shader.min.js` for now -->

<script src="https://rawgit.com/mayognaise/aframe-video-shader/master/dist/aframe-vid-shader.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mayognaise/aframe-video-shader/dist/aframe-vid-shader.min.js"></script>
</head>

<body>
Expand All @@ -28,7 +28,7 @@

</a-scene>

<script src="https://rawgit.com/mayognaise/aframe-video-shader/master/examples/common.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mayognaise/aframe-video-shader/examples/common.js"></script>

<!-- TOGGLE A PLAY/PAUSE EVENT ON VIDEO ELEMENT
<script type="text/javascript">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<!-- include three.js library -->
<script src='https://rawgit.com/stemkoski/AR-Examples/master/js/three.js'></script>
<!-- include jsartookit -->
<script src="https://rawgit.com/stemkoski/AR-Examples/master/js/OBJLoader.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/js/MTLLoader.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/jsartoolkit5/artoolkit.min.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/jsartoolkit5/artoolkit.api.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/js/OBJLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/js/MTLLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/jsartoolkit5/artoolkit.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/jsartoolkit5/artoolkit.api.js"></script>
<!-- include threex.artoolkit -->
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-artoolkitsource.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-artoolkitcontext.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-arbasecontrols.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-armarkercontrols.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-artoolkitsource.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-artoolkitcontext.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-arbasecontrols.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-armarkercontrols.js"></script>

</head>

Expand Down Expand Up @@ -113,7 +113,7 @@
scene.add(markerRoot1);

let markerControls1 = new THREEx.ArMarkerControls(arToolkitContext, markerRoot1, {
type: 'pattern', patternUrl: "https://rawgit.com/fffiloni/models-library/master/navet-pattern.patt",
type: 'pattern', patternUrl: "https://cdn.jsdelivr.net/gh/fffiloni/models-library/navet-pattern.patt",
});


Expand Down Expand Up @@ -154,7 +154,7 @@
scene.add(markerRoot2);

let markerControls2 = new THREEx.ArMarkerControls(arToolkitContext, markerRoot2, {
type: 'pattern', patternUrl: "https://rawgit.com/fffiloni/models-library/master/pattern-marker.patt",
type: 'pattern', patternUrl: "https://cdn.jsdelivr.net/gh/fffiloni/models-library/pattern-marker.patt",
});

new THREE.MTLLoader()
Expand Down
18 changes: 9 additions & 9 deletions ARjs-gabarits/examples/ar-threejs/ar-threejs-OBJ.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<!-- include three.js library -->
<script src='https://rawgit.com/stemkoski/AR-Examples/master/js/three.js'></script>
<!-- include jsartookit -->
<script src="https://rawgit.com/stemkoski/AR-Examples/master/js/OBJLoader.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/js/MTLLoader.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/jsartoolkit5/artoolkit.min.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/jsartoolkit5/artoolkit.api.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/js/OBJLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/js/MTLLoader.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/jsartoolkit5/artoolkit.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/jsartoolkit5/artoolkit.api.js"></script>
<!-- include threex.artoolkit -->
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-artoolkitsource.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-artoolkitcontext.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-arbasecontrols.js"></script>
<script src="https://rawgit.com/stemkoski/AR-Examples/master/threex/threex-armarkercontrols.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-artoolkitsource.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-artoolkitcontext.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-arbasecontrols.js"></script>
<script src="https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/threex/threex-armarkercontrols.js"></script>

</head>

Expand Down Expand Up @@ -98,7 +98,7 @@
markerRoot1 = new THREE.Group();
scene.add(markerRoot1);
let markerControls1 = new THREEx.ArMarkerControls(arToolkitContext, markerRoot1, {
type: 'pattern', patternUrl: "https://rawgit.com/stemkoski/AR-Examples/master/data/hiro.patt",
type: 'pattern', patternUrl: "https://cdn.jsdelivr.net/gh/stemkoski/AR-Examples/data/hiro.patt",
})
let geometry1 = new THREE.PlaneBufferGeometry(1,1, 4,4);
let loader = new THREE.TextureLoader();
Expand Down
6 changes: 3 additions & 3 deletions ARjs-gabarits/examples/ar-threejs/ar-threejs-cube.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<!-- three.js library -->
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>
<!-- ar.js -->
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/build/ar.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/build/ar.js"></script>
<script>THREEx.ArToolkitContext.baseURL = "https://github.com/jeromeetienne/AR.js/tree/master/three.js/"</script>

<body style="margin : 0px; overflow: hidden; font-family: Monospace;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//three.js library
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>
//ar.js
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/build/ar.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/build/ar.js"></script>
<script>
THREEx.ArToolkitContext.baseURL = "https://github.com/jeromeetienne/AR.js/tree/master/three.js/";
</script>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

```html
<!--three.js library-->
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/examples/vendor/three.js/examples/js/libs/stats.min.js"></script>

<!--ar.js-->
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/0694b414/three.js/build/ar.js"></script>
<script src="https://cdn.jsdelivr.net/gh/jeromeetienne/AR.js@0694b414/three.js/build/ar.js"></script>
<script>
THREEx.ArToolkitContext.baseURL = "https://github.com/jeromeetienne/AR.js/tree/master/three.js/";
</script>
Expand Down