learningthreejs.com-backup
learningthreejs.com-backup copied to clipboard
Newbie 101 Issues list
Here are some issues I come across when first starting out, feel free to add.
- You can't add a group if the objects in the group were added to the scene already before adding to the group. The group needs to be added to the scene as well!
- If your cubes don't look nice when using shadows: only turn
castShadowson and leavereceiveShadowsturned off.
LEARNING FROM EXAMPLES
Examples sometimes give errors when trying to run with latest version of three.js, this is because three.js is not always backwards compatible:
ImageUtils.loadTexture(needs to beTHREE.ImageUtils.loadTexture(same goes for other non prefixed three.js functions)new Cube(needs to benew THREE.CubeGeometry(
which examples ? we need to fix them
I'm not sure if there are examples on three.js itself, however examples on the web that use three.js are not compatible with the latest version because of the THREE namespacing. (r 39 this has been changed, thus breaking examples that use the versions prior to r 39.)
yep three.js is still moving. lets focus on three.js and learningthreejs for now. It is already enougth i think :)