Page 1 of 5

Barbouille (Pure_autoPaint)

Posted: Fri Feb 15, 2013 12:09 am
by dobro
(Windows only ! )


Recently, I got a Small Graphics Tablet, Wacom

searching for a program to go with drawing, I first found Painter 12
hum ... too expensive for me, but very interresting!

especially mode "AutoPaint"
able to "paint" automatically, a photo ...

Cool .... then I found Dynamic AutoPainter!
this level simulation painter .. is very powerful!
there's a view here:

http://www.youtube.com/watch?v=oZOuWw71ZZ4


I say, "but how do you it??" :shock:

(2 and a half seconds later (yes I'm pretty slow at the moment))
I had the solution! :)

I take Purebasic and I put to work!
Here is a first result

Originally Photo
Image

Here Painting, output (xxx secondes after ), Of my Pure_Autopaint
Image :)
the pure impressionist style no ? : D

Here is the code of my prg ...

I just ask you to run it, before watching, how it works ... just to keep the magic :)

the result begins to see after Phase 8! , Be patient .... wait until the paint before criticizing: lol:
preferably rather choose a landscape image ... but it works well with the People Pictures :)

Code:
code being too big to fit on the forum
here is the link to the executable and the source


http://michel.dobro.free.fr/STLINE/down ... uto-paint/


the principle here uses a simple shapes (round, Square, Circle, Elipse)

but of course you can, especially using complex forms Brush
Vary in Style and Make "Impressionism", a watercolor, "Wet on Wet", "cubism" etc :)

link for Barbouille :
http://michel.dobro.free.fr/STLINE/down ... uille-1-4/

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 1:23 am
by LuCiFeR[SD]
dobro, that is awesome! :) Very very nice indeed. Thank you for sharing!

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 8:55 am
by davido
Impressionist, maybe. :)

Impressed, yes! 8)

Thank you for sharing. :D

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 9:50 am
by Rings
great idea dobro, thx for sharing

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 10:58 am
by dobro
Thanks All

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 11:05 am
by dobro
Version Optimizing by Graph100 (french Forum)

10 Second for Résult ! :)

Code Page 1 top topic

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 1:44 pm
by IdeasVacuum
Top-notch effect, very impressive. 8)

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 3:03 pm
by Tenaja
Hey, that's pretty fun.

Replace the current line with this to get the filerequester patterns to work:

Code: Select all

					File_image$=OpenFileRequester("Load Picture",File_image$,"*.jpg|*.jpg|*.png|*.png|*.bmp|*.bmp|*.*|*.*",0)

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 3:23 pm
by dobro
Thanks ;

I modified the Last code
adding a 2 Paint Style Cross "Croix" and "Croix2"
it shows how to add a new style :)

and English interface now ;)

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 6:14 pm
by dobro
the different styles

Gallerie des Styles

LE Style "Impressionisme"

Image

Le Style "Croix"
Image

Le Style "Croix Creuse"
Image

Le Style "Vermicelle"
Image


Le Style "pointillisme"
Image


Le Style "Flocon"
Image

Le Style "Aquarelle"
Image

Le Style "Cederavic"
Image

Le Style "Pop_Art"
Image

Re: Pure_autoPaint

Posted: Fri Feb 15, 2013 11:36 pm
by SFSxOI
That is pretty nice, good job. :)

Maybe adding a control to vary the 'intensity/depth' of the applied effects?

Re: Pure_autoPaint

Posted: Sat Feb 16, 2013 3:16 am
by yrreti
dobro :shock: + :shock: + :shock:

That is some excellent and amazing work. WOW!
And I might add. Fun to play with.
Thanks much for sharing.

yrreti

Re: Pure_autoPaint

Posted: Sat Feb 16, 2013 10:24 am
by dobro
SFSxOI wrote:Maybe adding a control to vary the 'intensity/depth' of the applied effects?

in To Do list :)


I just refresh code for the possibility of resized ;)

Re: Pure_autoPaint

Posted: Sat Feb 16, 2013 3:36 pm
by dobro
The Aquarrel Style :) (gouach style ?)

Image

this is the first style that actually uses a paint just be created
for the one I turned to Style "pointillism" in procedure Aquarelle

Then I apply an algorithm (which I will improve)
the interest is to be able to intervene after the fact, here I draw an ellipse with transparency ...
to give the side "Water" .. this is far from perfect, but I made ​​a working basis :)
to work on the canvas after the fact can stuff a lot, I think ... highlight as blacks, the red blue etc. ..
it opens the door to the "been treated to" for example :)

I use here an earthquake horizontal pixel color read on .. canvas and not on the reference image :)

ps: I have the opportunity to save the pref size of the window ...

Re: Pure_autoPaint

Posted: Sat Feb 16, 2013 4:48 pm
by dobro
New style Of Cederavic on the French forum

Image

:)