Duplicate: Create a 3d model from a 2d image using three.js
At least in the official repo there is no example for this.