simple oil paint simulator

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
Comfort
User
User
Posts: 32
Joined: Thu Jul 05, 2018 11:52 pm

Re: simple oil paint simulator

Post by Comfort »

Very nice... thanks for sharing.
User avatar
CDXbow
User
User
Posts: 97
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: simple oil paint simulator

Post by CDXbow »

I have update the code in the first post.
You see the Keyboard shortcuts at the top of the source code and I have slightly optimized the "brush stroke" algorithm.
Great, I'll give it a good work out today. I will let you know how it goes.
User avatar
CDXbow
User
User
Posts: 97
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: simple oil paint simulator

Post by CDXbow »

Hi Mr L,
Solid as a rock. No crashes.
I put on my crevette and digital smock, smoked some Gauloises and had a little dab with your brush.
Came up with this bit of retro impressionist kitsch. It was a bit of a struggle and I had to sign it in another package.
Image
Mr.L
Enthusiast
Enthusiast
Posts: 146
Joined: Sun Oct 09, 2011 7:39 am

Re: simple oil paint simulator

Post by Mr.L »

Whaaaat? Incredible :shock: ! I would love to see a higher resolution version of your painting.
User avatar
CDXbow
User
User
Posts: 97
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: simple oil paint simulator

Post by CDXbow »

Mr.L wrote: Mon May 06, 2024 3:12 pm Whaaaat? Incredible :shock: ! I would love to see a higher resolution version of your painting.
Funny you should mention that. Normally I work on 2D digital works at approximately life size, I worked on this at a bit more than double the res because your brush works more predictably when it's larger. I then shrunk it down to 40% size - and didn't keep the original.

That multiple level undo was beautiful, it would never have got done without it. I'm going to try to understand the code now.

Do you have specific plans for the brush?
User avatar
idle
Always Here
Always Here
Posts: 5836
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: simple oil paint simulator

Post by idle »

CDXbow that's probably the nicest compliment one could ever give. :D
User avatar
CDXbow
User
User
Posts: 97
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: simple oil paint simulator

Post by CDXbow »

idle wrote: Tue May 07, 2024 3:19 am CDXbow that's probably the nicest compliment one could ever give.
Hi idle,
Sadly I have only got to France twice, it's a long way from Oz. I had a ball on both occasions. Later my daughter was an exchange student in France and speaks French fluently. We've all forgiven the Norman conquest. To be honest, I can live without the crevette but I''ll keep the Gauloises and have a nice red.
Cheers.
Mr.L
Enthusiast
Enthusiast
Posts: 146
Joined: Sun Oct 09, 2011 7:39 am

Re: simple oil paint simulator

Post by Mr.L »

CDXbow wrote: Mon May 06, 2024 11:49 pm Do you have specific plans for the brush?
Maybe some day i'll try to come up with a GLSL version and see if it runs faster on the GPU.
...untill then I'm waiting for the call from Adobe 8)
User avatar
idle
Always Here
Always Here
Posts: 5836
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: simple oil paint simulator

Post by idle »

CDXbow wrote: Tue May 07, 2024 6:08 am
idle wrote: Tue May 07, 2024 3:19 am CDXbow that's probably the nicest compliment one could ever give.
Hi idle,
Sadly I have only got to France twice, it's a long way from Oz. I had a ball on both occasions. Later my daughter was an exchange student in France and speaks French fluently. We've all forgiven the Norman conquest. To be honest, I can live without the crevette but I''ll keep the Gauloises and have a nice red.
Cheers.
I quite enjoy the local Gauloises substitute, it goes well with a Red wine and it stinks about the same. :lol:
User avatar
CDXbow
User
User
Posts: 97
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: simple oil paint simulator

Post by CDXbow »

idle wrote: Tue May 07, 2024 6:35 am I quite enjoy the local Gauloises substitute, it goes well with a Red wine and it stinks about the same. :lol:
Mauvaises herbes vertes.
Mr.L wrote: Maybe some day I'll try to come up with a GLSL version and see if it runs faster on the GPU.
...untill then I'm waiting for the call from Adobe
I don't think Mr Adobe needs any more brushes, he's got a few of his own already. I think if you have improvements in the future you should keep developing it. It's really nice work.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: simple oil paint simulator

Post by Kwai chang caine »

Splendid :shock:
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
benubi
Enthusiast
Enthusiast
Posts: 215
Joined: Tue Mar 29, 2005 4:01 pm

Re: simple oil paint simulator

Post by benubi »

This code is one of the many surprise jewels on this forum. I hope it gets updated perhaps one day.

I am not an oil painter but it's fun to experiment with it. As mentioned above by others the brush might need some additional brush-altering smear dynamism. That would make it very very realistic. It maybe has nothing to do with it but it remembers me the game "MudRunner" which has a powerful physics engine concerning driving big cars through mud and realistically getting stuck etc. to me these are "loosely" connected subjects.
Post Reply