AltspaceSDK icon indicating copy to clipboard operation
AltspaceSDK copied to clipboard

Please remove the THREE.js requirement for including altspace.js

Open AGoblinKing opened this issue 8 years ago • 2 comments

Currently you have to include three.js even if you don't have 3D elements.

<script src="http://sdk.altvr.com/libs/three.js/r71/build/three.min.js"></script>
<script src="http://sdk.altvr.com/libs/altspace.js/latest/altspace.min.js"></script>

Ideally you could just include altspace and make use of the firebase connection for interesting 2D applications in VR.

AGoblinKing avatar Nov 19 '15 22:11 AGoblinKing

Good point. We should be able to make Three.js optional for 2D apps. I've added this to our backlog.

brianpeiris avatar Nov 19 '15 22:11 brianpeiris

That may be tricky given that a number of the utilities use three.js classes, but worth thinking about. Perhaps making it easier to use the individual utilities would be a way to go.

GavanWilhite avatar Nov 24 '15 19:11 GavanWilhite