x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I disable VR positional & orientation tracking for screenshots?

I am currently working on a VR experience for the Vive in which I need to take accurate screenshots on player input from a camera held in the player's hand.

I attempted to do this by moving a camera actor in the world to the World Location and World Orientation of the controller, switching to it using Set View Target With Blend, taking the screenshot using the console command HighResShot, then switching back to the pawn's Camera Manager, using a white flash to cover the transition. However, when I set the new camera actor as active, the actual rendered view was offset by the position and orientation of the HMD, which caused very bizarre results. I tried compensating for this by moving the camera actor to account for this displacement, but have been unable to find a way to make this function in all scenarios.

I'd like to know if I can disable the VR positional & orientation tracking through Blueprint, so that I can set the view to 'this camera and exactly this camera exactly where it appears in the world' for the split-second required to take the screenshot, after which I can reset it to behave normally again. Alternatively, I'd be happy to learn how to take a screenshot through a camera that isn't being rendered to the screen (render to texture is too low resolution) and save it out as an external file.

Does anyone have any thoughts on how this could be accomplished?

Product Version: UE 4.10
Tags:
more ▼

asked Mar 05 '16 at 01:38 AM in VR

avatar image

Matt_GrooveJones
118 10 16 22

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Look to results with "Enable HMD", "Follow Hmd Orientation" & etc near-HMD nodes.

more ▼

answered Mar 07 '16 at 02:04 PM

avatar image

MorskoyZmey
377 12 159 44

avatar image Matt_GrooveJones Mar 08 '16 at 07:13 PM

This got me looking in the right direction. There's a hidden engine boolean for "Follow HMD Orientation" (you have to turn off Context Sensitive to find it). Turning it off on the Player Camera Manager fixed the issue for me. Thanks!

avatar image SterlingY Jul 09 '18 at 11:31 PM

I'm looking to do something similar, but now in 4.18, there is no "Follow HMD Orientation" node. Any thoughts on how to do this now?

avatar image Ixiguis Oct 21 '18 at 11:08 PM

Wanna know this too

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question