views:

63

answers:

2

I would like to model oil and acrylic paint on a canvas in such a way that I can add a brush stroke to the canvas and have the colours mix.

I don't want to animate this happening, I just want to be able to model the final outcome of a brush stroke on existing paint.

Any suggestions?

A: 

You need to study liquid dynamics. Far too complicated for me, but that might be a good starting point for you. Not sure many people will be able to help you. Good luck

Xetius
thank you xetius, a googlable phrase might not be a complete answer but it is a very big push along
compound eye
+1  A: 

The program ArtRage does this very well, I think by looking at that you can get a good idea of how to do this.

Each pixel on the canvas needs to store several attributes related to paint; you can imagine that each pixel will store the amount and color of the paint at that point at the minimum. Painting would be a matter of starting with a set amount of paint on the brush, then as the mouse traces a path to paint, remove some from the brush and add some to the affected pixels.

This is just an overview of the most simple way to do this, there are many more details that will make this look much better (such as shading with a light source to get the 'bump' appearance).

Ron Warholic
thank you ron, the idea of moving paint pixel from brush to canvas is interesting
compound eye