-----------------------------------------------------------------
UPDATED
-----------------------------------------------------------------
Image Sequencer
Use a single image layer to display an image sequnence with variable frame rates.
http://www.lowrestv.com/images/files/im ... uencer.zip
The zip file includes the script, an AS sample file and a folder of sample images.
You may have to reload the image file in the sample AS file.
This is a layer script. It doesn't have any error checking yet so make sure you use it only on an image layer and have a proper set of image sequence files. It should work with png, jpg etc.
Instructions
You first need a set of image sequences with trailing numbers. They need to be formated like this (png or jpg etc):
imagename0001.png
imagename0002.png
....
imagename0010.png
In an AS file create an image layer BEFORE adding the script. It won't matter which image you use from the sequence since the script is based on the frame number.
After you have the image layer add this layer script by opening the layer properties and checking the Emedded script file box and selecting this script file.
The script will automatically change the image source based on the frame number. When there are no more images in the sequence the last image will be used past that point in the time line.
Variable Frame Rates
Open the script in a "simple" text editor (note pad, text edit, etc) and change the frame rate variable. It's set for 1 right now. Setting that number higher increses the number of frames each image "holds". Pretty straight forward.
Look for this code and change the frameRate variable:
Code: Select all
if (moho.frame == 0) then
frameRate = 1 -- set the frame rate
initFrameRate = 0
end
------------------------------------------------------------------
Original Post
------------------------------------------------------------------
Preliminary testing proves a SINGLE IMAGE LAYER can display a different image in a sequence for each frame. THIS IS WICKED COOL!
This idea came about from Mikdog's post of an ad he did using Toonboom in the share your work forum. We started a discussion about "painting" directly into Anime Studio for animation or stills. My idea is to create a script based drawing tool that saves out image sequences to a folder.
In my simple test I created a simple layer script that changes the source of the image layer based on the name and the frame number. This is SO COOL. It actually works in real time so rendering is no problem.
----------------
The goal is to have raster draw tools in AS. However that is going to take some time to develop. In the meantime I want to create a WAY BETTER EASIER script to display an image sequence that doesn't require switch layers and bunches of image layers IN the AS file. This script can do it.
-vern