Irrlicht seems to represent each sub-object of a Mesh with a separate MeshBuffer. I've looked through the API, and apparently meshbuffers don't have names, or at least there is no way to search or recover those names. Am I mistaken?
If not at the meshbuffer level, maybe there's a way to look at the data as it is loaded from the 3D file, and associate a name with each meshbuffer at that moment. Does anyone have insight into the .b3d (or maybe the .X) mesh loader? If there are some callback functions that can be used to get at the data I'm seeking, or if you could show me the right direction for adding one, I'd be very grateful.
![Smile :)](./images/smilies/icon_smile.gif)
I realize I'm assuming that 3D models keep the names from 3dsMAX, that may not even be the case for all of them. Do we know which of the Irrlicht-supported formats do remember the object names?
I need this object detection for several things, but especially for adding tiny markers in 3dsMAX that indicate where some dynamically created objects should appear, and stuff like that. I guess I could use some kind of level editor for that, but markers have served me well in the past, and I'd like to reuse the technique with Irrlicht, instead of introducing yet another tool (and its bugs) into my workflow.