bgstaal / multipleWindow3dScene

A quick example of how one can "synchronize" a 3d scene across multiple windows using three.js and localStorage
MIT License
16.44k stars 2.56k forks source link

Overlapping objects in split screen #3

Open narayan954 opened 9 months ago

narayan954 commented 9 months ago

If we use split screen (feature available in Microsoft edge browser) the object gets duplicated onto the screen (check first screenshot) and when we exit the mode, it becomes one, but strangely (as in second screenshot), and this window gets isolated from other windows and other windows can no longer participate with this window (third screenshot).

SCREENSHOT 1 SCREENSHOT 2 SCREENSHOT 3

ps: I'm a beginner here and also trying to understand what and why's that happening,

szucsz commented 9 months ago

I think it must be the incognito mode

JMcrafter26 commented 9 months ago

Try using another browser (it worked in firefox for me) AND disable any adblocker or anti tracking plugin, they will often block this

narayan954 commented 9 months ago

Try using another browser (it worked in firefox for me) AND disable any adblocker or anti tracking plugin, they will often block this

it works in other browser without this feature(split screen), I'm targeting this feature only

narayan954 commented 9 months ago

I think it must be the incognito mode

no, it was just for reference, issue persists in any mode

liushengrui527 commented 8 months ago

If we use split screen (feature available in Microsoft edge browser) the object gets duplicated onto the screen (check first screenshot) and when we exit the mode, it becomes one, but strangely (as in second screenshot), and this window gets isolated from other windows and other windows can no longer participate with this window (third screenshot).

narayan954 commented 8 months ago

If we use split screen (feature available in Microsoft edge browser) the object gets duplicated onto the screen (check first screenshot) and when we exit the mode, it becomes one, but strangely (as in second screenshot), and this window gets isolated from other windows and other windows can no longer participate with this window (third screenshot).

I agree with this, can't we try to fix that?, or we've to create new instance of window each time for this to work?

Ps, currently only two windows can interact at a time, so if we add a third one, it won't interact with the first two, adding fourth one can work with third, and this pair goes on....