如何创建逼真的.scn文件? [英] How to create realistic .scn files?

查看:1020
本文介绍了如何创建逼真的.scn文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

查看苹果样本AR应用程序,有许多逼真的物体(杯子,蜡烛等)。但是,在Xcode上使用场景工具包编辑器很明显,这只允许您创建基本对象。

Looking at the apple sample AR app, there are many realistic looking objects (cup, candle, etc). However working with the scene kit editor on Xcode it is clear that this only allows you to create basic objects.

我的问题是,可以用什么软件/文件创建逼真的 scn 对象?我确信有一些软件可以让你创建3D模型并将它们转换为 scn 文件。我只是不知道使用哪种软件或哪些文件可以转换为 scn

My question is, what software/file can be used to create realistic scn objects? I'm sure that there is software that allows you to create 3D models and covert them to scn files. I just don't know which software to use or what files can be converted to scn

注意:据我所知,对于Stackoverflow指南,此问题可能过于模糊/广泛。我只是不知道在哪里提出我的问题,这似乎是最好的地方

Note: I understand that this question may be too vague/broad for the Stackoverflow guidelines. I just don't know where to pose my question and this seems like the best place

推荐答案

让一些现有的模型工作和,这就是我所做的......只是我所知道的基础知识。

To get some existing models to work with, here is what I did...just the basics that I know.


  1. 我去了 Turbosquid 找到一个适合我的3D模型。

  2. 确保它有OBJ文件。购买和下载。

  3. 下载 Blender 。导入刚购买的OBJ文件。

  4. 导出DAE文件。

  5. 将DAE文件和任何纹理(png文件)拖到.scnassets中项目中的文件夹。

  6. 单击.scnassets文件夹中的DAE模型。单击以在场景图中选择对象。

  7. 单击右上角的地球。

  8. 我点击了漫反射并选择了我拖入的一个PNG将其应用到模型中

  1. I went to Turbosquid and found a 3D model that would work for me.
  2. Make sure it has the OBJ files. Buy and download.
  3. Next download Blender. Import the OBJ file you just bought.
  4. Export a DAE file.
  5. Drag the DAE files and any textures (png files) into the .scnassets folder in your project.
  6. Click on the DAE model in the .scnassets folder. Click to select the object in the Scene graph.
  7. Click the globe in the upper right.
  8. I clicked Diffuse and selected one of the PNGs I dragged in to apply it to the model

您也可以跳过Blender转换,只使用免费的在线OBJ到DAE转换工具之一。去谷歌上查询。并尝试在Turbosquid上购买便宜的5美元范围型号,它只有一个OBJ文件,而不是很多其他零件。它们太大了,无论如何都会产生其他问题。

You can also skip the Blender conversion and just use one of the free online OBJ to DAE conversion tools. Google it. And try to buy a cheap $5 range model on Turbosquid that just has a OBJ file and not a lot of other piece parts. They are too big and create other issues as a starter approach anyway.

更新在Xcode中观看模型IO上的Apple WWDC演示后,我现在看到你可以将OBJ文件放入.scnassets文件夹中。选择该文件,转到编辑器并选择转换为SCN文件。这也应该有效,但我没有尝试过。值得尝试使用OBJ文件的副本。

Update After watching a Apple WWDC presentation on Model IO in Xcode, I now see that you could drop in a OBJ file into your .scnassets folder. Select that file, go to Editor and select Convert to SCN file. That should work also but I have not tried. Worth trying with a copy of your OBJ file.

这篇关于如何创建逼真的.scn文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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