filters in progress

Post unfinished work here for feedback and advise.
Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Diffuse filter pack

Postby Lazur » Wed Jul 29, 2015 8:35 am

Image

The first filter I made with feComposite* to "stack" two filters.

Hosted at openclipart, feel free to use it:
https://openclipart.org/detail/223791/diffuse-filter-pack




*-understanding the setting values really given me a boost with filter editing:
https://openclipart.org/detail/223789/stacking-two-diffuse-filters-into-one

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Diffuse filter pack

Postby Espermaschine » Wed Jul 29, 2015 11:58 am

Looks like a gradient with a conical shape used for bumpmapping.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Diffuse filter pack

Postby Lazur » Thu Jul 30, 2015 1:53 am

Yes, the diffuse filter works that way: grabs the alpha values of the objects and uses it as a bumpmap, then applies the shading.
This case a radial gradient produced the conic look.

Probably will rename this topic something similar to another filter in progress...

Anyway, here is another pack:

Image

These now are a composite of four diffuse filters each.

svg image

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Diffuse filter pack

Postby brynn » Thu Jul 30, 2015 5:23 am

Wow! That looks awesome!

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Diffuse filter pack

Postby Espermaschine » Thu Jul 30, 2015 7:52 am

The bevels are cool ! How can we use this ?

Would a tutorial make sense or is that not possible ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Diffuse filter pack

Postby Lazur » Thu Jul 30, 2015 8:05 am

Thank's!

A tutorial for that?

Add your object a gradient fill that varies the alpha values
-radial gradients, repeated, maybe off-center and handles set smaller than the bounding box shows up better-,
then duplicate it, and use it to clip the original path.

Then -once this svg was imported- open the filter editor and tick in any of the diffuse filters.


For editing the filters themselves the diffuse filter's colours has the most effect.
Sadly there is a bug regarding the applied light direction -values are not displayed right in the editor once you change to another filter primitive-.


Considering to get it together better, and make a better explanation/tutorial.
(Though it's more of drawing the right object to be filtered.)

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

filters in progress

Postby Lazur » Thu Aug 13, 2015 10:55 am

Moved all previous posts to this work in progress one, because felt to add recent work to the previous ones, though they are not that polished yet to make up a whole pack.

This one is a chalk filter over a blackboard.

Image

original svg at ocal


Probably will remake it from scratch to improve the effect.
(Currently on 0.91 32 bit and win xp, the filter editor is still painful a bit. Switching off displaying the filters/switching it off from the objects and editing them blindly is a boost, though choosing the right settings needs rendering.)


Off topic:
Openclipart has changed the way how the thumbnails are generated, the reason why the image is so large -you can open it in new window/tab if you click on it.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Thu Aug 13, 2015 11:51 am

Image

A simple cloud filter for dailysketch 54.

original file

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Sat Aug 15, 2015 11:03 am

Remind me how to install filters, so they show in Filters menu?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Sat Aug 15, 2015 9:18 pm

How to install filters?
I have no idea, never tried that.
It's similar if there were gradients/gradient preset options boundled in inkscape (like five steps of a desired colour), and you wanted to store a custom gradient too. (Probably that's what custom swatches are good for?)

Just open the svg with the filter and go to the filter editor,
select an object, and
tick in a box next to the filter's name to apply it.

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: filters in progress

Postby v1nce » Sat Aug 15, 2015 9:57 pm

you can edit /usr/share/inlscape/filters/filters/filters.svg to add new filters

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Sat Aug 15, 2015 10:03 pm

Thank's!

That is a really helpful file.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: filters in progress

Postby ~suv » Sat Aug 15, 2015 10:28 pm

v1nce wrote:you can edit /usr/share/inlscape/filters/filters/filters.svg [*] to add new filters
Or - if you don't want to risk breaking a distributed file, or don't want to use sudo/admin privileges - just dump a file with user-defined filter effects into ~/.config/inkscape/filters/. For details (including how to define the names for menu items), check the manual. This works on all platforms (on Windows, it's %APPDATA%\inkscape\filters\ ).

--
[*] The path to the mentioned shared file with preset filters installed by inkscape on Linux usually is
'/usr/share/inkscape/filters/filters.svg'.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Mon Aug 17, 2015 11:22 am

I tried putting the SVG file into AppData/Roaming/Inkscape/filters. But it didn't work. That's why I asked for help.

Yes, I restarted Inkscape. Didn't think I needed to restart the computer....but maybe?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Mon Aug 17, 2015 11:52 am

Based on /usr/share/inlscape/filters/filters/filters.svg, I would guess if you delete everything in the file, except the filter, it would work?

Hmm used clipping on some of those, so maybe add the filter to a rectangle, delete everything else, cleanup document, then delete the rectangle for an empty svg with the filter.


Off topic:
On openclipart thumbnails: the url-s generating 2400 px wide thumbnails can be edited manually for other sizes, like:
https://openclipart.org/image/120px/svg_to_png/223677/Y1II.png.
Haven't consulted with Rejon, not sure if that's a supported way (Like, if thumbnails generated are stored on their server, would that mean custom thumbnails use up extra space? If so, that is a call for hackers.)
If they are fine, then will resize the image to be 600 px wide.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Mon Aug 17, 2015 3:19 pm

Hhmmm.... Well, partial success.

I have the ABCs category, which had been removed in 0.91, has returned, and it contains 9 Diffuse Light filters. Is that how it's supposed to be?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Wed Aug 19, 2015 7:35 am

A fire filter.

Image

-svg-


Image

-svg 2-


Something improvised, not a nice polished one. Still, it is quite heavy on the rendering.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Mon Jun 26, 2017 6:29 am

Two years' necromancy time!

As of some of you may already know, had started a parallel topic here and
also a blogspot page here related to svg filtering.

So far it went pretty much under the radar and now trying to reorganize my thoughts.
*insert Moses image here*

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Mon Jun 26, 2017 6:45 am

First thing first, "am I getting to you"?

With all the previous drama, we now have two parallel forums, neither of which is considered or maintained by the inkscape board.
There seemed to be steps taken forward for creating an official one "from scratch" -maybe there is one already running in test mode (?)-, but it's more or less in development hell at the moment.
If the concept will revive, these predecessor forums are intended to be merged together, so mirroring the other topic previously linked may not be the best idea to start with, though noone can tell.

Here the topic may get more attention, which I feel lacking.
Eventually I'm trying to push forward the developer team for some changes related filtering and also a bit of drawing gui wise.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Mon Jun 26, 2017 7:05 am

In addition, what I did already is rigging quite alot of custom filters, of which may be more spot on design wise than those already inside the built in filter list.

they are tematically collected
paper and pencil
gradient map
wood grain
stone
fabric and painting
blackboard
fire and dust
abstract


Will probably make some tutorials on filter making although at some point it will get clear that there are some conceptual problems both with the svg spec and the filter editor.
Also heard that filtering may be dropped from the spec and into css (?) which may also indicate some changes in inkscape.


Edit:
collected the filtering related tutorials by Xav's series here as a start.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Mon Jun 26, 2017 10:06 am

Just because you don't see people posting "Thank you Lazur", "Awesome", "Amazing", "Great work, man!" etc., etc., doesn't mean your filters or your artwork are being ignored.

I don't know if you've noticed, your topic at IC is showing the highest number of views for that board. This topic and the Iterative Art topic are both showing some of the highest number of views on this board. And who knows how many visitors follow links to Open Clipart to download them. I assume OCA shows download statistics?

I think the history of this forum has proved, over and over again, that members are not interested in that type of social interaction, as gushing, emotional posts about artwork. You know I'm always happy to hear suggestions for IC, and make whatever changes are requested (assuming I'm capable of doing it). But in the end, no one can force people to participate in any particular way, except for how they want to participate.

Deviant Art seems to provide this kind of interaction. A lot of DA members participate in that way there. But a lot of people don't. The gallery at IC can be set up for people to rate images, but no one has ever asked for it. And it's already set up for comments.

Hopefully, the new Inkscape Vectors group/team can come up with some ideas. But in the end, no one can force people to behave in a certain way. It doesn't mean they don't appreciate you or your filters or your artwork. They just don't post over and over again about it.

By the way, have you ever thought about offering your filters to be installed into Inkscape? I mean packed with Inkscape, so that people don't have to install separately. I don't know exactly how to do that, but it would be easy enough to ask someone. Probably they would not want to install the entire packs, but you don't know either way, unless you ask.

Regarding the forum issue, I can make a post about it, if anyone is interested. (would be off topic to discuss here in your filters topic) But the short version is that the Board still does want an official forum. They just don't have any place to put it (and don't want to pay for a place ) (and don't want to find a way for the community to pay for a place, such as crowd funding or the like) (personally I don't understand why).

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: filters in progress

Postby Lazur » Mon Jun 26, 2017 10:54 am

It's not mainly about the standing ovation but lack of attention in general.
Comments/favoriting in DA is mostly from those who have 0 uploads with no intention to showcase any artistic merit.
DA doesn't accept svg anymore, so sharing filters there is impossible.
Last time I checked ocal's statistics it's uploads #6, downloaded #38.

My most relevant feedbacks were
-why there is no sound under my demo video (which got more view than the clipart the filter was shared with)
-why isn't the metal filter pack consisting of seamlessly repeating textures
-how can the filter editor be used -coming from the fb group admin, so yes, I think it doesn't matter if you give the stick, you have to show how to "gothi" with it.

Yes, including some filters in inkscape would be nice -especially, if they get the same gui as those marked with ...
and whatnot. This part needs a complete revising in my opinion.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Mon Jun 26, 2017 3:07 pm

DA doesn't accept SVG anymore?! WHY??? The Inkscape project ought to boycott that or something. Inkscape's main web outlet was DA, for many years, as far as I understand. They used to run the About Screen contest from there.

Didn't I see where the filter editor is possibly a subject at hackfest? Well, if not, I certainly think you should share your thoughts about that. There's definitely more "buzz" about the filter editor lately. So I hope it can be improved sooner than later.

"gothi"? ..... Viking heathen priest? Or typo for "gothic"? Whatever, it's been known forever that the filter editor can't be used by most users.

Off topic rant against techology:
You know, I think the reason that videos are so popular these days, is because young people are getting lazier and lazier. They want to be spoon fed everything, including their own feelings! Not only can't think for themselves, have a hard time feeling for themselves! And it certainly doesn't help that mobile devices are actually programmed to hold their attention. And if you don't pay them enough attention, they're going to call you back. Those programs totally exploit children and teenagers, who if they would take one second then think for themselves, might realize that! Someone needs to come up with something that is spread through mobile devices that causes mass panic. (I'm thinking about War of the Worlds which taught a whole generation not to believe something just because it's on radio or tv.)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: filters in progress

Postby Moini » Mon Jun 26, 2017 11:31 pm

> WHY???
Because it's 'dangerous'. At least if someone embeds scripts. But one can upload zip files there, lol....
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: filters in progress

Postby brynn » Tue Jun 27, 2017 2:59 am

Off topic
Interesting. They must have had some abuse that made them take that step. On the other hand, we share SVG files throughout the community, and I've never heard of any abuse. Should we start advising people to scan the SVG files that they download from any community site?


Return to “Work in progress”