如何将3ds模型导入JAVAFX? [英] How do I import 3ds models into JAVAFX?

查看:54
本文介绍了如何将3ds模型导入JAVAFX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是装载程序,但我找不到如何在互联网上使用代码的示例.我是3D建模者,因此拥有很多模型,但是我不知道如何使用以下链接将3ds模型导入到Javafx中.任何帮助,将不胜感激.谢谢.

Here are the loaders, but I can't find an example of how to use the code on the internet. I have plenty of models as I'm a 3d modeler, but I don't know how to use the following link to import my 3ds models into javafx. Any help would be appreciated. Thanks.

http://www.interactivemesh.org/models/jfx3dimporter.html

推荐答案

使用 InteractiveMesh 3D模型浏览器以加载模型.

这将使您检查3D模型导入器和JavaFX 3D是否能够加载和渲染3ds模型.这是值得进行的检查,因为3D模型导入器和JavaFX 3D API当前都是早期访问版本,在显示您的特定模型时可能会有一些问题或限制.

This will allow you to check that the 3D Model Importer and JavaFX 3D are capable of loading and rendering your 3ds model. This is a worthwhile check as both the 3D model importer and the JavaFX 3D API are currently early access releases which may have some issues or limitations displaying your particular models.

如果模型浏览器应用程序可以与您的模型一起使用,并且您想将3ds模型导入到您自己的程序中,则可以将变体的答案修改为:

If the model browser application works with your models and you want to import the 3ds models into your own program, you could adapt a variation the answer to: How to create 3d shape from STL in JavaFX 8? As that answer deals with STL files, to import a 3ds file, substitute the TdsModelImporter for the STL importer. The rest of the test harness code remains the same (making appropriate adjustments for lighting, model scale, etc).

交互式网格模型导入器下载包含api javadoc TdsModelImporter在3ds模型中的使用情况.

The interactive mesh model importer download includes api javadoc on usage of the TdsModelImporter for 3ds models.

对于其他问题,我建议您直接与 InteractiveMesh 联系.

For further questions, I advise you to contact InteractiveMesh directly.

这篇关于如何将3ds模型导入JAVAFX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆