⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spintori.bat

📁 是一本很经典的书
💻 BAT
字号:
@echo off
rem ***************************************************************************
rem   Animation batch file generated by Anibatch v3.02 for Windows
rem
rem   POV-Ray scene file  : SPINTORI.POV
rem   Created on          : Saturday, June 15, 1996
rem   Number of frames    : 10
rem   Number of variables : 1
rem   Number of 3d-paths  : 0
rem   POV command-line    : Standard, text mode, antialias, continue
rem   DTA command-line    : Standard, color sample 5
rem ***************************************************************************
rem
rem    List Of Variables:
rem
rem     Variable Name: RotY
rem       Start Value: 0
rem       Final Value: 45
rem    Incremented by: 5
rem
rem ***************************************************************************

rem ==============================================================
rem  NOTE: Edit these lines to change the path/filename of your
rem  POV-Ray and DTA executable files.
rem ==============================================================
rem ==============================================================
rem  This is a test to ensure the the executables actually       
rem  exist where they are supposed to be found. Change these to
rem  *your actual* POVRAY and DTA executable locations...                  
rem ==============================================================
if not exist E:\POVRAY2\WINPOV32.EXE echo E:\POVRAY2\WINPOV32.EXE doesn't exist!
if not exist E:\POVRAY2\WINPOV32.EXE goto BADEND
if not exist E:\DTA\DTA.EXE echo E:\DTA\DTA.EXE doesn't exist!
if not exist E:\DTA\DTA.EXE goto BADEND

rem ==========================================================================
rem   Comment out the line below to skip the rendering portion and proceed     
rem   directly to the DTA compiling section if you only want to recompile the  
rem   .tga frames without re-rendering them.                                   
rem ==========================================================================
rem     goto Render


rem ==========================================================================
rem   This next command is here as a method of jumping past the rendering      
rem   portion and allow you to go straight to the DTA compiling section. Use   
rem   this if you need to recompile existing .tga files to a new .fli.         
rem ==========================================================================
     goto Compile

:Render
rem ================================================
rem  This is the rendering portion.                
rem  Edit the line below to jump to another frame. 
rem ================================================
echo.
echo Animation batch file generated by AniBatch v3.02 for Windows
echo.
echo POV-Ray scene file  : SPINTORI.POV
echo Created on          : Saturday, June 15, 1996
echo Number of frames    : 10
echo Number of variables : 1
echo Number of 3d-paths  : 0
echo POV command-line    : Standard, text mode, antialias, continue
echo DTA command-line    : Standard, color sample 5
echo.
echo Preparing to render frames for animation 'SPINTORI.FLI'...
rem ===============================================================
echo If this is NOT what you want to do, then press CTRL/C now!
rem ===============================================================
pause
   goto Frame1

:Frame1
echo #declare RotY = 0.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0001.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame2
echo #declare RotY = 5.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0002.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame3
echo #declare RotY = 10.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0003.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame4
echo #declare RotY = 15.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0004.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame5
echo #declare RotY = 20.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0005.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame6
echo #declare RotY = 25.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0006.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame7
echo #declare RotY = 30.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0007.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame8
echo #declare RotY = 35.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0008.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:Frame9
echo #declare RotY = 40.0 > SPINTORI.ANI
E:\POVRAY2\WINPOV32.EXE -iSPINTORI.POV -oSPIN0009.TGA -w320 -h200 -d +v +c +a +j -p F:\ROB\POVCAD4\DESIGN\VB3\POV_LIB.DEF

:COMPILE
rem ================================================
rem  This is the compiling portion.               
rem  Edit the line below to change parameters.    
rem ================================================
   call E:\GRAPHICS\DYEWORKS\DYEWORKS -ispin*.tga -ospin*.gif +vd -pd -d
   call E:\DTA\DTA.EXE spin*.gif /c5 /r320,200 /ospintori.fli
   call E:\DTA\BUILDSV.EXE SPINTORI.fli
   goto endit

:BADEND
   echo Error: Raytrace aborted.
   goto endit

:ENDIT
   pause

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -