SpaceRay
![]() |
||||||||
Posted: November 21, 2013 5:26 am | ||||||||
SpaceRay
![]() |
I have already searched in the FF filter library forum for threads or filters about gradient filling, filling shape with gradient, bevel, chisel, emboss, and all I have found are 2D gradient fill, and 3D style emboss or bevel that is done through the Surface result component, and none of them give a similar result than the one shown above
When searching in the FF library, I have seen and tried using around 30 filters I have found (in the library and in the forums) to see if they could be using some way of gradient fill like the one shown above, but none of them do it without using the already built-in bevel width inside FF and I think that you can´t use this to fill any shape of your own, or at least I do not know how to do it. I have tried to make it also with Photoshop, but do not know how to do it either, as photoshop makes already the final bevel without gradient fill. I have tried it myself, and made already 5 filters but none of them are even close to getting something like this shown above WITHOUT using the surface result |
|||||||
Posted: November 21, 2013 5:26 am | ||||||||
Skybase
![]() |
Angle n slope maybe... my bets are on that. But I doubt you'll get crisp edges using the method I know of.
|
|||||||
Posted: November 21, 2013 6:06 am | ||||||||
Leo Fernevak
![]() |
Spaceray, if you study scripting some more there are many ways in which you could achieve specific results.
Below is an example of a mapscript I made some time ago and incorporated in my filter GM Techno Shapes. The mapscript works like this: it produces 'semi-random' shapes, according to a specific pattern, and stores them in a string table, which is then used in the 'get_sample' function to visualize the 'pixels'. The randomized shapes below are drawn in 0.63 seconds, using a 1000x1000 pixel image, when shading is applied: ![]() Technically, it would not be difficult to draw all the alphabetical letters with my script, since I have made functions for drawing filled triangles and quadrogons. After that, the letters can be shaded using script functions. The simple shading seen above was achieved by merely calculating the distance to each horizontal edge, and then applying a shading based on that distance. I used similar techniques of shading also in another filter: Fastshading Mapscript. In the above filter mapscript, you can input either curves or images. In this library version, I used the alpha-channel for shape detection, so any input image should be plugged into a "Set Alpha" component (with both inputs used from the same image), before it is sent to the mapscript. (I have made later versions which utilizes the greyscale values instead of the alpha-channel, but both methods works fine) The Fastshading Mapscript lets you use several shading silders which are combined in the shading process. The mapscript basically works by detecting shapes on the horizontal plane, but they mustn't be too small and they should be separated by at least a little bit space, so the script can detect them as separate shapes. Just as in the other mapscript, the shading is done by calculating the distance to the edges of each shape. Basically, I added this filter to the library as a demonstration of possible ways of shading. I could make updates to create a more useful filter with more functionality. |
|||||||
Posted: November 21, 2013 10:48 am | ||||||||
SpaceRay
![]() |
I have to say that I have tried already with blur, threshold, high pass, tried with gradients and curves, and still I have not found a way that does work.
I have put the A letter and other shape beside the A letter as just and only examples, because I am asking if there could be a way for filling ANY shape that you may already have, or you must create them yourself already with the shading, and is done case by case and not for any shape.
Sorry that I do not understand what you mean. Please, can you explain it better? Do you mean using curves and gradients in different angles and making a slope with the curves over the gradients? I have thought about it but can´t make the gradients follow the inside of the shape.
Thanks very much GalaxyMeridian for all you have written, and is good top know that maybe it could be done with scripting, the bad thing is that I can´t make scripts, as I do not have any experience with it, so if it must be done this way with scripting I can´t do it.
I have tried your filter and followed your instructions above, but for me it does not work as expected, I mean that I do not know really how to use it, because I can feed an custom alpha channel, but then the shading filling does not follow the alpha channel shape. I think that maybe (or most surely) this is because I do not know how to use and configure your Fastshading Mapscript filter |
|||||||
Posted: November 22, 2013 4:42 am | ||||||||
xirja
![]() |
Here's a non scripted solution. Maybe start with a polygon, and then subtract and add parts for the 'A'. Darken mode on the blend is key.
Gradient Fill.ffxml _____________________________________________________
http://web.archive.org/web/2021062908...rjadesign/ _____________________________________________________ |
|||||||
Posted: November 22, 2013 1:12 pm | ||||||||
Skybase
![]() |
I kinda felt the stumbling block was "Image input" and complex curved shapes. Operations kinda become internal after all.
|
|||||||
Posted: November 22, 2013 8:16 pm | ||||||||
SpaceRay
![]() |
Thanks very much Xirja will try it, is cool and interesting how you have used the loops for making this filter.
|
|||||||
Posted: November 23, 2013 7:02 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,533 Posts
+31 new in 30 days!
15,348 Topics
+73 new in year!
27 unregistered users.