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
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
learning-threejs
================

Code repository for the examples from the Packt book "Learning Threejs"
Code repository for the examples from the Packt book "Learning Threejs"

**Chapter 1**

[01-basic-skeleton.html](http://murat-aka.github.io/learning-threejs/chapter-01/01-basic-skeleton.html)

[02-first-scene.html](http://murat-aka.github.io/learning-threejs/chapter-01/02-first-scene.html)

[03-materials-light.html](http://murat-aka.github.io/learning-threejs/chapter-01/03-materials-light.html)

[04-materials-light-animation.html](http://murat-aka.github.io/learning-threejs/chapter-01/04-materials-light-animation.html)

[05-control-gui.html](http://murat-aka.github.io/learning-threejs/chapter-01/05-control-gui.html)

[06-ascii-renderer.html](http://murat-aka.github.io/learning-threejs/chapter-01/06-ascii-renderer.html)


**Chapter 2**


[01-basic-scene.html](http://murat-aka.github.io/learning-threejs/chapter-02/01-basic-scene.html)
4 changes: 3 additions & 1 deletion chapter-01/02-first-scene.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
var axes = new THREE.AxisHelper( 20 );
scene.add(axes);

/*
// create the ground plane
var planeGeometry = new THREE.PlaneGeometry(60,20);
var planeMaterial = new THREE.MeshBasicMaterial({color: 0xcccccc});
Expand Down Expand Up @@ -88,6 +89,7 @@
camera.position.y = 40;
camera.position.z = 30;
camera.lookAt(scene.position);
*/

// add the output of the renderer to the html element
$("#WebGL-output").append(renderer.domElement);
Expand All @@ -100,4 +102,4 @@

</script>
</body>
</html>
</html>