You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, March 2nd 2017, 11:33am

stereo mode in webVR, possible to constraint on Landscape mode even if rotation with device ?


so here my problem :
-when enter WebVR with stereo mode,
if orientation of device is landcape : the screen is split from the longer part of the mobile (giving 2 squares),
if you rotate to portrait mode : the stereo view rotate and screen is split from the narrower part of mobile (giving 2 long rectangles)

is it possible to keep the landscape stereo mode (2 squares) when rotating in portrait mode ? (same as youtube behavior)
(i assume stereo mode keep the same but image rotate)

i was thinking of an action in Onresize Event triggered by orientation change,
comparing stagewidth and stageheight and resetting stereo mode placement...

thanks for help