加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

Blender导出如何转化为swf或gif格式

(2009-12-13 20:14:42)
标签:

blender

gif

swf

it

分类: blender3D构想

Blender能够导入的格式有AVI\PNG\JPG等视频图形格式,但是相对而言,从文件大小及规定视频图形格式而言,经常需要一些gif\swf格式的文件,由avi转化为MPEG\RMVB等格式,这个很简单,貌似本科时候就转换多次。

这里搜索了下,基本都是首先利用Blender自身导出AVI格式文件,然后利用其他软件进行一次转换,从而达到目的。

1 由Blender导出AVI文件,利用CamStudio进行转换,将AVI转化为SWF格式。这块软件在将AVI转化为SWF的同时,还生成一个HTML文件,显示生成的SWF。

该软件为开源软件,界面不是特别好看,但操作简单方便。下载地址为:http://camstudio.org/

1.) Render your Blender animation in the AVI format.

2.) Open CamStudio's SWF Producer tool.

3.) Open your AVI file into SWF Producer.

4.) Select "Convert To Swf" from the File menu.

5.) Adjust the conversion settings to fit your needs and click Ok to begin conversion. (The files default to being saved to the same directory as your original AVI file.)

6.) An HTML file is created along with the SWF file. It will contain the code to allow your SWF file to be viewed in a browser. When the conversion has completed, this HTML file will be loaded into your default browser. However, it probably won't show any video (you should hear any audio from your original AVI file) because of an error within the HTML code produced.

7.) To fix the error, simply open the HTML file for editing and you will see that there are two sets of WIDTH and HEIGHT parameters. The second set will have different values from the first. Make the second set of parameters equal to the settings of the first. Save the file.

8.) Open the edited HTML file and Enjoy!

 

2 利用GIMP对Blender生成的文件进行后处理。GIMP为开源软件,官方网站地址为:http://www.gimp.org/

1) for AVI, in Format panel:

(1) replace Jpeg by AVI Jpeg or AVI Raw
set Quality to level required (95 should do it)

(2) in Anim panel:
select Start: first frame
selct End: last frame

(3)press ANIM

go and retrieve your animation in the directory defined in the first field of the Output panel

2) for GIF, do exactly the same except choose a PNG format (for example)
open Gimp and then drag and drop the individual numbered PNG files into it... saves as GIF and choose accordingly the animation settin

 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有