Uploading and moving a logo over a texture

Hey!

I made a tshirt configurator.

Right now the user can choose a tshirt model and then change the design. Every design is a svg drawn on top of a canvas, and attached to the model using THREE.CanvasTexture().

I want to make a new feature which allows the user to upload a image (logo) and move it around the texture.
At first, i thought about putting an input field and draw the uploaded image to canvas, but i think i will have problems moving the image around.

Anyone achieved something like this before? Tips?

Thanks!

Hi!
Have a look at this topic:
https://discourse.threejs.org/t/three-js-fabric-js/2111?u=prisoner849

1 Like