Jump to content

Blender Export: Empty object aren't exported as TransformNode?


Nodragem
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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: 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...