TheGecko Posted May 18, 2017 Share Posted May 18, 2017 Hi all - Quick question about Babylon files. I have one with meshes, cameras with animations, etc. All sorts of goodness: what is the recommended method of importing this file, and having access to all the associated objects inside? I've been using ImportMesh, which works fine for importing meshes and textures. It's not clear to me, though, how I instantiate the other data types within the babylon file. Many thanks! Quote Link to comment Share on other sites More sharing options...
TheGecko Posted May 18, 2017 Author Share Posted May 18, 2017 OK, just to partially answer my own question : SceneLoader.Append appears to do what I want. Now to figure out what things appear black... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 Did it get better? SceneLoader.Append or .Load are the way to load .babylon files IF things are black, this is perhaps because there is no light in your scene? Quote Link to comment Share on other sites More sharing options...
TheGecko Posted May 29, 2017 Author Share Posted May 29, 2017 Yeah, all sorted - got the scene loading and rendering fine now, plus the animated camera kicks off nicely. Thanks for the follow up. 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.