FBX SDK merge geometry in one node

Started by
3 comments, last by Alundra 9 years ago

Hi,

Is it possible to merge geometry in one node using FBX SDK or a custom code has to be written ?

Thanks

Advertisement

Custom code has to be written.

L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Here we go for a "CombineAllGeometries" function in mesh class.

I asked because having all mesh splitted can give lot of drawcall not needed if it's never needed to know a transform of a submesh.

Merge all in one node end to only material drawcall on this case (which is the most used at the end).

Why would you do that via an FBX node rather than just loading all of the geometry data and merging them yourself? Especially since you have to merge them yourself anyway to create the node. Creating a node with this data is just superfluous.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

My animation system can move geometry and bone, because the mesh is splitted in nodes, each node has a geometry or not.

But, that ends to more draw call when you don't need this feature and only want to draw the mesh.

Another point of this technique is you can get a point on the mesh to attach something on it.

This topic is closed to new replies.

Advertisement