Just a general question really?

Let's say I am making a game and have made a character model in Blender. How would I use this model in Java?

Would I import it somehow?

Thanks.

解决方案

Generally when making models in blender you export the model in a format which allows you to later import it in the game engine of your choice, which format you use differ in requirements.

The export-import cycle is often referred to as the "Asset Pipeline", and you generally want to keep it as simple and automated as possible since it is something you or your artists will perform on a regular basis.

So if we look at a few specific graphics engines and platforms;

OGRE3D (or Ogre4J) supports it's own plain-text format (.scene, .mesh.xml, .material.xml) in order to load scenes, models and materials. It also has support for armature animations among other things, there is also some support for loading .blend-files directly. See their documentation for blender.

JmonkeyEngine has support for loading both OGRE3D .scene's and .blend's directly. It also has it's own binary j3o format which these can be converted into when you want to package the game. For specific examples, see their tutorials.

There are multiple formats you can take into consideration when deciding how you want to use your model. When it is imported however, the game engine of choice represents it in an internal structure which usually allows you to be decoupled from the exact format of choice.

Picking which to use is and should not be written in stone since requirements might change and if done properly it should not have a considerable effect on the project. This is also something you should take into consideration if you are writing your own engine.

java blender,如何在Java中使用Blender模型?相关推荐

  1. python多项式回归_如何在Python中实现多项式回归模型

    python多项式回归 Let's start with an example. We want to predict the Price of a home based on the Area an ...

  2. java lua_如何在Java中使用Lua脚本语言

    展开全部 如何在Java中使用Lua脚本语言是本文要介32313133353236313431303231363533e59b9ee7ad9431333335343933绍的内容,主要是来学习LUA脚 ...

  3. java parcelable_如何在Java代码中使用Parcelable

    我在Android Studio中有一个多模块项目,并在一个纯Java模块(称为"应用程序")中定义我的业务对象(我想在ui中使用的POJO对象).最终产品将是连接到服务器的And ...

  4. Linux中如何java联网,如何在Java中运行Linux命令?

    慕运维8079593 您可以java.lang.Runtime.exec用来运行简单的代码.这样可以返回a,Process并且您可以直接读取其标准输出,而不必将输出临时存储在磁盘上.例如,这是一个完整 ...

  5. java placeholder_java – 如何在JTextfield中设置像Placeholder一样的文本

    我用来覆盖文本字段绘制方法,直到我最终得到更多的自定义文本字段然后我真的想- 然后我发现this prompt API易于使用,不需要你扩展任何组件.它还有一个很好的"伙伴"API ...

  6. java objectid_如何在java中创建mongoDB objectid

    参考 How to add an array to a MongoDB document using Java?后 我用java创建了一个mongo模式 它有子元素,我得到主文件的_id 我想在子元素 ...

  7. java gridfs_如何在GridFS中执行更新操作(使用Java)?

    我使用的Mongo-Java-Driver 2.13是在 GridFS中 存储了一个PDF文件( 大小 为 30mb) .我能够轻松地执行插入,删除和查找操作. MongoClient mongo = ...

  8. Java基础之在窗口中绘图——使用模型/视图体系结构在视图中绘图(Sketcher 1 drawing a 3D rectangle)...

    控制台程序. 在模型中表示数据视图的类用来显示草图并处理用户的交互操作,所以这种类把显示方法和草图控制器合并在一起.不专用于某个视图的通用GUI创建和操作在SketcherFrame类中处理. 模型对 ...

  9. java iso-8859-1_如何在Java中的ISO-8859-1和UTF-8之间转换?

    如果您有String,则可以执行以下操作: String s = "test"; try { s.getBytes("UTF-8"); } catch(Unsu ...

最新文章

  1. 数据项目总结 -- 蛋壳公寓租金分析!
  2. shell脚本例子集锦
  3. VS2005常用插件
  4. ASP.NET留言板 文字加表情
  5. Python利用结巴模块统计《水浒传》词频
  6. ListView刷新指定位置的item
  7. 迅捷路由器造成计算机无法上网,迅捷(FAST)300M无线路由器设置后不能上网的解决方法...
  8. 云计算时代的进阶者,专访景安董事长杨小龙
  9. Lumerical Mode FDE 碰到的错误整理【整理中】
  10. 如何获取QQ邮箱授权码?
  11. 国内地理信息系统公司及招聘岗位要求
  12. 数字IC手撕代码--交通灯
  13. 香料图片加名称及其作用
  14. Flutter的android项目跳转谷歌市场
  15. 陈林接替张一鸣任今日头条CEO 字节跳动学谷歌进行架构升级
  16. 游戏发展演变:何谓第三代网游?
  17. 批处理文件删除注册表数据
  18. java socket同步_Java socket客户端与服务端同步通信实例
  19. 基于JAVA教学辅助平台计算机毕业设计源码+系统+lw文档+部署
  20. 用h5简单实现APP帮助中心(FAQ),下次也可以用

热门文章

  1. 工业元宇宙三人行系列直播活动第七场在北京举办
  2. Android提权漏洞CVE-2014-7920CVE-2014-7921分析 1
  3. 初识HarmonyOS学习笔记
  4. 集中注意力和分散注意力
  5. Classical wave-optics analogy of quantum-information processing
  6. windows安装nodejs【详细教程】
  7. Android二次开发之科大讯飞语音输入
  8. java毕业生设计大学生健康管理系统计算机源码+系统+mysql+调试部署+lw
  9. 狂神说SpringCloud学习笔记(附带源码和笔记)
  10. 未来计算机打蜡机,洗车如何走豪华路线?电脑洗车机高端洗车解密