本文介绍了用JOGL加载.obj的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现可能有关于加载obj的教程,但是没有关于如何加载obj以及如何将其与java一起使用的指南,有人找到了任何有用的教程的链接吗?

I have found may tutorials on loading an obj, but nothing on how to load it and use it with java, anyone have links to any useful tutorials?

推荐答案

我能找到的最接近的是:

The closest that I could find were:

  • JOGL-ES Chapter 2 - Loading OBJ Models
  • OBJ File Format
  • OBJ Loader, Renderer Independent

请记住,JOGL是一个非常低级的API.一些更高级别的API(JMonkeyEngine和Java3D)具有内置的复杂API,用于处理此类事情.使用JOGL,您将自己完成许多工作.显然,每种方法都有优点和缺点.

Keep in mind that JOGL is a very low-level API. Some of the higher-level APIs (JMonkeyEngine, and Java3D) have sophisticated APIs built in for handling this sort of thing. With JOGL, you will be doing much of the work yourself. Obviously, there are advantages and disadvantages to each approach.

这篇关于用JOGL加载.obj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 01:33