Is it possible to export a selected object or a group of objects to image, like a screenshoot ? I don’t want to export all objects on the scene. From this post #989 I saw a solution but it seems to export all scene.
var renderer = new THREE.WebGLRenderer( { preserveDrawingBuffer: true } );
window.open( renderer.domElement.toDataURL( 'image/png' ), 'screenshot' );
Yes this is possible. It’s easiest when you render the selected object with a separate scene and renderer like demonstrated in the following fiddle: https://jsfiddle.net/4agd5zfh/2/