cjiao2000 发表于 2005-4-24 11:24:28

做flac动画语法分析

def show
   if n_step = 0 then
      step_int = 25
   else
      step_int = n_step
   endif
   loop k(1,snap_shot)
      command
      step step_int
      plot xd z int=.03 max .25 min -.25 fill dis red max=0.5 bou iwh
      endcommand
   endloop
end
; make 30 plots at a 30 step interval for the movie
set snap_shot = 50 n_step = 50
movie on //打开录像

show //调用函数
movie off//关闭录像
movie view //预览刚才的录像
当然了这个是flac2d3.3的,那么flac3d3.0估计也一样吧??!!!
语法应该差不多哦?!!

cjiao2000 发表于 2005-4-24 14:45:33

Re:做flac动画语法分析

; Create a movie file test2.avi.

def rot_plot
   loop ii(1,90)
      xr = ii*10
      yr = ii*2
      command
         movie snap
         plot set rotation xr yr 0
      end_command
   endloop
end

gen zone brick size 5 10 15
plot sur yellow

set movie avi size 400 300 frameperiod 150 file test2
movie start
rot_plot
movie finish

这个是flac3d的语法,也是从这个网络上下载的哦!!!

cjiao2000 发表于 2005-4-24 14:57:55

Re:做flac动画语法分析

plot create testview
plot current testview
plot add contour szz average outline on

set movie avi step 30 file steptest.avi
movie start
solve ratio 1e-2
movie finish
干脆直接贴出来得了!!!!

w511967305 发表于 2012-5-30 17:14:23

顶一个!
页: [1]
查看完整版本: 做flac动画语法分析