# Question about chapter 5

**URL:** <https://talk.code3dgames.com/t/question-about-chapter-5/167>\
**Category:** Uncategorized\
**Created:** [October 21, 2019, 3:11am UTC](https://talk.code3dgames.com/t/question-about-chapter-5/167 "2019-10-21T03:11:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony48](https://talk.code3dgames.com/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@Anthony48](https://talk.code3dgames.com/u/Anthony48)\
**Post date:** [October 21, 2019, 3:11am UTC](https://talk.code3dgames.com/t/question-about-chapter-5/167/1 "2019-10-21T03:11:42Z")

</div>

They’re flat

 ![Capture%202](https://talk.code3dgames.com/uploads/default/original/1X/cbf4dd111fd304eaa657c64c8daf1522f78d5304.png)  
the code:

// \*\*\*\*\*\*\*\* START CODING ON THE NEXT LINE \*\*\*\*\*\*\*\*

var shape = new THREE.SphereGeometry(50, 20, 15);  
var cover = new THREE.MeshBasicMaterial({color: ‘blue’});  
var planet = new THREE.Mesh(shape, cover);  
planet.position.set(-300, 0, 0);  
scene.add(planet);

var shape = new THREE.SphereGeometry(50, 20, 15);  
var cover = new THREE.MeshBasicMaterial({color: ‘yellow’});  
var planet = new THREE.Mesh(shape, cover);  
planet.position.set(200, 0, 250);  
scene.add(planet);

the console:

Document was loaded from Application Cache with manifest [https://www.code3dgames.com/3de/editor.appcache](https://www.code3dgames.com/3de/editor.appcache)  
[www.code3dgames.com/:1](http://www.code3dgames.com/:1) Application Cache Checking event  
[www.code3dgames.com/:1](http://www.code3dgames.com/:1) Application Cache NoUpdate event  
extension.js:24 onMessage extension  
ial.js:425 Clean the cache of the scraper (new onComplete event)  
2three.js:20919 THREE.WebGLRenderer 87  
code.html:30 Uncaught SyntaxError: Unexpected token ‘.’  
2three.js:20919 THREE.WebGLRenderer 87  
three.js:20637 Uncaught TypeError: Cannot read property ‘length’ of undefined  
three.js:20919 THREE.WebGLRenderer 87  
code.html:23 Uncaught ReferenceError: T is not defined  
three.js:20919 THREE.WebGLRenderer 87  
code.html:23 Uncaught TypeError: THREE is not a constructor  
9three.js:20919 THREE.WebGLRenderer 87  
code.html:24 Uncaught ReferenceError: color is not defined  
three.js:20919 THREE.WebGLRenderer 87  
code.html:24 Uncaught ReferenceError: color is not defined  
code.html:24 Uncaught SyntaxError: Unexpected token ‘}’  
4three.js:20919 THREE.WebGLRenderer 87  
code.html:31 Uncaught TypeError: Cannot read property ‘render’ of undefined  
7three.js:20919 THREE.WebGLRenderer 87  
code.html:24 Uncaught SyntaxError: Unexpected token ‘var’  
code.html:24 Uncaught SyntaxError: Unexpected identifier  
three.js:20919 THREE.WebGLRenderer 87  
code.html:22 Uncaught TypeError: THREE.Object3d is not a constructor  
19three.js:20919 THREE.WebGLRenderer 87  
code.html:31 Uncaught TypeError: Cannot read property ‘render’ of undefined  
3three.js:20919 THREE.WebGLRenderer 87  
code.html:26 Uncaught ReferenceError: plan is not defined  
24three.js:20919 THREE.WebGLRenderer 87  
code.html:29 Uncaught SyntaxError: Unexpected identifier  
code.html:29 Uncaught SyntaxError: Unexpected token ‘new’  
three.js:20919 THREE.WebGLRenderer 87  
three.js:20637 Uncaught TypeError: Cannot read property ‘length’ of undefined  
three.js:20919 THREE.WebGLRenderer 87  
code.html:29 Uncaught TypeError: THREE.S is not a constructor  
4three.js:20919 THREE.WebGLRenderer 87  
code.html:34 Uncaught SyntaxError: Unexpected token ‘.’  
three.js:20919 THREE.WebGLRenderer 87  
code.html:30 Uncaught TypeError: THREE is not a constructor  
3three.js:20919 THREE.WebGLRenderer 87  
code.html:34 Uncaught TypeError: Cannot read property ‘render’ of undefined  
7three.js:20919 THREE.WebGLRenderer 87  
code.html:30 Uncaught SyntaxError: Unexpected token ‘.’  
code.html:30 Uncaught SyntaxError: Unexpected token ‘}’  
9three.js:20919 THREE.WebGLRenderer 87  
three.js:20919 THREE.WebGLRenderer 87

Sorry if I post stuff too much

---

<div class="post-metadata">

**Author:** ![chris](https://talk.code3dgames.com/user_avatar/talk.code3dgames.com/chris/32/5_2.png) [@chris](https://talk.code3dgames.com/u/chris)\
**Post date:** [October 21, 2019, 10:44pm UTC](https://talk.code3dgames.com/t/question-about-chapter-5/167/2 "2019-10-21T22:44:08Z")

</div>

I think everything is working as it is supposed to here. The “planets” are supposed to be a little flat. They will seem more 3D after you add a bunch more and start flying through them. Also, we talk about making them more 3d-like in chapter 12.

The errors look like old errors from when you were typing the code.

I think you are in good shape 👍

-Chris
