Quantcast
Viewing all articles
Browse latest Browse all 6821

Importing meshes at runtime

@Neurological wrote:

Hello everyone again, I'm in the process to finally add asset importers in my project and need a bit of help of where to look for.

I use custom binary formats for meshes and parse them at runtime to get the info I need to make a mesh, and that is where I'm getting some problem as I don't know where to look for t ocreate a mesh that I can feed to Draw, not even sure monogame has any class for that. Th parsing in itself isn't a problem, all my mesh format has is series of Vector3 for vertices, normals and Vector2 for uvs, (also an array of ints for tris).

All the inf oI find around internet is about using the Content pipeline which I want to avoid as I want users to be able to throw their own assets in the game, any of you can direct me on some info on how to draw a custom mesh or if there is some helper in monogame to do so?

Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles