Nodragem Posted November 24, 2018 Share Posted November 24, 2018 Hello, I am exporting my tileset from Blender, where each tile is contained in a parent Empty object (the root of the tile). When I export my blender file to babylon format and I check it out in the babylonjs sandbox, the inspector tells me that the parents of my tiles are Meshes. I was expecting them to be TransformNode, as they are Empty objects in Blender. Is there an option / tick box in the exporter that I missed to make Empties translated into TransformNodes? Thank you very much for your help. Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted November 25, 2018 Share Posted November 25, 2018 Meshes are a subclass from AbstractMesh which is a subclass of TransformNode, but no TransformNode is not directly instanced. Meshes without geometry do not cause any draw calls, so performance & memory are almost the same. TransformNodes are a recent refactoring of the code base, done so in a backwardly compatible way. I see no benefit for me to change anything, but can change the exporter who does. Quote Link to comment Share on other sites More sharing options...
Nodragem Posted November 25, 2018 Author Share Posted November 25, 2018 Yes I understand what is a TransformNode, and I use them very much to group my objects into groups. I am not sure I understand what you are saying afterwards. Are you happy to change the exporter so that we have the Empty objects of Blender exported as TransformNode in BabylonJS? That would be very nice. This turned our to be important to me because I experienced some issue when the parents of my tiles are meshes instead of transform nodes: 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.