Hersir Posted June 21, 2017 Share Posted June 21, 2017 Hi, I have an issue with scene that is loaded incrementaly. After meshes are loaded I apply freezeWorldMatrix to some of them (checked isReady and it is is true). As soon as camera is near to meshes and beta angle of camera is near 90 meshes start to disappear and appear during camera movement. Doesn't happen if incremental loading is not used. Found similar issue here, but it was solved. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 21, 2017 Share Posted June 21, 2017 Hey can you reproduce it in the PG? Quote Link to comment Share on other sites More sharing options...
Hersir Posted June 22, 2017 Author Share Posted June 22, 2017 I created mini project, I will try to host my babylon file so it can be launched in PG mesh-error.zip Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 13, 2017 Author Share Posted July 13, 2017 @Deltakosh Finally managed to make PB, issue can be seen by changing radius of camera using mouse wheel, blue mesh is disappearing an appearing. I haven't seen issue if non incremental version is used. Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 13, 2017 Author Share Posted July 13, 2017 Could it be that freezeWorldMatrix is called on non finished meshes and that breaks rendering? Quote Link to comment Share on other sites More sharing options...
SvenFrankson Posted July 13, 2017 Share Posted July 13, 2017 Hi, indeed it's due to the mesh bounding box not being updated when a mesh matrix is frozen. But I can't really tell when you may call "refreshBoundingInfo" to fix it, when using AssetManager, here with a setTimeout it works : http://www.babylonjs-playground.com/#GV99BG#7 GameMonetize 1 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.