YOUR ACCOUNT

Login or Register to post new topics or replies
ssamm
Posts: 364
Filters: 21
I was thinking it would be cool to have a snippet filter that made a triangle, square, pentagon, etc… -- where you could select the size of the polygon and it’s number of sides. (And it would hopefully also be fast.)
I started to experiment around and got a possible idea, but I don’t think I will be able to finish this anytime soon (if ever) because of other priorities. So I’ll post what I did so far in case anyone's curious (and maybe inspires someone to do their own finished version).

What I did was make a decagon using a lot of parameters (with curves). My next step was to try to see if I could remap all those parameters using just one controller slider for the size (it seems like it could be possible -- the odd N-gons might be a little more tricky though...). Then my next step was to create the same thing for other N-gons, and put them all into a switch.

Anyway, here's my beginning test... (BTW, the three presets are just random sizes without very precise parameters yet.)
Maybe it’s amusing, if nothing else. smile:)

polygon2d.ffxml
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Nice job.

The fundamental problem with your method though is it can't produce odd numbered polygons.

There is a another more versitle method that's based on the circular angle gradient. Maybe I'll get around to doing it what of these days. smile;)
  Details E-Mail
ssamm
Posts: 364
Filters: 21
With the odd N-gons I was thinking I'd end up using two curve-to-shape tasks/branches rather than just one getting mirrored...

But it sounds like you have a better method -- I'd love to see it if you do ever get around to it. smile:)

  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
uberzev wrote:
There is a another more versitle method that's based on the circular angle gradient. Maybe I'll get around to doing it what of these days.


I don't know how you were going to acomplish this but since I was using your snippet anyway I thought I would take a stab at this..
Maybe a starting point..

Star Attempt 1.ffxml
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Cool, CFandM.
I saw no point to the circular angle gradient until that filter. Very interesting, I'll have to look at both the filter and snippet more...
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Excellent! The Three Snippeteers are back! smile:beer:

*rubs hands*
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
ronviers
lighter/generalist

Posts: 4456
Filters: 35
Wow! smile:banana: Look at you guys go!

The masters of the curve. I have learned so much just by looking at these two filters.

@ronviers
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
hehe, just wait till you open one of their more complex filters, ronviers smile:D these guys eat polygons for breakfast smile;)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
ssamm wrote:
I saw no point to the circular angle gradient until that filter


Oh yea, there are many uses for this snippet...Its also fun to play with.

Quote
Crapadilla wrote:
Excellent! The Three Snippeteers are back! Beer


smile:D

Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
ronviers wrote:
I have learned so much just by looking at these two filters.


Glad its helping you to learn ronviers.. smile:)
Another reason I like posting filters...and there progress..
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
Kraellin wrote:
hehe, just wait till you open one of their more complex filters, ronviers


Yep give the playing cards a look.... smile:eek:
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
ronviers
lighter/generalist

Posts: 4456
Filters: 35
I would say that when I looked at ‘Playing Cards’ my jaw dropped but my mouth has been stuck open for days from the sheer awesomeness of FF. My mind can only be blown so much – the full impact of playing cards will take some time to soak in.
BTW, I have tried for more than a day to create a radial gradient. It never occurred to me to try frame. It that how it’s done? Is that the only way? There is something about doing it with frame that bugs me but I’m not sure what it is.

@ronviers
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
ronviers wrote:
I have tried for more than a day to create a radial gradient. It never occurred to me to try frame. It that how it’s done? Is that the only way? There is something about doing it with frame that bugs me but I’m not sure what it is.


Try this one from uberzev
http://www.filterforge.com/filters/671.html

This is where the one I am using comes from. There probably be other ways to do this
but at the moment there is none that is posted. smile:)

Quote
ronviers wrote:
I would say that when I looked at ‘Playing Cards’ my jaw dropped but my mouth has been stuck open for days from the sheer awesomeness of FF.

Been here almost a year and I still get blown away.. smile:D
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
CFandM, I think ronviers is trying to make something like this...

radial gradient.ffxml
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
uberzev wrote:
CFandM, I think ronviers is trying to make something like this..


Oops, yep sorry got confused there for a sec..That looks good Uberzev..
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
ronviers
lighter/generalist

Posts: 4456
Filters: 35
Thanks for showing me how it's done. I really wish I would have figured it out for myself - that's what I get for asking. Some day I may come up with something. smile:loveff:
@ronviers
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Sphinx had me thinking about this again...This is just a very small update to the curves...Then named the controls...Have fun with this....

Star Attempt 2.ffxml
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Quote
CFandM wrote:
Sphinx had me thinking about this again...This is just a very small update to the curves...Then named the controls...Have fun with this....


Cool! Starting to get that SuperFormula look smile:)
I wondered about the discontinuities/seams in the outline (you see small offsets here and there)and took a look at it - it seems the angular gradient construction is wrong, I tried using a bias instead of that gamma, it looks better now, but its really just a guess. I should take a closer look at it sometime.

I also fixed the alias issues with the base gradient, and added a feather control.

Star Attempt 2 - Sphinx.ffxml
  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:

15 unregistered users.