Obviously this is a big-picture question, but I was wondering the utility of using multiple scenes in BabylonJS, as opposed to storing multiple environments in one scene. So far, in my project I have a few distinct environments that each belong to their own distinct scene, but I’ve been going over a code refactor and weirdly enough - on the programming end I feel like it might be easier/cleaner for me to store all of the environments I need in one single scene.
I could do this in a few ways. I could hide all of the meshes and disable the functionality of all environments excluding the one the user is currently in. I could also have each environment set up very distant from each other (1000s of units away, for example), so a user couldn’t see one environment when in another, despite them still existing in the same scene.
Outside of structure of the code itself, I was wondering the disadvantages of doing things like this? I’m still a novice when it comes to BabylonJS and 3D on the Web in general, so there might be a glaring issue I’m not seeing. I’m also concerned if doing this might have some type of effect on performance, specifically if I don’t implement it correctly? Would invisible meshes in a scene still cause extra processing?