phileday / whirligig-old-issues

Whirligig Media Player bug tracking
0 stars 0 forks source link

Feature request: zoom #30

Open cheater opened 5 years ago

cheater commented 5 years ago

Some videos are created too close or too far from the object and you need to zoom. There is currently a binding for moving forward/backward, but that's only a partial solution. There's a few things it does not address.

  1. When you move forwards or back, the eye distance should change. It does not currently, and you have to readjust your vision, which is tiring.
  2. When you move back far enough, the view becomes increasingly circular. It shouldn't do that.

I am not sure what the best way would be to do this. I propose creating a few options so that people can play around with them and see which one is the best. Each one should have a separate binding.

Option 1. Move in and out, like currently, and add a slider to adjust how much the eye distance should change when you move in and out. Add some way to "unwrap" stuff near the border, so that it doesn't become nearly as "circular". I understand this is partly a limitation of the way the videos were recorded.

Option 2. Rather than move camera, change the curvature of the dome/barrel and the size of the projection. IE make the dome less curvy and larger when you make the size of the mapped projection larger

Option 3. Change the FOV of the eyes.

I would love to hear what you think about this. Thanks.

Phil's response: Your right, the zoom in and out does move the camera. It is using the position of the user moving them backwards and forwards. This is why the video becomes more circular when going too far back.

Solutions for this aren't easy.

Option 1 changing the eye distance would be the same as increasing the size of the projection model. This reduces the distortion but also reduces the effect of making the video smaller in front of you.

options 2. This has the most porpentional. Although there are options in this already. At least for Barrel. If you are using a 360 video you can reduce the FOV and then squash the video to get the aspect ratio correct again. This would create a black missing bit at the back but would make the front subject small and hopefully more easy to see. It's something you just have to play around with the settings on that one.

Option 3. Unfortunately you can't change the FOV. Right at the beginning of VR they allowed it but they quickly turned it off as it made people ill. It's considered very much a no no in VR and as such is now quite hard to do.

Regarding helping with this. I've thought of a few things but I've never come up with a proper solution. Option 2 is most possible and maybe could be done with a lock. It's something to think about but currently I can't think of a good solution.

Phil

My response: Bear in mind option 1 still just moves the camera forward and backward. Changing eye distance as you're doing this is only for fixing it up so that eye distance doesn't drift out of sync to where you set it before moving. I mean, if you set eye distance to, say, "2.0", and move in a bit, you might want to set the distance to 2.05 to get the same effective eye distance after the projection is done. That's the correction I am thinking of.

It sucks about the FOV, wonder if this can be somehow worked around, as we clearly have a good reason to use it here.