Jump to content

[SOLVED] HowTo: Oculus Rift


photo

Recommended Posts

Posted

For those who don't know how to compile the plugin:

 

  1. Get the OR SDK (https://developer.oculusvr.com/)
  2. export OCULUSROOT=<path to sdk>/OculusSDK
  3. cd UnigineSDK_binary_2013-04-30_linux/source/plugin
  4. scons

  5. cp App/AppOculus/lib<yourbuild>.so ../../lib/ 

  6. Enjoy :)

Posted

Support for building Oculus Rift plusing has been added into build.py as well.

  • 1 month later...
Posted

viewing around not supported yet? - just tried to view demos, but camera seems to be always locked - not reacting to head-movements? - possible to control camera with oculus in unigine?

Posted

latest evaluation- june - win x64, titan gtx,.. so it should work, i guess!?  - anything i need to do, to activate head-tracking?
regards
Phil
 

Posted

Philipp,

 

I'm afraid we can't reproduce such behavior on our test Windows x64 Machines with latest Windows Evalkit (2013-06-20).

 

Could you please sent us log.html file from <SDK>/bin directory? 

 

 

  anything i need to do, to activate head-tracking?

All you need to do is select Oculus plugin from Stereo 3D drop-down menu and check the Fullscreen checkbox in the Samples browser. Please, make sure that drivers for Oculus Rift are installed correctly.

 

oculus.png

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

mhmm- are there any drivers except the oculus sdk - ? - well other demos and udk working fine, so i guess oculus should be ok.

log:
 

11:55:31 Loading "C:/Unigine_evaluation/bin/../data/demos/urban_driving/unigine.cfg"...
11:55:31 Loading "AppOculus_x64.dll"...
11:55:31 Loading "Interface_x64.dll"...
11:55:31 Loading "dxgi.dll"...
11:55:31 Set 1200x800 8xAA fullscreen video mode
11:55:32 Set 1.00 gamma value
11:55:32 Unigine engine http://unigine.com/
11:55:32 Binary: Windows 64bit Visual C++ 1600 Release Jun 7 2013
11:55:32 Features: OpenGL Direct3D9 Direct3D11 OpenAL XAudio2 XPad360 Joystick Flash Editor
11:55:32 App path: C:/Unigine_evaluation/bin/
11:55:32 Data path: C:/Unigine_evaluation/data/
11:55:32 Save path: C:/Unigine_evaluation/bin/
11:55:32
11:55:32 ---- System ----
11:55:32 System: Windows 7 (build 7601, Service Pack 1) 64bit
11:55:32 CPU: Intel® Core i7-3930K CPU @ 3.20GHz 3201MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX HTT x6
11:55:32 GPU: NVIDIA GeForce GTX TITAN 9.18.13.1422 x1
11:55:32 System memory: 57320 MB
11:55:32 Video memory: 6143 MB
11:55:32 Sync threads: 5
11:55:32 Async threads: 6
11:55:32
11:55:32 ---- MathLib ----
11:55:32 Set SSE2 simd processor
11:55:32
11:55:32 ---- Sound ----
11:55:32 NULL
11:55:32
11:55:32 ---- Render ----
11:55:32 Renderer: NVIDIA NV70 (Kepler) 6143MB
11:55:32 Direct3D11 desc: NVIDIA GeForce GTX TITAN
11:55:32 Found feature level 11.0
11:55:32 Found compute shader 11.0
11:55:32 Maximum texture size: 16384
11:55:32 Maximum texture units: 16
11:55:32 Maximum texture renders: 8
11:55:32
11:55:32 ---- Physics ----
11:55:32 Physics: Multi-threaded
11:55:32
11:55:32 ---- PathFind ----
11:55:32 PathFind: Multi-threaded
11:55:32
11:55:32 ---- Interpreter ----
11:55:32 Version: 2.55
11:55:32
11:55:32 Unigine~# render_anisotropy 4 && render_restart && world_load demos/urban_driving/urban_driving && render_shaders 2
11:55:32 Loading "core/unigine.cpp" 38ms
11:55:32 Loading "core/locale/unigine.en" dictionary
11:55:32 Loading "core/materials/default/unigine_post.mat" 25 materials 52 shaders 2ms
11:55:32 Loading "core/materials/default/unigine_render.mat" 47 materials 2368 shaders 10ms
11:55:32 Loading "core/materials/default/unigine_decal.mat" 1 material 390 shaders 3ms
11:55:32 Loading "core/materials/default/unigine_decal_terrain.mat" 1 material 1947 shaders 7ms
11:55:32 Loading "core/materials/default/unigine_decal_deferred.mat" 1 material 369 shaders 1ms
11:55:32 Loading "core/materials/default/unigine_mesh.mat" 5 materials 3386 shaders 26ms
11:55:32 Loading "core/materials/default/unigine_mesh_lut.mat" 2 materials 1062 shaders 8ms
11:55:32 Loading "core/materials/default/unigine_mesh_paint.mat" 2 materials 1158 shaders 10ms
11:55:32 Loading "core/materials/default/unigine_mesh_tessellation.mat" 5 materials 3332 shaders 61ms
11:55:32 Loading "core/materials/default/unigine_mesh_tessellation_paint.mat" 2 materials 2276 shaders 58ms
11:55:32 Loading "core/materials/default/unigine_mesh_triplanar.mat" 1 material 112 shaders 3ms
11:55:32 Loading "core/materials/default/unigine_mesh_overlap.mat" 1 material 300 shaders 6ms
11:55:32 Loading "core/materials/default/unigine_mesh_terrain.mat" 1 material 975 shaders 22ms
11:55:32 Loading "core/materials/default/unigine_mesh_layer.mat" 1 material 84 shaders 2ms
11:55:32 Loading "core/materials/default/unigine_mesh_noise.mat" 1 material 106 shaders 3ms
11:55:32 Loading "core/materials/default/unigine_mesh_stem.mat" 2 materials 2180 shaders 39ms
11:55:32 Loading "core/materials/default/unigine_mesh_wire.mat" 1 material 45 shaders 1ms
11:55:32 Loading "core/materials/default/unigine_terrain.mat" 1 material 1980 shaders 46ms
11:55:32 Loading "core/materials/default/unigine_grass.mat" 2 materials 474 shaders 9ms
11:55:32 Loading "core/materials/default/unigine_particles.mat" 1 material 109 shaders 2ms
11:55:32 Loading "core/materials/default/unigine_billboard.mat" 1 material 51 shaders 2ms
11:55:32 Loading "core/materials/default/unigine_billboards.mat" 2 materials 840 shaders 16ms
11:55:32 Loading "core/materials/default/unigine_volume.mat" 6 materials 53 shaders 6ms
11:55:32 Loading "core/materials/default/unigine_gui.mat" 1 material 82 shaders 1ms
11:55:32 Loading "core/materials/default/unigine_water.mat" 1 material 533 shaders 14ms
11:55:32 Loading "core/materials/default/unigine_sky.mat" 1 material 21 shaders 6ms
11:55:32 Loading "core/properties/unigine.prop" 2 properties 0ms
11:55:33 Loading "demos/urban_driving/urban_driving.cpp" 102ms
11:55:33 Loading "urban_driving/materials/sfx.mat" 8 materials 3ms
11:55:33 Loading "urban_driving/materials/urban_driving.mat" 10 materials 9ms
11:55:33 Loading "urban_driving/materials/vehicles.mat" 18 materials 32ms
11:55:33 Loading "urban_driving/config/physics.prop" 3 properties 0ms
11:55:33 Loading "urban_driving/materials/buildings.mat" 34 materials 15ms
11:55:33 Loading "urban_driving/materials/vegetation.mat" 13 materials 13ms
11:55:33 Loading "demos/urban_driving/urban_driving.world" 256ms
11:56:18 Unigine~# quit
11:56:18 Close "dxgi.dll"
11:56:18 Heap usage: none
11:56:18 Memory usage: none
11:56:18 Allocations: none
11:56:18 Shutdown
Posted

ohh ^^ - sry for wasting time  - thanks tho!

  • 2 months later...
Posted

hi!

I was wondering if there is a compiled version of the appoculus plugin available for the oculus HD ?

regards

Phil

 

Posted

... or will there be an upcoming version of appoculus plugin, where it was possible to set resolution? - the current version just does not support oculus HD yet :( - we managed to change the resolution, but eye seperations seem to be wrong with HD version.
any help on this issue would be much appreciated.

kind regards

Phil

  • 3 months later...
Posted

Hi

I watched the Oculus demo. But I noticed a very large latency! The delay between head motion and display updates is way to large.

Will this be improved?

Posted

Hello cor,

Could you give us some additional information:
 - What is your OS and video card?
 - What is your frame rate before and after connecting Oculus Rift?

 

Thanks!

Posted

The frame rate is not the problem. But the latency is.

I have a GTX 690 running on Windows 7 64 bits.

Posted

Hello cor,

It would be very helpful if you can provide us some more information :

 - What demo did you try? In benchmarks it's better to use free camera to check Oculus (You can switch camera using F4 button).
 - Did you try Oculus or Oculus HD?
 
 Low frame also affects the latency, so could you, please, check the latency with the following settings:
  - Renderer: DX9
  - Anisotropy: Off
  - Anti-aliasing: Off
  - Shader quality: Low
  - Tesselation: Disabled
 
  - Multiple displays (in Windows Screen Resolution settings): Extend these displays
 

Thanks!

×
×
  • Create New...