YOUR ACCOUNT

Login or Register to post new topics or replies
Pauli
Posts: 5
Hi guys, I'm new here. *hello*

One of my questions is if a Map- or Curve script is faster compared to a dedicated component with the same functionality - in case one drops not needed features of the component for a certain/specific task.

A simple example: "Bomber" has numerous options. Could it be faster if one recreates it by a script with only a handful of them?

Don't get me wrong: I don't want to (neither can) invent a new "Bomber". The question is if there's a gain in speed if only parts of it would be realized by a script. Or would the "Bomber"-component still be more efficient?
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
I would expect that a Bomber component written in Lua will be noticeably slower than the native one. I'm not a developer though and may be missing something.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
It all depends - the script in general is slower. For example if you replicate a simple operation like Invert in a script it is 18 times slower than a single build in Invert component instance.

The bomber is like the Walmart of Filter Forge functionality with octaves, coffee machine, bend/blend this and that and what not. If you simply want a random distributer sort of thingie, you might get lucky with the script or loop functionality (see attached example)

Super fast Bomber.ffxml
  Details E-Mail
Pauli
Posts: 5
Thank you all.

@Sphinx: Helpful link; next time I'll check the wiki first.

Unfortunately the "fast Bomber" doesn't open here. Error: "You need a newer version of FilterForge." But mine is up-to-date (v4.013 Pro.Ed.). Did you create it with the beta?
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
No it was created with an earlier version, but I had it opened with V5. I think the beta is FF5-ing up my existing filters somehow.. sorry.
  Details E-Mail

Join Our Community!

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

33,716 Registered Users
+6 new in 7 days!

153,539 Posts
+8 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

23 unregistered users.