emara666 Posted May 5, 2018 Share Posted May 5, 2018 Hello Everyone, I've just started to use Babylon.js for the the purpose of posting 3d content to Facebook. I am trying to post a scene that consists of a 3d model and an environment from a 360 degree image. How do I export my environment ? all my attempts ( Creating default skybox, a sphere with flipped normal, ...) have been met with failure: - In case of exporting the environment map no success. - In case of flipped sphere, it always views the scene from outside rather from inside. Any solutions? I am trying to refer to the documentation but no clear answer so far. Thanks Quote Link to comment Share on other sites More sharing options...
MarianG Posted May 6, 2018 Share Posted May 6, 2018 Hi. Try to open it here https://sandbox.babylonjs.com/ and see if you get the same result. But I'm afraid that you cann't add background on fb for glb file.This is a limitation from fb, not from babylonjs. emara666 1 Quote Link to comment Share on other sites More sharing options...
emara666 Posted May 8, 2018 Author Share Posted May 8, 2018 MarianG Thanks for the reply. This is what i encountered: There's There's a place for environment texture in the panel, can I use my texture instead? If not, can I at least make Babylon stick to my camera instead so i can view the background sphere from the inside rather than the default camera that views the entire scene from outside ? thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted May 10, 2018 Share Posted May 10, 2018 Hello, what is the format of your 360 images? a cube texture in a dds? 6 textures? You can have a look here to understand how skybox works: http://doc.babylonjs.com/babylon101/environment#skybox Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.