POV-Ray : Newsgroups : povray.animations : Animation tool? : Re: Animation tool? Server Time
20 Apr 2024 05:51:03 EDT (-0400)
  Re: Animation tool?  
From: Stephen Klebs
Date: 2 Jul 2014 09:00:01
Message: <web.53b40136fc9f866986104bb60@news.povray.org>
I create a folder "Frames" in the same scene folder and use use this INI
template:
First need to create a batch file "Convert.bat" (see below). It clears the
Frames folder, renders frames, calls ImageMagick to create GIF and calls Chrome
to view the results (salt to taste):

Input_File_Name  = Scene.pov
Output_File_Name = Frames\frame-

Width  = 600
Height = 600

Initial_Frame = 0
Final_Frame   = 36
Initial_Clock = 0
Final_Clock   = 1

Cyclic_Animation = Off
Antialias        = On
Sampling_Method  = 2
Output_Alpha     = Off
Jitter           = On
Output_File_Type = N

Pre_Scene_Command  = C:\Windows\System32\cmd.exe /C Del /Q Frames\*.*
Post_Scene_Command = "Convert.bat"

;Convert.bat:
;
;SET Convert=C:\Programs\Utilities\Graphics\ImageMagick\convert.exe
;SET FramesIn=Frames\*.png
;SET GIFOut=Animation.gif
;%Convert% -delay 1x15 %FramesIn%  %GIFOut%
;"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
C:\Projects\Scene\Animation.gif"
;EXIT


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.