YOUR ACCOUNT

Login or Register to post new topics or replies
Martin Naumann
Martin Naumann

Posts: 464
Filters: 98
Not sure if anybody already mentioned it, but I think it would be cool to have some kind of vectors included in the component section.
When I try to create line-art filters or more complex shapes and outlined structures it's always annoying to use the line-detector because of the long render times. The other option is to use the impulse curve + polygon and this is pretty limited.

I understand if paths can't be applied to the program but at least some simple polyline component could be helpful, where the input is X and Y for, let's say 6 points, the outline thickness, and the shape of the line endings (like in Adobe Illustrator)


  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
Hi Martin, I recently submitted a filter that draws individual lines.

There are other filters which may be useful:
Line Draw Benchmark (Velho)
(a bunch of methods to draw lines)
OctaDraw (ThreeDee)
(draws shapes - uses a blur and threshold to draw the outlines)
Random Bezier Shape (ThreeDee)
(crazy script!)
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
The way I deal with this is slightly different sizes of polygons in black and white. Using Subtract you then can extract an outline of the polygon. The same technique can be applied to arbitrary lines, essentially a rotated infinite line from two Rectangles, with a third step of cropping the line to a non-infinite length, again using RGB math like Subtract and Add. This is fast and eliminates the need for edge detection which is expensive. My 2 cents, 3 with inflation...
Math meets art meets psychedelia.
  Details E-Mail
Martin Naumann
Martin Naumann

Posts: 464
Filters: 98
thanks for the tips, but I also use similar techniques as you mentioned, but the thing I had in mind were lines with more than 2 points and a contunious edge. I would like to draw the outlines of irregular polygons too
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
I figured you already knew this. We can hope for a Vector and Poly-Vector component to draw lines and blocks and irregular polygons smile:)
Math meets art meets psychedelia.
  Details E-Mail
Ramlyn
Ramlyn

Posts: 2930
Filters: 691
Yes, Martin Naumann is right. It would be nice to have a line component that could be faster than creating the line with other solutions.
Something very simple, with the starting coordinates and the ending coordinates, plus the chance to define the line thickness.

Just now I'm working on a filter that combines many lines.
It is a real hell to go through repeating a group of several components many times. Not much for the work that I must do, but because FF doesn't seem able to handle so many connections. smile:cry:
  Details E-Mail
emme
Posts: 718
Filters: 8
+1 for a line component. And also new UI elements for controlling x/y points.

In the meantime, here is a script that draws 1-8 connected line segments with rounded corners and controllable line radius. The ends can be open/closed. Mode 1 draws just the line segments - mode 2 draws a signed distance field for custom mapping.

Line drawing via scripting is not very efficient, but perhaps this could still be useful for some stuff. What features should be added to this?

line_sdf_v003.ffxml
  Details E-Mail
Martin Naumann
Martin Naumann

Posts: 464
Filters: 98
thanks emme! smile:)
that comes really close to what I had in mind. was also trying to create something similar, but without map script, which is really annoying.

The x/y controls are a good point too, they really need to be fixed somehow.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
Martin Naumann wrote:
When I try to create line-art filters or more complex shapes and outlined structures it's always annoying to use the line-detector because of the long render times.


I do not know if it may be useful maybe for you this link here to test any of the methods shown here
BENCHMARK LIST ACCORDING TO THE FASTEST OPTION of 10 different methods for drawing a line in FF from point A to point B

Quote
emme wrote:
+1 for a line component. And also new UI elements for controlling x/y points.


I agree that I also would like to have a more flexible way to make custom lines and for controlling x-y points

Quote
emme wrote:
Line drawing via scripting is not very efficient, but perhaps this could still be useful for some stuff. What features should be added to this?


Good, will see how it works and what could be added, thanks very much for making it
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

20 unregistered users.