Jump to content

Mixed reality project on HTC Vive Pro


Recommended Posts

Hi everyone, I'm new to the forum and new to the development on HTC Vive Pro.

I would like to replicate a project - that already works on another HMD - to run on the HTC Vive Pro. The project involves Mixed Reality and I need to grab the pass-through image from the cameras.

I started by following the quick start guide, that actually consists of: i) installing VIVE Registry Tool, ii) installing VIVE Input Utility (VIU) and iii) importing a ViveCameraRig from Prefabs of VIU. After this step, I click on Play button and Unity Scene is correctly rendered to the HMD.

Now, I found out that I should import SRWorks for mixed reality on HTC Vive Pro, but I encounter two problems:

  • Following the getting started guide, there are some "camera setting requirements" that I'm not able to find anywhere. Can you give me some hint on this?
  • When importing the package in my fresh unity project, I get some errors (see attached image) belonging to the package. These errors suggest that the package is a little bit outdated.image.thumb.png.22633bc6a7e4512c62fa27c90f2a2e57.png

Am I doing everything right? Is SRWorks the right way to achieve mixed reality on HTC Vive Pro?

Thanks in advance for any support! @joshn_vive @Alex_HTC @Corvus

Link to comment
Share on other sites

  • 4 weeks later...

Hi @Alex_HTC

I cannot find any tutorial on how to setup a project that is able to run your proposed example.

Anyway, I think you missed my point: I do not need to just display real world, I would like to access to the images of the cameras in my code.

More specifically, my desired workflow is:

  • grab the pass-through camera images
  • pass them to my C++ DLL
  • render the results to the HTC Vive Pro 2

Do you have any tutorials/pointers to follow?

Link to comment
Share on other sites

Hi @SimoneSantillo

The camera apis seem to be restricted, and if you want to use them it is my understanding that you'll need to work with the team to get an enterprise key to use that api.

An alternative would be to use render cameras to capture the overlay or underlay and then pass that frame buffer to an api.

Most use cases like this also want virtual objects displayed with real objects, which is what the underlay feature does.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...