Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
“我正在尝试开发像水果杀手这样的游戏。我有代码,但我想将水果替换为我们的对象,如何在 3d 中创建它们。” 水果 3d .h 文件,如:** static const TexturedVertexData3D GreenappleVertexData[] = { {/ v: /{0.896683, 0.257172, 30.407585}, / n: /{0.073519, 0.000000, 0.997284}, / t: /{0.307720, 0.987318}}, **
不!期,不讨论。
为您的 .obj 文件实现解析器/加载器并从中读取模型。您可以为 iOS 和 Android 应用程序捆绑文件。