How to render LOOP'S SEQUENCE into 360 image files?

General discussion about Apophysis

How to render LOOP'S SEQUENCE into 360 image files?

Postby vovus84 » Wed Oct 26, 2011 3:47 am

How to render LOOP'S SEQUENCE into 360 image files? What a script do I Have to wright? How must I apply it?
vovus84
 
Posts: 1
Joined: Wed Oct 26, 2011 3:18 am

Re: How to render LOOP'S SEQUENCE into 360 image files?

Postby fractals » Mon Nov 14, 2011 6:45 am

Hi, in the programme under script in the menu there is edit script. Then there pops up an empty script. A script is an .asc file.
Beneath this text is a script (not my script)to make 360 pictures on your c-disc. Make shure you have a folder created with "animation" on your c-disc. Just copy-paste the script(beneath) in notepad and call it "animation render script.asc"
Then open in an empty script (on the right) your "animation render script.asc" and click the green play button.
--desired frame count = 360(loop sequence)
After a few other questions (width/height/quality/filter radius/prefix(frame(?))/oversample/filetype/output folder) you have to wait while your computer renders 360 pictures in the animation-folder.
With a programme like "virtualdub" you can make a movie of your pictures.
Good luck and here is the script, fractals

//=====================================================
//Animation Render Script for Apophysis
//
//Original author Mark Townsend 2003
//Adapted by Claire Jones 2006
//
//http://clairejones.deviantart.com
//E-mail: clairejone@gmail.com
//
//I really liked the original animation script, which
//comes pre-installed with Apophysis. However, I didn't
//like having to go into the script every time I wanted
//to alter the resolution, frames, quality, etc.
//
//After learning a bit more about scripting, I saw how
//I could easily adapt this script to allow user input
//while running it. After some problems, I was able
//to bring it all together.
//
//One of the main things I set out to accomplish with
//this script was to create the ability to save multiple
//animation cycles to one folder by easily setting
//new frame prefixes. Typically, I prefer to keep all
//of my renders together and move them to seperate
//folders as needed.
//
//Hopefully, this new script will help simplify the
//fun process of animation rendering.
//
//~Claire
//=====================================================

{Variable declarations}

//default frame count
FrameQuantity := 12;

//default render width
RenderWidth := 100;
//default render height
RenderHeight := 100;

//default render quality
RenderQuality := 500;
//default render filter radius
FilterRadius := 0.6;
//default render oversample
RenderOversample := 2;

//default frame prefix
RenderPrefix := 'Frame';
//default filetype for frames
RenderFiletype := 'gif';

//Output location - MUST ALREADY EXIST!
FileLocation := 'c:\animation\';

//=====================================================

{Various user input boxes to determine render settings, etc.}

if not InputQuery('CJ-AnimationRender', 'Desired frame count:', FrameQuantity) then exit;

if not InputQuery('CJ-AnimationRender', 'Render width (in pixels):', RenderWidth) then exit;
if not InputQuery('CJ-AnimationRender', 'Render height (in pixels):', RenderHeight) then exit;

if not InputQuery('CJ-AnimationRender', 'Render quality:', RenderQuality) then exit;
if not InputQuery('CJ-AnimationRender', 'Render filter radius (choose value between 0.2 to 0.8 for best results):', FilterRadius) then exit;
if not InputQuery('CJ-AnimationRender', 'Render oversample:', RenderOversample) then exit;

if not InputQuery('CJ-AnimationRender', 'Frame prefix:', RenderPrefix) then exit;
if not InputQuery('CJ-AnimationRender', 'Render filetype (JPG, PNG, GIF, BMP):', RenderFiletype) then exit;

if not InputQuery('CJ-AnimationRender', 'Render output folder (must already exist):', FileLocation) then exit;

//=====================================================

{Set flame and render settings as defined by user}

//Flame resolution as determined by user input
Renderer.Width := RenderWidth;
Renderer.Height := RenderHeight;

//Flame quality as determined by user input
Flame.SampleDensity := RenderQuality;
Flame.FilterRadius := FilterRadius;
Flame.Oversample := RenderOversample;

//Finalize flame settings to be rendered
SetRenderBounds;

//Flame rotation frames as determined by user input
//Note: Due to zero indexing, must reduce desired FrameQuantity value by one
for FrameCount := 0 to FrameQuantity - 1 do
begin
for i := 0 to (Transforms - 1) do
begin
SetActiveTransform(i);
//Divide a complete flame rotation (360 degrees) by desired frame count
Rotate(360 / FrameQuantity);
end;

//File location MUST already exist
Renderer.Filename := FileLocation + RenderPrefix + Format('_%.3d', [FrameCount]) + '.' + RenderFiletype;
Render;
end;

UpdateFlame := False;

//=====================================================
fractals
 
Posts: 5
Joined: Mon Nov 14, 2011 2:10 am


Return to General Discussion

Who is online

Users browsing this forum: Chuppogue, phapaceseeame and 4 guests

cron