YOUR ACCOUNT

Login or Register to post new topics or replies
Ken
CameraKen
Posts: 136
Filters: 16
Hi


I wrote a little program

It gives a filter a Speed Rating based on the number and type of components within the filter.

I thought it may be useful to check how fast a filter may work.

This program can also create a log file which is saved in the same location as the filter with the name "(filtername).txt". This text file lists the filter components and shows how they connect to each other. It is not a complete flowchart as it stops at multiple input components such as blends and other components with multiple inputs. It may help to debug a filter

Have a play with it and let me know if I can make any improvements.

How to Use
Download the attached Zip file "SpeedMeter.zip" to a location of your choice
Unzip SpeedMeter.exe
Double click SpeedMeter.exe to run it
File > Open and locate the filter to test
The Filter Speed will be Displayed

Use File > Save Log to create the debug file. The file will be called "(filtername).txt". and will be saved at the Test filter location. NB it will automatically overwrite any existing txt file of the same name.

You may find it easier to drop this program into
C:\Documents and Settings\YourName\Application Data\Filter Forge\My Filters
And create a desktop shortcut. That way the program will always open in the correct folder by default

(Coming soon)
'Filter Updater' to update all the old components to the latest versions. smile:)


Ken
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hmmm. I can't seem to attach the file.

I've put it here

http://www.megaupload.com/?d=MQ1T5814


Ken.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Hey Ken Long time No see or type.. smile:D

So what would be a cutoff point of good speed and bad speed..Kind of a nifty utility.
Did some filters, I took Rocky Formations and Rotate Zoom.
Rocky Formations 165
Rotate Zoom 73
Quite a difference there..
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hi CFandM

Thanks

I would suggest that any filter with a speed under 300 could be classed as fast.But that does not mean that slower filters are not useful. Some filters in the library get a rating of over 900 and there is a few which give a "out of range" error where I did not cater for such a large number of lines.

It may not be the most useful program but it was a learning curve for me.

The txt file may be useful to help debug a filter.

There is more we could do with the FFxml files. I am half way to writing an updater to update all the obsolete components to the latest versions.

I could also write something to align all the components in the editor.

And the search feature that Zev requested would also be easy to write

Ken.
  Details E-Mail
Fluxtah
Ian Warwick
Posts: 27
Filters: 11
This could be great in the filter library to indicate rendering speed on a filter page smile:)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
welcome back, ken smile:)

nice ideas. hadnt even thought of coding the code. interesting. i'll bet there's a lot you could do with the ffxml stuff.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
We could write some code to write filters from scratch. A random component connected to another etc, we could invent thousands of filters per hour. The problem is that we would also have to write some code to check if the results were good or not. I think this would be way too difficult.

Ken,
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
yup. thought of that, writing in text form. but seems a bit backwards with a visual coding program like this.

but the batch writing might have real possibilities. an infinite number of monkeys sitting at an infinite number of typewriters... smile:) i can just see it now, CF submits 20,000 filters on sunday and another 20,000 on monday smile:)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Torley
Second Lifer

Posts: 303
This sounds pretty cool — like Fluxtah said, sounds like it's a worthwhile feature request to show a filter's relative speed within FF itself. I could see it being useful if I'm pressed for a deadline and going through my collection.
I'm enjoying using Filter Forge to create http://torley.com/textures
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12299
Filters: 35
Quote
Ken:

I wrote a little program

It gives a filter a Speed Rating based on the number and type of components within the filter.

I thought it may be useful to check how fast a filter may work.


Hello,

I have just found this thread and it would be interesting to have this little program, BUT the link is from the now closed Megaupload, so it is not available anymore, could anyone that could have it, upload it again here?

Thanks very much
  Details E-Mail

Join Our Community!

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

33,712 Registered Users
+19 new in 30 days!

153,534 Posts
+27 new in 30 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

25 unregistered users.