bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Is it possible to use OsgOculusViewer with FlightGear? #71

Open lpsandaruwan opened 8 years ago

lpsandaruwan commented 8 years ago

I'm trying to build FlightGear (http://www.flightgear.org/) flight simulator using this library. Changing the default OSGView library for OSGOculusViewer library will help ?

bjornblissing commented 8 years ago

I have never used FlightGear so I really can't say how replacing OSGView would work.

But note that FlightGear uses the GPLv2 license, so linking the Oculus SDK with FlightGear would probably be a violation against the license. Since the Oculus license is not GPL compatible.

See here for further information: https://forums.oculus.com/viewtopic.php?t=487

nicole8806 commented 8 years ago

I have successfully use it with flightgear with the version 0.4.2. Today I find the 0.8 version, it is so different~

bjornblissing commented 8 years ago

@nicole8806 As I previously said, linking the OculusSDK with FlightGear is violation of the GPLv2 license, since the Oculus license is not GPL compatible.

That said, the Oculus SDK have change a lot since 0.4.4. So major changes had to be made to OsgOculus as well, not much else I can do.

nicole8806 commented 8 years ago

@bjornblissing , so I can only use the version before 0.4.4 to complete the work? ![Uploading FullSizeRender.jpg…]() http://imgur.com/mV6AoKg

nicole8806 commented 8 years ago

it is not stable

bjornblissing commented 8 years ago

@nicole8806 I have no idea what work you are speaking about. As previously said I have no experience with the FlightGear codebase. In theory you should be able to integrate it, since FlightGear uses OpenSceneGraph. But doing it is a license violation of the GPLv2 license used in FlightGear.

Remember that no version of the Oculus SDK is GPL compatible

lpsandaruwan commented 8 years ago

@nicole8806 how did you do it? any guide?

nicole8806 commented 8 years ago

@lpsandaruwan ,I just use the 0.4.2 version, the change is very small but the final result is not stable. Now I am thinking about if the 0.8 version could get the better result.

bjornblissing commented 8 years ago

@nicole8806 Could you expand a bit regarding the stability? What kind of issues are you seeing?

nicole8806 commented 8 years ago

@bjornblissing , a bit shaking, not smooth, I will send yout the demo or give a video. now I think maybe it is for the frame rate is too high.