Dad72 Posted June 26, 2018 Share Posted June 26, 2018 Hi, I have a scene file of a small town and when I use the tool to convert to incremental, I have the file incremental.babylon generate but I do not have the files .babylonmeshdata and .babylongeometrydata is this normal? I thought his files there had to be generate too. Because the files are the same except that one is .incremental.babylon and the other .babylon. And when I test one and the other, the result is the same thing. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2018 Share Posted June 26, 2018 Well this must be broken as the incremental tool is supposed to generate a .incremental.babylon file and a .babylonmeshdata per mesh Which tool are you using? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 Yes that's what seemed to me, I was asking the question not seeing his files available. I also wondered if it's not because in 3ds max, I created "poly editable" and not "mesh editable" (I do not know if it changes anything, I have not tried, but I have less face with poly editable, so I prefer this modifier) I use the MakeIncremental from the depot of the exporters : https://github.com/BabylonJS/Exporters/tree/master/Tools/MakeIncremental Quote Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2018 Share Posted June 26, 2018 If someone is motivated to help, I could use some help here to fix the makeIncremental or at least debug and see why it is not working Quote Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2018 Share Posted June 26, 2018 Can you also try with a simple scene (like made of a box and a sphere) ? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 I just tested a simple scene (a box, a sphere and a cylinder) and this generated .incremental.babylon files and a .babylonmeshdata per mesh Quote Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2018 Share Posted June 26, 2018 ok so it has to do with the specificity of your scene Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 I now come from trying with a simple model (a small boat) and the data files not being generated. So it's when it's a mesh. geometry it's works. I hope it helps. I made a small update of the file cs which makes it possible to define an exit way. I will send it to the depot. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 I have now tested with a model that has a diffuse texture only, it worked. Conclusion, I think it's when the model has a specular texture and/or bump that it works more. I will do other tests to better understand Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 Ok, I understood what goes this time by proceeding by elimination. If I check checkCollision, it creates this problem. So that comes from that. I try with and without several models with diffuse texture, spec and bump. with simple material and multimaterial and that's when I check CheckColllision that I do not have the meshdata file to generate. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted June 26, 2018 Author Share Posted June 26, 2018 I fix the DK problem and add the ability to give an output path to the generate file and send the fix on the repository. I test and everything works Quote Link to comment Share on other sites More sharing options...
Guest Posted June 26, 2018 Share Posted June 26, 2018 You rock! thanks a lot for your help 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.