Search code examples
javascript3dthree.jshtml5-canvastextures

Paint on an object using Three.js


I want to paint on an objects surface using the mouse.

Here's an example of what I want to do: http://www.cartelle.nl/deathpaint/

Does anyone know of any basic example of how to do this?

I guess you paint on a canvas and then that is applied on to the 3D object in some way. Anyone knows how this is done?


Solution

  • Finally I found this, chameleon.js

    https://tomtung.github.io/chameleon.js/

    Seems to do exactly what I wanted.