I've been attempting to display the image below on a canvas numerous times, but unfortunately I can't seem to get it right.
I attempted substituting
var renderer = new THREE.WebGLRenderer({antialias: true});
with var renderer = new THREE.WebGLRenderer({ canvas: canvas });
, however instead of rendering, it just keeps loading indefinitely.
Here's the complete HTML page: https://jsfiddle.net/1k04rwsx/ (replace the obj models with something to trigger it to load)
P.S.: I'm fairly new at this, so please pardon any unconventional code.
A big thank you to anyone who can offer assistance!