I tried to make a world map with three.js, and find https://github.com/ftorghele/worldMap, almost everything I needed. I updated three.js and d3.js version according that awesome project, but have a problem on last step that mousemove to get country name
var vector = new THREE.Vector3( mouse.x, mouse.y, 1 );
this.projector.unprojectVector( vector, this.camera );
var raycaster = new THREE.Ray( this.camera.position, vector.subSelf( this.camera.position ).normalize() );
var intersects = raycaster.intersectObjects( this.scene.children );
I think should change like
let vector = new THREE.Vector3(mouse.x, mouse.y, 1);
let raycaster = new THREE.Raycaster();
raycaster.setFromCamera(vector, this.camera);
let intersects = raycaster.intersectObjects(this.scene.children, true);
but intersects always get empty array.
The content of (this.scene.children)
Thanks!