It is currently Sun Oct 25, 2020 2:48 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 61 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Barbouille (Pure_autoPaint)
PostPosted: Fri Feb 15, 2013 12:09 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
(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/

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Last edited by dobro on Wed May 04, 2016 2:36 pm, edited 28 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 1:23 am 
Offline
666
666

Joined: Mon Sep 01, 2003 2:33 pm
Posts: 1033
dobro, that is awesome! :) Very very nice indeed. Thank you for sharing!


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 8:55 am 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1785
Location: Uttoxeter, UK
Impressionist, maybe. :)

Impressed, yes! 8)

Thank you for sharing. :D

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 9:50 am 
Offline
Moderator
Moderator
User avatar

Joined: Sat Apr 26, 2003 1:11 am
Posts: 1394
great idea dobro, thx for sharing

_________________
SPAMINATOR NR.1


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 10:58 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
Thanks All

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 11:05 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
Version Optimizing by Graph100 (french Forum)

10 Second for Résult ! :)

Code Page 1 top topic

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Last edited by dobro on Fri Feb 15, 2013 11:35 pm, edited 7 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 1:44 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6258
Location: Wales, UK
Top-notch effect, very impressive. 8)

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 3:03 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1681
Hey, that's pretty fun.

Replace the current line with this to get the filerequester patterns to work:
Code:
               File_image$=OpenFileRequester("Load Picture",File_image$,"*.jpg|*.jpg|*.png|*.png|*.bmp|*.bmp|*.*|*.*",0)


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 3:23 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
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 ;)

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 6:14 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
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

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Last edited by dobro on Sun Feb 17, 2013 5:12 pm, edited 6 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Fri Feb 15, 2013 11:36 pm 
Offline
Addict
Addict

Joined: Sat Dec 31, 2005 5:24 pm
Posts: 2970
Location: Where ya would never look.....
That is pretty nice, good job. :)

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

_________________
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Sat Feb 16, 2013 3:16 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 31, 2006 4:34 am
Posts: 537
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Sat Feb 16, 2013 10:24 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
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 ;)

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Sat Feb 16, 2013 3:36 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
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 ...

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Top
 Profile  
Reply with quote  
 Post subject: Re: Pure_autoPaint
PostPosted: Sat Feb 16, 2013 4:48 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Oct 31, 2004 10:54 am
Posts: 767
Location: France
New style Of Cederavic on the French forum

Image

:)

_________________
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 61 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye