Hi! I manage to to mofify the obj example (https://threejs.org/examples/#webgl_loader_obj) with another object (house), but would like to add a function so that with the wheel of the mouse the camera moves back/forward. How can I do that?
One solution: You could add an instance of
THREE.OrbitControls like this.
// in your code var controls = new THREE.OrbitControls( camera, renderer.domElement );
Full example: https://threejs.org/examples/webgl_decals.html
Thank you - that did the trick!