YOUR ACCOUNT

Login or Register to post new topics or replies
Zoltan Erdokovy

Posts: 204
Filters: 24
I reckon I'm not the first one with, but I'm lazy to go through the forum. smile:)

Geometric primitives would be useful:

[Line]
- Color
- Start point X, Y coordinates (In % of the related image dimension.)
- End point X, Y coordinates
- Line width

[Box]
- Color
- Top left corner X, Y coordinates
- Bottom right corner X, Y coordinates
- Line width
- bFilled

[Circle]
- Color
- Center X, Y coordinates
- Horizontal radius
- Vertical radius
- Line width
- bFilled

[Triangle]
- Color
- Point1 X, Y coordinates
- Point2 X, Y coordinates
- Point3 X, Y coordinates
- Line width
- bFilled

[Circular polygon]
- Color
- Center X, Y coordinates
- Horizontal radius
- Vertical radius
- Line width
- bFilled
- Number of sides (>=3)
  Details E-Mail
Lucato
FF addicted

Posts: 505
Filters: 39
Nice idea/suggestion Zoltan. To enter the coordinates x, y would be with sliders or better, has also the option to click the x,y position in the tumb. smile;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Zoltan Erdokovy wrote:
- Start point X, Y coordinates (In % of the related image dimension.)

The primitives themselves are a nice idea, but the coordinates based on the percentages of image dimensions will lead to different results when the same filter is applied to images with different aspect ratios:



  Details E-Mail
Zoltan Erdokovy

Posts: 204
Filters: 24
Yes Vladimir, thats how I thought it would work. smile:)
But okay, I'm always thinking in terms of game textures... what if there are two sets of nodes: one uses percentages, the other uses pixels, although using pixels is not really flexible...
Or we could use the shortest side of the picture as 1 unit. Then if you want to draw a square, it would remain a square on all aspect ratios, only the coverage would change.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Zoltan Erdokovy wrote:
the other uses pixels


That would kill the resolution independence -- pixel-based coordinates won't work when you apply a filter to a larger or smaller image than the image on which those coordinates were based.

Quote
Zoltan Erdokovy wrote:
Or we could use the shortest side of the picture as 1 unit. Then if you want to draw a square, it would remain a square on all aspect ratios, only the coverage would change.


Sounds like our current scheme (a square with the dimensions of Size x Size, with all coordinates measured as a percentage of Size).

The good news is that the primitives (along with some interesting related stuff) are already on our list, but most likely we won't see them implemented into this beta or version 1.0.
  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,533 Posts
+38 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

25 unregistered users.

Recent Forum Posts: