|
@@ -54,6 +54,14 @@
|
|
container = document.createElement('div');
|
|
container = document.createElement('div');
|
|
document.body.appendChild(container);
|
|
document.body.appendChild(container);
|
|
|
|
|
|
|
|
+ var info = document.createElement('div');
|
|
|
|
+ info.style.position = 'absolute';
|
|
|
|
+ info.style.top = '10px';
|
|
|
|
+ info.style.width = '100%';
|
|
|
|
+ info.style.textAlign = 'center';
|
|
|
|
+ info.innerHTML = '<a href="http://github.com/mrdoob/three.js" target="_blank">three.js</a> - video demo. playing <a href="http://durian.blender.org/" target="_blank">sintel</a> trailer';
|
|
|
|
+ container.appendChild(info);
|
|
|
|
+
|
|
camera = new THREE.Camera(0, 0, 500);
|
|
camera = new THREE.Camera(0, 0, 500);
|
|
camera.focus = 300;
|
|
camera.focus = 300;
|
|
|
|
|