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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to get eyes' position

I am working with Oculus CV1 and have two quesitons:

  1. Is it possible to get two separate camera positions (left eye, right eye) ?

  2. Is the HMD camera position located in the center of two eyes' position ex, hmd caram pos = (left eye pos+right eye pos)/2 . It is corrent?

I would like to get two eyes' position to do some calculations. I do appreciate if anyone could help or give some advice.

Thank you!!

Product Version: UE 4.13
Tags:
more ▼

asked Mar 24 '17 at 06:47 PM in VR

avatar image

jacktsai
26 1 5

avatar image _Simian Apr 10 '17 at 10:08 AM

I'd also like to know this. I need a screen mask that renders per eye, so I need to know how offset the eyes are from the cameras location

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

1 answer: sort voted first

In case anyone stumbles across this post, in 4.21 you can do:

 GEngine->StereoRenderingDevice->CalculateStereoViewOffset(eSSP_LEFT_EYE, cameraRotation, worldToMetres, cameraLocation)

to get left and right eye positions from a given camera position and orientation.

more ▼

answered Apr 08 '19 at 03:55 PM

avatar image

tomvernon
91 2 6 6

(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