Jump to content

[SOLVED] AppOculus problems


photo

Recommended Posts

Posted

I'm trying to run the Valley demo using the AppOculus plugin, but I can't get it to work properly.

It doesn't recognize my plugged in oculus rift device and the render for the right eye is wrong.

 

I'm running the engine with the following command:

 

"C:/Unigine source SDK/data/testProject/bin/main_x64.exe" -video_app direct3d11 -video_fullscreen 1 -video_mode -1 -video_height 1200 -video_multisample 0 -data_path "../" -system_script "valley/unigine.cpp" -engine_config "../data/valley/unigine.cfg" -engine_log "../test_log.htm" -sound_app "auto" -console_command "render_anisotropy 2 && world_load valley/valley" -extern_define ",LANGUAGE_EN,QUALITY_HIGH" -extern_plugin ",AppOculus,"

 

and the result is this:

 

pp54m.jpg

 

What can I do?

Posted

Hi, I had same problem recently.

In system script (valley/unigine.cpp) check that stereoInit()stereoShutdown()stereoUpdate() and stereoRender() are called in init(), shutdown(), update() and render() respectively.

Posted

Hello Peter,

Please, add STEREO_OCULUS define to -extern_define command.
Also, you can check Console script launchers for the New Project. Create a new project with Oculus support and check all externs in created launchers.

If it would not help, please could you send us the picture with your error. It is not available for now.

 

Thanks!

×
×
  • Create New...