Jump to content
Posted 16 November 2012 - 12:13 AM
Posted 16 November 2012 - 12:39 AM
Posted 16 November 2012 - 10:47 AM
While I can't speak to the specific library, your per-mesh idea is what I would recommend with any 3d library. If a "model" is just composed of 1 to n meshes, each mesh can have its own texture, refer to the same texture, etc paralleling the "materials" concept seen in most modeling tools. It's just up to you to then improve efficiency through things like material-based batching (to reduce the number of rebindings needed to render a multi-material or multi-texture scene).
Posted 18 November 2012 - 05:15 PM
I've never worked with lib3ds so I can't advise, but you may want to ask in the graphics programming forum. I'd be amazed if there weren't a simple way to do so.