Messages 1 - 45 of 103
First | Prev. | 1 2 3 | Next | Last |
Sjeiti
![]() |
My latest cloud batch got me thinking there should be an easier way.
I'm almost there... http://sjeiti.com/ffbatch/ For now this grabs an ffxml already on my server. Reads it... Then generates a bat file, an xml file (with all the tasks) and a new ffxml file with an x-amount of presets, and packs the three files in a zip file. You should already be able to render this example. Just be sure to fill out the destination and the renderer correctly. All that is left to do is create an upload field where you can upload any ffxml file you want. Plus add some more control fields, I've got the SliderControl, IntSliderControl and AngleControl covered. I'll also do the ColorControl later on but that requires a bit more work. I think I'll leave out the CheckboxControl because that would hardly be worth animating. Got to go now... but I'll try to fix the upload this weekend. -edit- ok, fixed the upload please test Be sure to put in two presets: the default is used for initial values, and the second is used as a template for the generated presets. I will change that later (I was more keen on getting it to work than figuring out how to rename xml nodes). Added an animation here: http://www.sjeiti.com/?page_id=336 |
|||||||
Posted: February 28, 2009 8:43 am | ||||||||
Kraellin
![]() |
sjeiti,
i sort of think i know what you're going for here, but you dont really say. what's the actual purpose of your app? does it render out a sequence of presets not yet made into a little animation, or at least the frames for an animation, or just what are we using this for? if it's what i think it is, then this is pretty cool. if it's not, then i'd certainly like to know. If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: February 28, 2009 11:34 am | ||||||||
Kraellin
![]() |
ok, i've been looking at the app a bit. i uploaded one of my filters and submitted it and i get to the page with the controls laid out. that's cool. but, if i set the destination to c:\my documents\test , is it going to send this to your computer or mine?
this is very cool. it appears that you're writing the front end or gui for the batch rendering of FF! very cool! ok, i tried a test run. i got several errors.
i altered the destination to c:\my documents\test. i dont know if that's what caused the problems or not. i did move some of the start and end parameter sliders. i'll leave it go for now, but this could definitely be cool. If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: February 28, 2009 11:47 am | ||||||||
Sjeiti
![]() |
Well, command-line batch rendering is great but a bit too difficult for people to use. It only renders the presets of an ffxml plus you need to make an extra xml file discribing what to render exactly. This app creates these files for you. You upload an ffxml file, set start and end values for the controls (and some additional values). When you hit the submit button you download a zip file containing three files - a new ffxml file with a preset for every frame - an xml file describing what to render - and an extra bat file you have to run (so you don't have to use the command line) Only problem here is that the files need an absolute path. So you have to say on beforehand in which directory you will do all this (destination). Then you just throw all the files in that directory, hit the bat file, and watch it go... There's still lots of options I should add, but I'll do that in time. |
|||||||
Posted: February 28, 2009 1:38 pm | ||||||||
CFandM
![]() |
Great stuff Sjeiti..Closest thing to a Gui interface
![]() I did a quick batch animation using your app with a one control filter...It seen the name of the control and I made the filter real simple for quick rendering... I will have to try some other filters (more difficult ones) when I get a chance.. ![]() ![]() ![]() ![]() ![]() Stupid things happen to computers for stupid reasons at stupid times! |
|||||||
Posted: February 28, 2009 2:47 pm | ||||||||
Sjeiti
![]() |
Ah... figured out where these probably come from. Since I send the entire xml as post data it reverts the " attribute values in the information tag to actual quotes, breaking the xml. I'll fix that later but for now, check the filter info's description and keywords for quotes and remove them. (fixing stuff is going slower than planned, I'm having too much fun making animations... check out the eye: http://www.sjeiti.com/?page_id=336) |
|||||||
Posted: March 1, 2009 7:19 am | ||||||||
Kraellin
![]() |
cool stuff, CF.
ok, i got past the error stuff, sjeiti. and, i got the zip file downloaded. but after that i'm kind of lost. i tried running the .bat file but nothing happens. i'm guessing my paths are wrong for where i saved the file. do they have to be in the 'my filters' folder or what? and what is going to be output if i ever get it to work? does it start up FF and render new presets to the filter or what? sorry, but i'm a newb on this sort of thing. and nice animations on yours, too, sjeiti ![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: March 1, 2009 12:51 pm | ||||||||
Sjeiti
![]() |
The filter you upload can be from the 'My Filters' folder but doesn't have to be.
The three returned files have to be in the folder you specify. When you run the bat file it will not startup FF, so you can safely go on with your FF business while the batch process is running in the background. If all goes well the batch-run will look like the attached image. For now it only renders jpeg files into the folder you specify. Should it fail, the command window will probably close immediately. But it only does so if you doubleclick the bat file directly. If you first open a command prompt (WindowsKey-R, then type 'cmd') and then drag the bat file into it and press return, it will stay open after a fail so you can read what went wrong. FF help also says there is a batch-render-error-log somewhere (C:\Documents and Settings\User Name\Temporary Files\CmdRenderer.log), but I can't really find it. Maybe you'd do good to read the help file anyway because it also mentions something running another executable if you're on an older machine. So in FF press F1 and go to Miscelaneaus/Command-line renderer. ![]() |
|||||||
Posted: March 1, 2009 3:12 pm | ||||||||
KGtheway2B
![]() |
This is fantastic Sjeiti!
Keep up the good work, if I may, I'd like to suggest an idea for an alternate version: Batch render all available maps for each preset and name them accordingly: (filtername1_diffuse, filtername1_bump, filtername1_normal, filtername2_diffuse, etc) (With an options to rename the map suffixes) What you've done already is super impressive, It's very intuitive and the batch files make things very straightforward! Thanks! |
|||||||
Posted: March 1, 2009 8:30 pm | ||||||||
CFandM
![]() |
One thing I did notice about the batch rendering is the sequence of images is out of order when importing into Image Ready...I did not notice it as much in the above animation but I just created one with 300 frames and the first 3 images are different then the images that follow..Then its random images here and there but still part of the animation sequence...I had to find within the 300 frames which images go in the order of the animation sequence and move them to the correct position of the sequence of frames.......
Don't know if its the renderer itself, or the way Image Ready imported the files.. Did you have this issue with yours Sjeiti? Which app did you use to put together the animation frames? Stupid things happen to computers for stupid reasons at stupid times! |
|||||||
Posted: March 1, 2009 9:26 pm | ||||||||
KGtheway2B
![]() |
CFandM, I'm guessing the problem you're having comes from the fact the files are named 1, 2, 3, then 10, 11, etc. I've noticed that some programs will take it in a wierd order (I usually see: 0,10,1,11,12...18,19,20,2,21... ). You could manually check the output files in windows- it sorts them properly on my machine at least, I might be mistaken.
Sjeiti, you might want to simply add a trailing zero (or two if batching in the hundreds) to remedy this. This turned out awful, (my fault not yours) but still put a big smile on my face: ![]() ![]() |
|||||||
Posted: March 1, 2009 10:55 pm | ||||||||
CFandM
![]() |
Yep just checked it out and it looks like it is Image-Ready that messes up the order of the images when importing the folder of images...What a pain that could be.. ![]() ![]() Stupid things happen to computers for stupid reasons at stupid times! |
|||||||
Posted: March 1, 2009 11:34 pm | ||||||||
KGtheway2B
![]() |
My poor computer... It will never again go another night without 100% CPU usage.
![]() |
|||||||
Posted: March 1, 2009 11:50 pm | ||||||||
Sjeiti
![]() |
Well... I think I managed to screw that up ![]() I'm now trying to implement every option imaginable: - basic settings (size, variation, seamless, antialiasing etc...) - surface settings (environment, height, brightness, saturation, rotation) - rendering options (9 more things to choose) Along with all the controls it's becoming pretty non-intuitive. It's probably a good thing to hide some of these options by default (untill you click a button).
No, I used Flash to import images and export to video. But I can easily prepend zero's (think it was str_pad). |
|||||||
Posted: March 2, 2009 3:32 am | ||||||||
Sjeiti
![]() |
I've updated it... but not tested fully.
All possible variables are now implemented with the exception of the BitmapFormatOptions. The only test I ran is with an Effect filter and an input image, which seems to run just fine. I also prepended zero's in the image names ![]() Gonna quit for now.... also have real work to do. |
|||||||
Posted: March 2, 2009 7:26 am | ||||||||
Kraellin
![]() |
ah, now i get it, sjeiti! ok, when i get another chance, this shld be fun.
one thought on this; are you planning to release this app as a stand-alone for folks to use without the web page? i'd certainly love to have a copy! If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: March 2, 2009 10:19 am | ||||||||
Sjeiti
![]() |
Well it's all web based so it could be tricky making it standalone. I do know there are applications out there that work as a standalone webserver. I'll look into it.
|
|||||||
Posted: March 2, 2009 2:47 pm | ||||||||
Sjeiti
![]() |
To quote Beavis and Buthead: "Fire, fire, fire..."
![]() |
|||||||
Posted: March 4, 2009 5:57 am | ||||||||
Kraellin
![]() |
noice!
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: March 4, 2009 9:18 am | ||||||||
KGtheway2B
![]() |
Hey Sjeiti,
Would you ever be interested in doing an alternate version of this like I mentioned above? That would be a killer app in my book! |
|||||||
Posted: March 7, 2009 3:05 am | ||||||||
Sjeiti
![]() |
Yeah that would be very handy
![]() It should probably not be too much work. I'm very busy this week so I'm not making any promises but I'll try. ![]() |
|||||||
Posted: March 7, 2009 6:36 am | ||||||||
James |
+1 vote for a stand-alone app
![]() |
|||||||
Posted: March 7, 2009 9:14 pm | ||||||||
Kraellin
![]() |
ok, i found why, at least one reason, that this app wasnt working for me. you've hardwired the filter forge location as C: ... mine is in D: . so, i had to change the .bat file.
doing that finally got the render to start but then immediately failed. it said "control value 0 is out of control range [1, 100] in control 'intslidercontrol 02.'" i assume this is an intslider i set to a different range than 1 to 100. it's probably 1 to 300 since i often change intsliders to that for the 'scale' parameter. so, still havent gotten this working completely yet. i do see you've added some stuff. cool! ![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: March 8, 2009 11:50 am | ||||||||
Sjeiti
![]() |
It's not hardwired... that what the input field 'local/renderer' is for. But it can be a bit inconvenient having to enter it every time, so I'll store the value in a cookie (that might also be useful for the data under 'rendering' and 'image').
I'll have a look at that intSlider thing. That definitely looks like a bug on my part. Sliders are easy... always 0 to 1. IntSliders always have a different end value, must have made a mistake somewhere around there. -edit- fixed the IntSlider bug added ColorControls 'local', 'rendering', 'animation' and 'image' variables are now stored inside a cookie styled the page a bit Next on the todo list is first the option to render out all map-types of all presets. Then I'm going to look into some additional animation options: I'm thinking of putting in easing types per control and/or globally. And if anybody else has some good ideas: just shoot... ps: I've also tried searching for a good way to make php into a standalone app but have not yet found anything that works (or is not a pain in the ass) |
|||||||
Posted: March 8, 2009 3:11 pm | ||||||||
Kraellin
![]() |
thanks, sjeiti. and yes, i figured out the 'hardwired' part after i posted. so, that's fine. now you see why i'm a fairly decent beta tester... i can screw up anything
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: March 9, 2009 8:32 am | ||||||||
KGtheway2B
![]() |
Hey hey, Sjeiti.
Just wondering what the status of the updates was. Also: If you'd like- I can probably also host the software on my server as a service to ff people. Thanks again for this sweet tool. |
|||||||
Posted: March 14, 2009 9:38 pm | ||||||||
Vladimir Golovin
Administrator |
Cool thingy -- proves that our choice of an XML format for filters and everything was a good idea!
|
|||||||
Posted: March 18, 2009 7:32 am | ||||||||
Sjeiti
![]() |
I'm sorry for the late reply. Problem is, I'm going on 'vacation' for a week and I'm still up to my neck in two projects that have deadlines. I started working on it though but it's not easy keeping your attention when you've been staring at code all day long. As for the hosting: don't know if a mirror is nescesary, since it's only about 200kb. It's not that I'm not willing share the code or something, I'm just thinking it's easier to update when everything is in one place. Unless you have good argument.
Yeah, XML really rocks! |
|||||||
Posted: March 18, 2009 8:11 am | ||||||||
Vladimir Golovin
Administrator |
Sjeiti, let us know if you want us to change the thread title to something more catchy, like "OMG, animation in Filter Forge!"
|
|||||||
Posted: March 18, 2009 11:31 am | ||||||||
KGtheway2B
![]() |
haha!
Hey, not a problem; don't sweat it. I really want to thank you for the awesome job you've done so far and no rush- I'm not chomping at the bit, was just seeing what was up is all.
I was just throwing the offer out there, no obligations implied. Thanks again! (I've been playing with the other stuff on your site-- fun! ) |
|||||||
Posted: March 18, 2009 6:26 pm | ||||||||
KGtheway2B
![]() |
Yo. Just checking in to politely nag you for those few extras on your to-do list.
![]() |
|||||||
Posted: April 30, 2009 12:20 am | ||||||||
Sjeiti
![]() |
![]() Oh alright... I have some free time since I'm in between projects. But not today; today is queens day: so we have to dress in orange, drink lots of beer and wander aimlessly around town. - later - Almost fixed it; just need to rename the files correctly. I'll hopefully post/upload it tonight. |
|||||||
Posted: April 30, 2009 7:00 am | ||||||||
Sjeiti
![]() |
It works...
There's now an extra button at the bottom that reads 'return render map files'. This will output all types for that type of filter for each preset ("off","diffuse map","bump map","normal map","specular strength map","specular exponent map","metallic map","alpha map"... and for non-surface: "off","alpha map"). Filenames will look like: Beetle_collection_XXVIII_preset_01_diffuse_map.tif ...etc It probably would be handy to supply some tickboxes somewhere so we can choose which files to render. And I think I've got the preset order reversed. But it's ok for now ![]() |
|||||||
Posted: May 2, 2009 7:22 am | ||||||||
Crapadilla
![]() |
How about "Damn you, stupid batch render!"... ![]() ![]() Speaking of animations, are there any plans of integrating movie files into the 'User Gallery'? --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||||
Posted: May 2, 2009 10:33 am | ||||||||
KGtheway2B
![]() |
Sjeiti--- You are awesome man!! Thank you thank you thank you!
|
|||||||
Posted: May 2, 2009 11:26 pm | ||||||||
GMM
Moderator
Posts: 3491 |
Not now — we don't have the necessary infrastructure to present animation/movies on the website. |
|||||||
Posted: May 6, 2009 2:10 am | ||||||||
Kraellin
![]() |
*bump*
this one shld not fall off page one! in fact, it shld be stickied! and in fact even more, i'd suggest FF, inc. beg, buy or steal this from sjeiti and put it on the FF pages or at least mirror it or something. If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: May 26, 2009 12:59 pm | ||||||||
Kraellin
![]() |
*bump again*
this really shld be stickied! If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: June 10, 2009 7:53 am | ||||||||
Octop
Posts: 4 |
Is there any chance at all of a executable windows version of this nifty little thing? It'd be useful for larger projects....
![]() ![]() ![]() |
|||||||
Posted: July 17, 2009 3:47 am | ||||||||
Sjeiti
![]() |
Not a chance
![]() Unless FF implements batch rendering in V2. When I started this I was thinking to make it an Air application but it was easier (=faster) to make it with jQuery and PHP so that's what I did. But if people can think of extra useful functionality they can suggest it here. |
|||||||
Posted: July 17, 2009 4:16 am | ||||||||
Kraellin
![]() |
seriously, sjeiti, you could market this as a stand-alone add-on executable and folks would buy it.
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: July 17, 2009 9:51 am | ||||||||
Sjeiti
![]() |
I'm too lazy too write boring stuff like that
![]() Besides ... I think FF should just put batch functionality in V2 |
|||||||
Posted: July 17, 2009 10:17 am | ||||||||
Kraellin
![]() |
hehe. yes, hopefully that will be in v2
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: July 17, 2009 12:28 pm | ||||||||
GMM
Moderator
Posts: 3491 |
We've already got a batch renderer, haven't we? If you would be more detailed in your wishes, the chances the wish comes true will increase ![]() |
|||||||
Posted: July 18, 2009 1:52 am | ||||||||
Kraellin
![]() |
gmm, include the batch stuff in the gui, or the controls for such, anyways. since i've always touted a tabbed gui, the batch stuff might be something like sjeiti's batch rendering pages but within the FF gui. the more visual it can be, the better. sjeiti's batch thing i've at least tried. i can understand it. the one in FF i've never even tried to understand, being command line and such. it's like the difference between using FF to make filters and using Filter Meister to make filters. FF is visual where FM is code.
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||||||
Posted: July 18, 2009 10:14 am |
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!
20 unregistered users.