Rod wrote:
Tux check this out.
I opened a new image and applied the golden gradient to it and blurred it by 5.
Then i fixed the script to run interactively and ran it. I used the bumpmap it creates for the bump and the smoothed gradient image for the environment map. That gave me excellent results.
![Smile :)](./images/smilies/icon_smile.gif)
So i think running the filter interactively isn't the issue.
The problem i believe is running gradients for env-maps. They need to be smoothed by 5 or less maybe 3 will work. That gives much better results.
So if the script ran plugin-gaussian-blur at 3 or had a setting for it in the dialog i think that would fix most issues with jaggies.
Or perhaps the way the gradient is applied is the issue?
So i guess running the gradient normal causes jagged edges?
Well, from what it appears, you did run the LE plug-in interactively/manually, which is what I was suggesting for setting the LE Bump Map depth, since it can't be done in a script.
You're right, in that the emap you're using is a factor in the amount of aliasing seen. I'd say the font, the bump & lighting factors in heavily, as well. I think it's likely, in the result you got, the fact that you were able to adjust the the LE Bump Map depth, manually/interactively, was a critical factor.
Can you try this out and let me know your results?
Open any image and run Filters/Light And Shadow/Lighting Effects. Click the BumpMap tab and enable. Set the Depth to 0.01 and click OK. Keep the image open while using this script.
I've rarely had good results with the LE Bumpmap depth set to 0.10, at least on the Maps I've been using.
I've determined that if you keep the last image open, the one in which you manually/interactively ran the LE filter on, it won't kick out those noisy warning messages. If you close that image out, it will constantly complain until you go back and select a Bump Map that exists, and manually/interactively run the LE filter on that existing image.
By the way, there is an option to blur the Emap but it's done as a process of creating the Emap. I'll add the option to blur the final Emap image. I also need to add in the Bump Map curves and tweak the default settings for the next release.
![Image](http://gimpchat.com/gnutux/envirologo/emap-fire.png)