Coder Social home page Coder Social logo

Comments (7)

DuFF14 avatar DuFF14 commented on July 29, 2024

Nope, but if you have the OSVR libraries (osvrClient.so, osvrCommon.so, etc.), you should be able to copy them into the plugins folder. Let me know if this works.

RenderManager in Unity via the Unity Rendering Plugin is not yet supported: OSVR/OSVR-Unity-Rendering#5

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

To clarify, the steps to take are:

  1. build OSVR-Core on Linux,
  2. copy the osvr___.so files from the lib directory to the Plugins folder in Unity.
  3. make sure the .so files are set to Linux in Unity.

from osvr-unity.

davidchu2000 avatar davidchu2000 commented on July 29, 2024

I copied about 13 libosvr*.so to my Unity 3D project plugin directory (i.e. ~/unity3d_projects/monkeyrun/Assets/Plugins/x86_64)
wen I brought up the OSVR Utility , I still saw the OSVR Directory path is Windows' path.
And when I clicked on "print tree" button, there was not re-action. None of the buttons were enabled.

from osvr-unity.

rpavlik avatar rpavlik commented on July 29, 2024

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

You probably don't want them in x86_64 folder, since that's confusing and Unity may default them to the wrong platform based on folder name, but it should still work once you've verified the .so files are marked for Linux. Run the server normally and then play in Unity. The editor utils won't work on linux but are not necessary.

from osvr-unity.

davidchu2000 avatar davidchu2000 commented on July 29, 2024

Basically I'd like to verify the osvr core/server I built on Linux. I don’t have a HMD at this moment.
I tried the command line osvr_print_tree and osvr_reset_yaw, they seemed to be able to talk to the server.

I wonder what the next step I can do? Preferably something more graphical.

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

You can run in extended mode with the window on the main monitor, and adjust display settings in the config file, but I'm not sure if the changes will take effect as-expected without a HMD connected.
https://github.com/OSVR/OSVR-Core/blob/master/apps/sample-configs/osvr_server_config.renderManager.HDKv2.0.extended.json

from osvr-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.