Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Creating placeholder frames in FXTree

Creating placeholder frames in FXTree

2005-06-21       - By todd akita

 Back
Reply:     1     2     3  

This might work.  Kind of dirty but you can try it.  Don't know what it
does for alpha though but you can modify pretty easy.

-T

Eric Lampi wrote:

>I need to render whole frame ranges, even those that
>have nothing in them unti the last few frames.
>Instead of sending them through Batchserve and wasting
>a lot of time for blank frames, I would like to use
>the FXtree to basically export a black frame sequence
>for those empty ranges.
>
>Can anyone give me a clue how I might automate this
>for each pass?  My alternative is to manually copy the
>frame range and image path, a bit tedious, but it
>would work.
>
>Any help would be appreciated.
>
>E
>
>Freelance 3-D Animator, F/X Artist, Particle Man
>---
>Unsubscribe? Mail Majordomo@(protected) with the following text in body:
>unsubscribe xsi
>
>  
>
****************************************SNIP

   //get the passes, and filter out anything that is not a pass

   Psel = GetValue("SelectionList");
   logmessage (Psel(0));
   for (i=0; i<Psel.count - 1; i++){

       if (Psel(i).type == "#Pass")
       {
       logmessage (Psel(i) + " is a pass");
       }
       else
       {
       RemoveFromSelection (Psel(i).FullName);
       logmessage (Psel(i) + " removed");
       }

   }

   //these are all passes

   Psel = GetValue("SelectionList");

   for (P=0; P<Psel.count; P++){

       var oTree = CreateFxTree(null);
       logmessage (oTree);

       StartFr = getvalue (Psel(P)+ ".RenderOptions.StartFrame");
       logmessage (StartFr);
       EndFr = getvalue (Psel(P)+ ".RenderOptions.EndFrame");
       logmessage (EndFr);
       Xres = getvalue (Psel(P)+ ".RenderOptions.CameraXRes");
       logmessage (Xres);
       Yres = getvalue (Psel(P)+ ".RenderOptions.CameraYRes");
       logmessage (Yres);
       Pratio = getvalue (Psel(P)+ ".RenderOptions.PixelRatio");
       logmessage (Pratio);
       ImgForm = getvalue (Psel(P)+ ".RenderOptions.ImageFormat");
       logmessage (ImgForm);
       Fname = getvalue (Psel(P)+ ".RenderOptions.ImageFileName");
       logmessage (Fname);

       mFO = AddFxOp("FxTree", "FileOutput", null);
       logmessage (mFO);
     
       mCF = AddFxOp("FxTree", "PaintClip", null);
       ConnectFxOp(mCF, mFO, "1");


       SetValue(mCF + ".Width", Xres, null);
       SetValue(mCF + ".Height", Yres, null);
       SetValue(mCF + ".SourceStart", StartFr, null);
       SetValue(mCF + ".SourceEnd", EndFr, null);


//set up renderparams
       SetValue(mFO + ".StartFrame", StartFr, null);
       SetValue(mFO + ".EndFrame", EndFr, null);
       SetValue(mFO + ".PixelRatio", Pratio, null);
       SetValue(mFO + ".ImageParser", "sgi", null);
       SetValue(mFO + ".FileName",  Fname, null);


       RenderFxOp(mFO, null);
       }




---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi