Jump to content

How to setup project for VR


photo

Recommended Posts

I've added the HTC Vive plugin under the project under "other actions" in the SDK Browser.  But that seems to only get me so far.  It does display the project in VR I can look around.  How do I implement being able to move around like shown in the VR Demo project.  Is this something that I missed, or do I need to study that code and add to my project manually?  I'm not much of a coder so what should I look for, what can I copy into my project etc...

If it's the latter, it would be great to have the ability to add such simple VR movement into a quote plugin so that it could easily be added to any project.  Thanks!

Link to comment

Hi Trey,

to implement any movement logic you'll need some coding. But you can use our VR template as an easy start for your own application. Just copy it as a project and build a scene in a template world.

This could be useful: https://developer.unigine.com/en/docs/2.7.2/content/vr/#vr_template

You also may want to read the article on component system (vr template in 2.7.2 uses it): https://developer.unigine.com/en/docs/2.7.2/code/usage/using_component_system/index

Thanks!

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

Link to comment
3 hours ago, morbid said:

Hi Trey,

to implement any movement logic you'll need some coding. But you can use our VR template as an easy start for your own application. Just copy it as a project and build a scene in a template world.

This could be useful: https://developer.unigine.com/en/docs/2.7.2/content/vr/#vr_template

You also may want to read the article on component system (vr template in 2.7.2 uses it): https://developer.unigine.com/en/docs/2.7.2/code/usage/using_component_system/index

Thanks!

Thanks morbid!  We are now official users of Entertainment version, my username has changed but same person here.

One quick question (I think)  When I copy a Demo project "as project" how do I go about changing the name so I can set that project up as a unique one.  I opened up the folder and renamed the main directory and the project file.  But when I add it to Unigine as an existing project it still shows NAME as the old one in the disabled text boxes on the import page.  Once it's inside Unigine browser it shows the renamed name.

Not sure if it's important to get the behind the scenes name changed or not.  But moving forward this will be likly how I start every new project...so I'll want to make sure I'm doing it the best possible way.

Thanks again!

Link to comment

@morbid so I copied the VR template project as my own and began inputing my objects into the sample world.  All is good when I "run" the project from the Unigine SDK Browser, but when I assemble it and place the packed files onto the laptop for delivery it doesn't seem to engage the Vive.  The vive is all setup and running on the laptop as it should be.

Is there something more to do when "assembling" the project.  I know in the SDK Browser we have the "options" tab and have enabled Stereo 3D with the Vive option.  Similar somewhere else for final delivery?

Thanks to anyone that can help point me in the right direction.

Link to comment

Found that I need to add 

-extern_plugin "AppVive"

to my run.bat file.  Seems this could be a place where during the build/assemble process UI could be improved.  Add option to engage these plugins through the UI when you build it so you wouldn't have to add things to the code manually.

Got it to work though.

Link to comment
×
×
  • Create New...