Pierre Glibert Posted February 13, 2017 Share Posted February 13, 2017 Hi @Deltakosh, I quickly tested your 3dsMax exporter and it's a really nice work ! But I have a request for you if it's possible : Could you add the "parentId" of an instance in your .babylon please ? I don't know if you remember, I did this for the import part of BabylonJs : http://www.html5gamedevs.com/topic/24596-apply-parent-of-instance-with-babylon-file/#comment-142048 For us, it's important if an instance have an other parent with a different transformation. What do you think ? Thanks for your help Letsbro team. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 13, 2017 Share Posted February 13, 2017 Hello I see no problem doing it. Will send an update soon Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted February 13, 2017 Author Share Posted February 13, 2017 Thank you Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted February 16, 2017 Author Share Posted February 16, 2017 hi @Deltakosh Have you any news about this update please ? If not, can you tell me how much time you need to do this ? It's just to organize my time. no pression of course Thanks, Letsbro studio team. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 16, 2017 Share Posted February 16, 2017 already done actually I published v0.6 with the fix: https://github.com/BabylonJS/Babylon.js/tree/master/Exporters/3ds Max Pierre Glibert 1 Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted February 16, 2017 Author Share Posted February 16, 2017 Niiiiiice I like the comment near to zip file : "3ds max 0.6 with instance parenting support". Now, I'm sure is done ^^ Thanks again @Deltakosh GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted March 5, 2017 Author Share Posted March 5, 2017 Hi again @Deltakosh I see something wrong with instance parentId in .babylon file ... Instances haven't "id" property. So if a mesh or instancedMesh have an instance like parent, the engine can't do the link : https://github.com/BabylonJS/Babylon.js/blob/master/src/Mesh/babylon.mesh.ts#L2195 Is it possible to add an id to instances please ? Thanks for your help. Letsbrostudio team. EDIT : In fact, it's the same thing with shadowGenerator > renderList > Array[id] . Shadows can't work on instances because they haven't id Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 6, 2017 Share Posted March 6, 2017 I have no time to do it but I can guide you Do you have some C# skills? (really minimal). If yes please just open this vs project: https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/3ds Max/Max2Babylon.sln for there you will be able to add ID to the instances around this line: https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/3ds Max/Max2Babylon/Exporter/BabylonExporter.Mesh.cs#L481 with something like: instance.Id = instanceGameNode.MaxNode.GetGuid().ToString() Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted March 7, 2017 Author Share Posted March 7, 2017 I never did C# ... However, I added the instance id in BabylonExporter.mesh.cs file. But, I don't know how compile the zip file for 3dsMax ... Is there a command line or something else to do ? Must i add something in Max2Babylon.sln file ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 7, 2017 Share Posted March 7, 2017 ok....I'll do it Pierre Glibert 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 7, 2017 Share Posted March 7, 2017 Done Pierre Glibert 1 Quote Link to comment Share on other sites More sharing options...
Pierre Glibert Posted March 8, 2017 Author Share Posted March 8, 2017 Ok thank you Sorry to not help you more ... 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.