You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-9
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,21 @@ So far, just a proof-of-concept using what I believe is the minimal code for usi
6
6
7
7
## Instructions
8
8
9
-
Copy the `demomod` branch of my fork of the AlvaAR code [here](https://github.com/nickw1/AlvaAR) into the project. Specifically, copy the `public` directory from the AlvaAR examples into a subdirectory called `alva` within the `public` directory in this repository.
9
+
This now includes a **modified** version of code from the AlvaAR examples, specifically the contents of the `assets` directory which contains library-style code.
10
10
11
+
Everything in the `alva` directory is taken from AlvaAR.
12
+
13
+
I have however removed the large `image.gif` and `video.mp4` files as these are not needed.
11
14
12
-
My fork has made one or two adaptations to the utility classes provided with the examples, to make them more reusable in other projects.
13
15
14
16
## Versions
15
17
16
18
This repository is currently very experimental and subject to change; I have experiments with both three.js and A-Frame. Currently, my aim is to try and re-use as much of the AlvaAR example code as possible.
17
19
18
-
### three.js
19
-
20
-
Just run a server directly inside the `public` directory and request `three.html`.
21
-
22
-
### A-Frame
20
+
### Build
23
21
24
-
Build the A-Frame version with
22
+
Build with
25
23
26
24
`npm run build`
27
25
28
-
Then run a webserver in the `public` directory and request the index page in your browser.
26
+
Then run a webserver in the `public` directory and request the index page you want (`three.html` or `aframe.html`) in your browser.
0 commit comments