Pro增强现实&QUOT

Pro增强现实&QUOT

本文介绍了增强现实-Pro增强现实"通过拉哈夫苏德,第8章的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的名字是克里斯蒂娜和我学习电信工程于去年。我的问题:我试图从第8章的code在我的手机被拉哈夫苏德 临增强现实,并且一切顺利:从书(命名为A的3D增强现实模型查看器)确定与从那里的车型,但是当我尝试加载我自己的模型我什么也得不到。我做我的模特在搅拌机,然后将其导出为.obj文件,当我出口他们,我检查了三角Normals.I也试图从互联网等车型,但车型没有加载。我K418与42CrMo异种很多从该网站的吃茶 HTTP://$c$c.google.com / P / ANDAR / 关于安达code,但仍然没有答案,为什么我的模型不加载。请帮我一个答案!

My name is Cristina and i am studying telecommunications engineering in the last year.My questions: i have tried the code from chapter 8 (named:A 3D Augmented Reality Model Viewer)from the book: "Pro Augmented Reality" by Raghav Sood on my phone,and everything goes ok with the models from there,but when i try to load my own models i get nothing.I did my models in blender,then export them as .obj files,when i export them i checked the Triangle and Normals.I also tried with other models from the internet,but the models didn't load.I studyed a lot the explications from this site http://code.google.com/p/andar/ about the andar code but still have no answer why my models aren't loading .Please help me with an answer!

推荐答案

1)你或许应该检查你的模型的大小,也许该模型是过大或过小,只是不可见。

1) You should probably check the size of your model, maybe the model is too big or too small and just not visible.

2)检查另一个重要因素是你的3D模型的原点。对于基于标记的AR,最好的解决办法是定义原点模型的地平面(从侧面看,以最低的垂直坐标),而不是在中心。

2) Another important element to check is the origin of your 3D model. For marker-based AR, the best solution is to define the origin at the ground plane of your model (from a side view, at the lowest vertical coordinate) and not in the center.

要检查你的模型,我会建议你加载两个模型和模型ANDAR工作(如plant.obj,sofa.obj)在搅拌机(文件>>追加),看看是否都是粗略结盟在搅拌机。如果没有,你可以对准ANDAR一(规模,产地)模型,删除安达目,再出口。

To check your model, I will advice you to load both your model and a model working with AndAR (e.g. plant.obj, sofa.obj) in Blender (File>>Append) and see if both are "roughly" aligned in Blender. If not you can align your model with the AndAR one (scale, origin), delete the AndAR mesh and export again.

这篇关于增强现实-Pro增强现实"通过拉哈夫苏德,第8章的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 23:04