Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photoshop pixel bender Oil Paint look alike filter (Source Included!) #135

Open
Mickevincent opened this issue Nov 6, 2017 · 10 comments
Open

Comments

@Mickevincent
Copy link

Mickevincent commented Nov 6, 2017

Not sure if the forum were the right place to post this. But I am just wondering if someone could port this to Retroarch as a shader? Here is an URL to my post at the forum -

https://forums.libretro.com/t/photoshop-oil-paint-filter/13131

@Mickevincent Mickevincent changed the title Photoshop pixel bend oil paint Photoshop pixel bender oil paint Nov 6, 2017
@VelocityRa
Copy link
Contributor

VelocityRa commented Nov 6, 2017

What kinds of resources exist for it? Is there a shader already written for it that needs porting, or would someone need to start from scratch (probably a lot of work)?

Edit: Also I'm doubtful as to whether this would be possible real-time, for the Skyrim demo he says in the description that it wasn't real-time.

@Mickevincent
Copy link
Author

I dont know if any resource actually exists. I have tried to find it but I will look more.
From the Skyrim clip it is not real time. But it was also uploaded 2013. Maybe gpus today can do it in real time? Its kinda hard to tell but it doesnt seem like my 980ti has any problems with it. Of course when it runs 30 times a second it could be different... I would be really glad if someone could pull this one off.

@VelocityRa
Copy link
Contributor

VelocityRa commented Nov 6, 2017

Its kinda hard to tell but it doesnt seem like my 980ti has any problems with it

How did you figure that out?
In order for it to be feasible, running the effect (which might not even be viable at all in the form of a shader), should take less than ~10ms for 60 fps.

@Mickevincent
Copy link
Author

No you are absolutely correct. Like Iike said, maybe it would struggle in 30 fps, who knows. However it is absolutely faster than Waifu2x at least, but yeah.. doesnt say that much since waifu is extremely slow. Man if someone just could implement this one.

@VelocityRa
Copy link
Contributor

I did find those 2 shaders on ShaderToy:

https://www.shadertoy.com/view/MdGSDG
https://www.shadertoy.com/view/XtVGD1

Maybe with a few modifications it could resemble the look. Porting to Cg/HLSL shouldn't be too hard then.

@Mickevincent
Copy link
Author

Well, if it can look the same as the Photoshop filter it doesnt matter wich one it is. That is if anyone is willing to try and port them to Reteoarch then make them look the same :)

@Mickevincent
Copy link
Author

Mickevincent commented Nov 8, 2017

"- Its kinda hard to tell but it doesnt seem like my 980ti has any problems with it"
"- How did you figure that out?"

I should also mention that in photoshop when I adjust the sliders for this effect, the image updates fluidly. Looks like 60fps but it is at least 30. Now.. of course maybe this doesnt tell wether or not it wouöd actually run smoothly as a shader, but still. Doesnt seem to be a struggle.

No one up to try this? :(

@Mickevincent Mickevincent changed the title Photoshop pixel bender oil paint Photoshop pixel bender Oil Paint look alike filter (Source Included!) Nov 9, 2017
@Mickevincent
Copy link
Author

I found a source for a filter that looks the same. Here it is

https://yande.re/GreycShop-r216-src.zip

@VelocityRa
Copy link
Contributor

VelocityRa commented Nov 9, 2017

Interesting but as I suspected, it involves a lot of CPU processing and multiple steps (needs extra work), it would be hard to do on just shaders (RA's system) and you'd have to start from scratch.

@Mickevincent
Copy link
Author

Damn.. thats bad. I guess its alot of work to change these processes to gpu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants