A Hierarchical Triangular Mesh variant of the standard Three.js SphereGeometry. The geometry features an implementation of the TOAST projection technique.
Complete with examples! View a demo
var myHTMSphereGeometry = new THREE.HTMSphereGeometry(radius, subdivisionLevels);
var toastMaterial = new THREE.MeshPhongMaterial({
map: THREE.ImageUtils.loadTexture('ref.png')
});
var myHTMSphere = new THREE.Mesh(
myHTMSphereGeometry,
toastMaterial
);
ref.png