【问题标题】:Are there open source implementations of Wavefront OBJ loaders for the iPhone?是否有适用于 iPhone 的 Wavefront OBJ 加载器的开源实现?
【发布时间】:2013-02-18 20:15:59
【问题描述】:

我想在我的 iPhone 应用程序中显示建筑内部的 3D 模型,但它们是 Wavefront OBJ 格式。是否有可以在我的应用程序中使用的 Wavefront OBJ 加载器的开源实现?

【问题讨论】:

    标签: iphone opengl-es wavefront


    【解决方案1】:

    Bill DudneyJeff LaMarche 都实现了适用于 iPhone 的 Wavefront OBJ 加载器,您应该可以将其放入您的项目中。但是请注意,Jeff LaMarche 的实现 no longer works on iOS5is no longer actively developed, and was never intended as production code

    此外,由于我最初写了这篇文章,Jonathan Wight 已经发布了他的TouchOpenGL 代码,其中包括一个 OBJ 加载器。

    【讨论】:

    • 谢谢,布拉德。我尝试了 Jeff LaMarche 的实现,但我的模型看起来很糟糕;网格中的三角形出现和消失。我想我需要清理一下我的 Foley 和 Van Damm 文本......
    【解决方案2】:

    注意:我是这个框架的作者。

    Rend,我基于 Objective-C 的 OpenGL ES 2.0 框架包含一个 Wavefront OBJ 加载器。该类称为 REWavefrontMesh。

    http://github.com/antonholmquist/rend-ios/blob/master/Classes/REWavefrontMesh.h http://github.com/antonholmquist/rend-ios/blob/master/Classes/REWavefrontMesh.m

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-12
      • 2016-05-19
      • 2023-03-27
      • 2014-06-05
      • 1970-01-01
      • 2010-10-19
      • 1970-01-01
      • 2011-03-20
      相关资源
      最近更新 更多