I have taken a break from playing with THREE.js but have some time to experiment again and so I have updated my THREE.js build from r49 to r54 and have managed to update everything in my experiments but I’m having issues with LOD.
In r49 I used the following to traverse the scene hierarchy:
THREE.SceneUtils.traverseHierarchy( scene, function ( node ) { if ( node instanceof THREE.LOD ) node.update( cameras[selectedCamera] ) } );
Now that generates a type error and informs me that THREE.SceneUtils.traverseHierarchy is not a function.
Checked the documentation for r54 but it’s a little behind so has anyone any ideas?
You can refer to the Migration Wiki for help upgrading to the current version.