简体   繁体   English

如何在iphone项目中使用.blend文件?

[英]How to use .blend file in iphone project?

I dont want to use any 3D engine like SIO2 etc engines in my project. 我不想在我的项目中使用任何类似SIO2等引擎的3D引擎。 But I still want to use .blender 3d files in my normal projects. 但我仍然想在我的正常项目中使用.blender 3d文件

Can anyone please guide me how I can proceed with that. 任何人都可以指导我如何继续这样做。

Thanks 谢谢

Export your blend file to another format. 将混合文件导出为其他格式。

http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts#Import-Export_Scripts http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts#Import-Export_Scripts

Which you choose depends upon how you will render your objects. 您选择哪种方法取决于您渲染对象的方式。 Check out the "raw" exporter, since you are rolling your own renderer. 检查“原始”导出器,因为您正在滚动自己的渲染器。

The .blend format is not much more than a python pickle object with some binary header fields. .blend格式只不过是带有一些二进制头字段的python pickle对象 It unfortunately is neither very optimized nor easy to load data from. 遗憾的是,它既不是非常优化也不容易从中加载数据。

Also blender format is prone to version differences which are very subtle and will be handled by upgraded blender versions but you will lose a lot of time learning all the differences between the .blend file versions. 另外,blender格式容易出现非常微妙的版本差异,并且将由升级的blender版本处理,但是你将失去大量时间来学习.blend文件版本之间的所有差异。

I recommend you either roll your own exporter for your own preferred format (should it not exist in the blender community or addons) or use a generic format, some good all-round formats are : 我建议您根据自己的首选格式滚动自己的导出器(如果它不存在于blender社区或插件中)或使用通用格式,一些好的全面格式是:

  • Collada (Builtin) Collada(Builtin)
  • Direct X format (Builtin) 直接X格式(内置)

Check for more blender import and export plugins 检查更多搅拌机导入和导出插件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM