Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could I see the panorama in VR mode? #34

Open
tomtomtong opened this issue Mar 22, 2016 · 12 comments
Open

Could I see the panorama in VR mode? #34

tomtomtong opened this issue Mar 22, 2016 · 12 comments

Comments

@tomtomtong
Copy link

Your codes are great. Could I also view it with VR mode? (the screen is split into two sides and in landscape mode)

@mayakraft
Copy link
Owner

Hi, I have explored this years ago, if my memories serve me well:

  • VR requires 2 different scene renderings with different camera position (IPD)
  • the panorama projected sphere didn't create the illusion of depth with 2 cameras in different places (panorama photo is only from one perspective)

it worked well in VR if the panorama was (infinite distance) the sky or the stars, with an OpenGL plane for ground and other 3D geometry in the scene. There is a lot of setup here, and maybe good to separate it into another project. I'd be interested to hear your thoughts.

@tomtomtong
Copy link
Author

Thank you for your reply. If VR mode only supports still photos, it would be much easier. There are two cameras and two spheres. The photo for left eye will be mapped on left sphere and the photo for right eye will be mapped on right sphere. Different camera will render different sphere. Will this be much easier to implement?

@mayakraft
Copy link
Owner

if the same panorama is inside of a 2 spheres displaced from each other it makes a headachy feeling - i've tried this inside of an oculus.
are you targeting a thing like google cardboard?

@tomtomtong
Copy link
Author

There is no displacement. As the photos already have parallax difference. You are right. I am looking something like Google Cardboard for iOS but not written in Unity and using objective-c instead.

@mayakraft
Copy link
Owner

do you mean the panorama images are different? there were 2 photos taken close to each other?

@tomtomtong
Copy link
Author

Yes The camera position is slightly different when capturing these 2 images.

@mayakraft
Copy link
Owner

but do you see how when the viewer rotates their head, the axis between the eyes also rotates, and the cameras are in different places. you would need an infinite number of pictures in different locations

@tomtomtong
Copy link
Author

We could use some devices like the link below to capture.
http://www.izugar.com/product/z6x3d.html

Tom Tong

2016-03-24 13:30 GMT+08:00 Robby Kraft notifications@github.com:

but do you see how when the viewer rotates their head, the axis between
the eyes also rotates, and the cameras are in different places. you would
need an infinite number of pictures in different locations


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#34 (comment)

@SanPanG-K
Copy link

Your codes are great. Could I also view it with VR mode? (the screen is split into two sides and in landscape mode)

@danielCrespo01
Copy link

hello according to what I read in your post is easier to use vr mode spheres or cubes?

@skborhan
Copy link

@tomtomtong hi. I deploy this algorithm including axis, gyro rotation and translation in my 360 VR player for android. Using Open GL and it works fine. Just split to two different glviewport, render differently & its perfectly working with a very slight modification. This algorithm is ok for VR.

@skborhan
Copy link

@danielCrespo01 hi, best to determine which way you are stitching the image. Sphere is good to precision for rotation & translation calculation but corner of the image is slightly curved thats problem in Spherical Image frame. Cube is also good but easily to detect stitched part of the image. (I used both, then switched to sphere) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants