will love extend mesh api
Posted: Fri Feb 02, 2024 1:32 pm
I am writing a lot of 3D stuff in Love, rely on the little mesh api. I try to keep it lightweight and dirty, to fullfill most 3D workarounds, just like Love itself. It may now be close-source.
I had read some 3d projects based on love, I think I have confidence to implement it well, especially in reducing number of api.
Now what I am doing is writing a .pmx importer, a format is transmitting in MikuMikuDance. I met a difficulty, pmx file only store whole vertices and vertex indices next to vertices. I can use both to create a mesh. But It does not specify which texture to combine with vertices but faces, since Love is a texture per mesh, so I have got to separate vertices according to faces that texture affects, this sounds easy at first, but this part in pmx file is chaos. Maybe I can separate them correct later.
I am noob in programing what i am programing, I will go further in love 3d module and make it complete one day
I had read some 3d projects based on love, I think I have confidence to implement it well, especially in reducing number of api.
Now what I am doing is writing a .pmx importer, a format is transmitting in MikuMikuDance. I met a difficulty, pmx file only store whole vertices and vertex indices next to vertices. I can use both to create a mesh. But It does not specify which texture to combine with vertices but faces, since Love is a texture per mesh, so I have got to separate vertices according to faces that texture affects, this sounds easy at first, but this part in pmx file is chaos. Maybe I can separate them correct later.
I am noob in programing what i am programing, I will go further in love 3d module and make it complete one day