I’m reading your book since December and finding it very difficult. I’ve read the first 7 chapters repeatedly and gone no further. The problem, I think, is that I don’t use Blender or other modelling software. I have my own code which produces a “mesh” that I wouldn’t know how to produce any other way. My framework can produce a data model as
public struct Vertex {
public let position: SIMD4
public let colour: SIMD4
}
var vertices: [Vertex] = HexTiledTorus(width:20, height:10, radius: 0.5)
I have been able to render this to the screen using the pipeline but I’ve not used any of the ModelI/O objects such as meshes, vertexDescriptors or allocators that appear in these tutorials nor can I see how to obtain these objects you rely so heavily upon. In particular, my structure has no concept of a mesh or sub-mesh and I know I’m going to want to treat all the tiles that comprise my model as separate objects (sub-meshes?)
I’ve skimmed forward but cannot see that you address this. Any suggestions?