he4rty wrote:
I like playing with 3d perspective in gimp but it can be a bit tedious, I have thought about writing a script but to be honest wouldn't even know where to begin, Hence why I am here pleading on hands and knees for some help.
The workflow I would like the script to achieve would be as follows
1) copy the current selected layer.
2) Select newly copied layer and lower layer down one in layer stack.
3) Scale layer smaller by a determined factor
4) Repeat a determined number of times from step one but on most recently scaled layer.
So I would like to have control over the number of times the script will repeat range 1-500
And be able to enter in pixels the amount to reduce layer by when scaled, separate value for the width and height.
Maybe the script could be called "Perspective Scale".
Thanks.
Past the 3rd or 4th iteration the layers will become very blurry, and there will be round-off errors on the layer size. It's better to apply a "ratio^N" scaling to the original layer to obtain the Nth layer.