3d elevation filter

3d

(Tobias) #1

If I change the parameter “factor” in the 3d elevation filter, I can’t see any differences between 100 and -100. For me this looks like a but.


(David Tschumperlé) #2

The difference is here anyway :

$ gmic sp lena r2dx 100 b 2 +elevation3d[0] 0.2 +elevation3d[0] -0.2 rm[0] c3d +3d. 120,0,0 +3d

On the left: a positive elevation.
On the right : a negative elevation.

Positive elevation means your 3d points are further (higher z-coordinates) when they have a high elevation.
Negative elevation means your 3d points are closer (lower z-coordinates) when they have a high elevation.


(Tobias) #3

OK, here are more information. :wink: I have G’MIC version 2.1.9 and Gimp 2.8.
Via command line it work her too.
But I used the Qt GIMP plugin. Here is the result from +/-100:
(Btw. it would be great if it would be possible to rotate the image interactive in the plugin preview like in the gmic command.)



(David Tschumperlé) #4

Ah right, I wasn’t thinking about the plug-in filter, sorry :slight_smile:
This looks like a bug actually, I’ll try to fix that ASAP.


(David Tschumperlé) #5

Fixed! Thanks for reporting!


(Tobias) #6

Thanks for fixing.