This forum has been archived. All content is frozen. Please use KDE Discuss instead.

displace mask filter?

Tags: None
(comma "," separated)
nharmony
Registered Member
Posts
192
Karma
1
OS

displace mask filter?

Tue May 05, 2015 4:15 pm
hi Devs, do you think a displace filter can be added to krita? (eventually)

Something that deforms/distorts an image based on black/grey/white values. I don't really know how else to describe. If you are familiar with blender, you'll find it in the compositor, also in Nuke or AE.

Heres a link to its description in blender

http://www.blender.org/manual/composite ... place.html
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS

Re: displace mask filter?

Tue May 05, 2015 5:49 pm
Ah, well, it's something quite different to put it in Blender than to put it in Krita, because Blender is 3d and Krita is only 2d.

However, I do know someone on IRC was interested in using normal maps to deform the underlying image(like, UV-displacement would). I'll ask him next time I see him.

EDIT: Yeah, uv-displacement is also what blender does 2d.
nharmony
Registered Member
Posts
192
Karma
1
OS

Re: displace mask filter?

Tue May 05, 2015 6:12 pm
I thought it just worked based on the texture/map, no "real" 3d information needed? I've converted a black and white image into a blur filter before in krita (to do a faked shallow depth of field) for example.

I quickly googled displace in PS and came across this, http://photoshopcafe.com/tutorials/dispmap/dispmap.htm

it seems it distorts based on black and white values, as I had imagined.

edit: just wanted to see if it was even possible. i'll stick in the wishlist, perhaps.
torpak
Registered Member
Posts
32
Karma
0
OS

Re: displace mask filter?

Wed May 06, 2015 5:04 am
The link from the first post is indeed just 2d displacements with the displacement vectors encoded as colors. It's a filter in the post processing pipeline of blender not in the 3d part.
The Photoshop link seems to involve some kind of pseudo 3d. TheraHedwig maybe this could be implemented using a normal map and a simple surface renderer.
tokiop
Registered Member
Posts
3
Karma
0

Re: displace mask filter?

Wed Sep 12, 2018 3:46 am
Hi devs and community !

This page explains how "2d displace filter" it works in Gimp, I think it is the same behavior as in Blender and Photoshop. It is offsetting pixels based on a grayscale image. It opens a lot of possibilities, once you are used to it... you miss it !

I also would love to have such filter in Krita ! 8)

A "normal map" version could be very interesting and bring more control on the displacement direction/intensity, maybe allowing to "pinch" and "inflate", unlike the simple "2d offset" version.

Have a nice day !
saedjubarin
Registered Member
Posts
58
Karma
0

Re: displace mask filter?

Sat Mar 16, 2019 6:45 pm
Vector Displacement is turning RGB values into XYZ displacement. Might be cool in pseudo 3D.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell