de-Roo.Lukas Posted February 28, 2018 Share Posted February 28, 2018 Hi, Currently, I want to assemble the project to a release version that runs in VR environment what comment should I input in the -console_command area? Thanks Link to comment
silent Posted March 1, 2018 Share Posted March 1, 2018 Hi Lukas, Please, check the documentation on AppVive / AppOculus plugins here: https://developer.unigine.com/en/docs/2.6.1/principles/render/output/stereo/appvive/ https://developer.unigine.com/en/docs/2.6.1/principles/render/output/stereo/appoculus/ Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
de-Roo.Lukas Posted March 1, 2018 Author Share Posted March 1, 2018 Thanks, I just followed the following procedure: on the application start-up input: main_x86d -extern_plugin "AppVive"; in Visual Studio built the release_double version in Unigine SDK assemble the project however, when I run the assemble project run.bat file, it is still run in the pc mode, not VR mode. i want to assemble a version that directly runs in VR mode. Link to comment
silent Posted March 2, 2018 Share Posted March 2, 2018 Hi Lukas, Probably, you will need to modify .bat files after assembling the project manually (you can use any text editor like Notepad++ for that). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
de-Roo.Lukas Posted March 5, 2018 Author Share Posted March 5, 2018 Thanks silent, I have edited the run.bat file as follows start bin\oil_refinery2_%arch%.exe -video_app auto -video_vsync 0 -video_refresh 0 -video_mode 1 -video_resizable 1 -video_fullscreen 0 -video_debug 0 -video_gamma 1.000000 -sound_app auto -data_path "../" -engine_config "../data/unigine.cfg" -console_command "config_readonly 1" -extern_plugin "AppVive" main_x86d Thanks Silent however when I run the program it says cannot load AppVive_64.dll Link to comment
silent Posted March 5, 2018 Share Posted March 5, 2018 Hi Lukas, Probably, your project is not configured to run with AppVive, please check the project settings. Inside <project>/bin dorectory you should have following libraries: AppVive_x64.dll (initially stored in <SDK_Install_Dir>/bin) openvr_api.dll (initially stored in <SDK_Install_Dir>/bin/x64) You also can copy these files manually. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
de-Roo.Lukas Posted March 5, 2018 Author Share Posted March 5, 2018 (edited) I think I have all the files Edited March 5, 2018 by de-Roo.Lukas Link to comment
silent Posted March 5, 2018 Share Posted March 5, 2018 Lukas, If you copy all the files from x64 dir directly to bin - will it help? Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
de-Roo.Lukas Posted March 5, 2018 Author Share Posted March 5, 2018 Yeah, it works. I just copy openvr_api.dll to bin. Link to comment
Recommended Posts