dqxuiq7772 2014-04-24 00:52
浏览 69
已采纳

Oculus Rift和Facebook组合的编码工具集

I want to code for Oculus Rift and have full access to Facebook API from my program. It's a bit of a jump in the deep for me but that doesn't matter. I have some programming knowledge and will learn whatever I need to learn.
Right now for the above mentioned combination I'm thinking:

  • C++ with maybe OGRE plus the Oculus API (0.3.1 preview)
  • Use the Facebook PHP SDK (can be called from C++ from what I've read)

Please advise me on a sensible combination of languages/libraries.
Yes there is probably more than one way to skin this cat, but I have a feeling there is a more obvious way to a seasoned programmer: that's what I'm looking for.

Additional notes:

  • I'm not going to be making a 3D game, so I'm ruling out Unity.
  • I don't know what I'll be making yet (!) but I hope that it will be fun and that it will make use of the Rift together with FB to create something innovative.
  • I've pre-ordered the DK2
  • 写回答

1条回答 默认 最新

  • dtz55359 2015-03-05 22:47
    关注

    This question largely depends on what you or any particular person faced with the problem finds it easiest to work with. If I were working on this I would probably start with the Spring Social framework and the JOVR Java bindings for the Oculus SDK, for the simple reason that my familiarity with the toolset (I've worked with Spring extensively in the past and I wrote the JOVR bindings and examples) would let me get a prototype on which I could iterate up and running, probably in a matter of hours. On the other hand if you're not familiar with Java, Maven, Spring, or the Oculus SDK, it could take days or weeks of fighting code and figuring out the basic workflow just to get started on either the Facebook or Oculus integration sides.

    I would suggest that you evaluate working with tools for Oculus tools for working with Facebook independently before you settle on your combination. Write a simple example to access the Facebook graph API in a language and then try to write a example of a simple VR scene in the same language. You may find that just because Language X makes one easy, it might make the other 10 times harder than it should be. Once you've tried that out in a number of languages / with a number of libraries, you'll be in a much better position to decide for yourself which combination will present the path of least resistance given your own skills.

    Bear in mind that Oculus integration is probably the more limited of the two. There are bindings that I know of for C, C++, Python, Java and I believe C#. You can even use Javascript if you want to navigate the currently turbulent waters of WebVR. This may sound like an abundance of choices, but if you have zero experience and zero desire to gain experience in some of these, then you can probably strike them off your list pretty quickly.

    Facebook on the other hand has far too many possible bindings to list them all here, and ultimately if you need to you can always work directly with the REST API, since in the end all of the SDKs are basically wrappers around network requests anyway.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算