View Full Version : scripting in fusion
08-27-2002, 01:20 PM
is there a way to take a flow
and have some script go to each node, and take a snap shot of whats in the node and dump that snap shot into a folder.
so say i have 10 flows that i'd like to do that for..
could i then just feed those flows into this script and walk away and come back and have 10 folders?
this would be of couse used to create images at different stages of the flows life.
08-28-2002, 07:06 PM
This is theoretically possible. You need to write a script that adds a saver after each tool, and point it to a logical directory. If you set an undo event at the beginning of the script, add your savers, and render your frame(s) then trigger an undo, it should return the project back to it's initial state.
Another less intuitive way might be to set each tool to "cache to disk" and select the targa format as opposed to the default "raw" format. It would then become a job and a half to sort through the caches on disk to determine what image belongs to which tool.
There a few people getting their hands dirty with the DF scripting on the pigsfly Digital Fusion mailing list, so that may also be a great place to ask a very targeted user base. (www.pigsfly.com)
08-29-2002, 03:02 PM
sounds like a good idea.
i havn't scratched the surface of it yet.. but it's definately a time saver once you figure it out.
it would be awsome to be able to then after each image is saved out..
to assemble them into a composite that simply transitions from one to the next.
this way you get a comp that builds itself.
which is the goal.
so you can see in transitions whats been added.
DFScript could certainly do this, and I like the idea immensely. What a great way to simplify creation of the "How it was done" video.
If I can get a little time free from writing the manual I will attempt to write a sample script that demonstrates the concept, for inclusion with DF 4.0 when it ships.
You would probably want some extra logic in there, like
- ignore resize, scale and crop tools
- dissolve color correction with a wipe, rather than a dissolve
That way the end result would be a little more understandable and dramatic.
Product Manager - eyeon Software
09-09-2002, 10:18 AM
i'm not sure how the scripting works, perhaps auto assembly upon compeletion of grabbing nodes, with perhaps a time question in the beginning of the script that asks how long transitions should be in frames not seconds.
I'm currently working with worldwide effects by the way.
09-13-2002, 08:56 AM
another useful script would accomplish a similar thing
a script that would extend one frame into infinity frames, and
then take all the merges and keyframe the blend from off to on, thus adding each merges contents to the final image.
you could have the script query the length of time each fade is.
01-13-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.