问题描述
是否可以仅在C++
中为Samsung Gear VR
开发,并可以将其与Qt结合?根据 http://www.gearvrf.org/的介绍,我们有一个Gear VR本机库,但它是以任何方式(样本,文档..)?
Is it possible to develop for Samsung Gear VR
in C++
only and possibly combine it with Qt? According to http://www.gearvrf.org/ there's a Gear VR native library, but is it supported
in any way (samples, documentation..) ?
推荐答案
这实际上是两个问题:
是否可以仅使用C ++开发Samsung Gear VR?
Is it possible to develop for Samsung Gear VR in C++ only?
是的,当然,但是我更喜欢Oculus原生移动SDK而不是您提到的框架.因为在当前阶段,实际上是Oculus推动了软件开发,您知道约翰·卡马克(John Carmack),对吗?他还带来了很多从ID软件到Oculus的工程朋友,在阅读随SDK分发的代码时,您会遇到很多.
Yes, definitely, but I would prefer Oculus native mobile SDK over your mentioned framework. Because at current stage, it is really Oculus who are pushing the software development forward, you know John Carmack, right? And he also brings a lot engineering friends from ID software to Oculus too, which you will come across a lot when reading the code distributed with the SDK.
https://developer.oculus.com/documentation/mobilesdk/latest/concepts/book-native/
使用QT合并吗?
如果您需要构建这样的菜单,按钮和UI元素,我认为现在没有任何好处. UI元素在VR世界中是非常不同的,而图形都是关于基于3D的世界.而且我认为,如果您遵循本机开发路径,那么您也只能依靠Oculus的一些初步UI支持.同样,您只能通过从Oculus读取移动SDK中的源代码来获得帮助.
I don't think there is any benefit now, if what you need is to build menus, buttons, UI elements like this. UI elements are very different in VR world, which the graphic is all about a 3D based world. And I think if you are following the native development path, you can only count on some preliminary UI support from Oculus too. Again, you can only get help by reading the source code in the mobile SDK from Oculus.
这篇关于Samsung Gear VR-是否可以用C ++开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!