Spreads of meshes

hey all

i’m having trouble getting my head around making a spread of meshes come out of my plugin.

essentially i’m trying to find which bits i have to change
in the code. I’m starting with the simple TestMeshOutput

for the time being, i’m going to fiddle it using virtual meshes by playing with texture coordinates.

elliot

also, simple example of texture coordinates?

would be great if we could also write to meshes in a very simple way, like
PinName.SetMesh(vertex_vectors, indicies, textures_coords, …, sliceindex);

i presume that’s not really the way dx works here, but that level of simplicity would come in very useful (especially for people who just want to make a quick 1 off mesh plugin). :)!

even possible?

Hey,

you can check the 2d meshes sample in the repository.

I have an abstract class there that can generate a spread of meshes. Also all 2d meshes have texture coordinates, so you will find that as well :)