[Noesis Plugin Question] What are the "Indices" on NoeMesh
Posted: Thu Nov 15, 2012 7:45 pm
Hey,
I'm trying to build a Noesis plugin to extract data from a game (Meshes+UV+Textures) and display it and export it, and I have no idea what should I input as the first parameter on NoeMesh().
I've read the inc_noesis.py file but I still have no idea.
NoeMesh(triList, posList)
triList? Is that the faces values? Or just some ordered index?
The files I'm trying to extract don't have any index values associated with the vertex, should I just add those indexes myself? Like: 1,2,3,4... And how do I input that data? An array with those values?
I'm a bit new to game dev/3d design so I have no clue about most definitions.
Also the faces on the file I'm trying to export have 4 values (quads), should I convert them myself to triangles?
I've searched the forum and Mr. Adults told finale00 to use "rpgCommitTriangles" but I still havent figured out the difference between using the "rpg" thingy and the "NoeMesh/NoeModel". I'll probably have this figured out by tomorrow but would be helpful if someone just gave me some pointers.
Thank you in advance for any help.
I'm trying to build a Noesis plugin to extract data from a game (Meshes+UV+Textures) and display it and export it, and I have no idea what should I input as the first parameter on NoeMesh().
I've read the inc_noesis.py file but I still have no idea.
NoeMesh(triList, posList)
triList? Is that the faces values? Or just some ordered index?
The files I'm trying to extract don't have any index values associated with the vertex, should I just add those indexes myself? Like: 1,2,3,4... And how do I input that data? An array with those values?
I'm a bit new to game dev/3d design so I have no clue about most definitions.
Also the faces on the file I'm trying to export have 4 values (quads), should I convert them myself to triangles?
I've searched the forum and Mr. Adults told finale00 to use "rpgCommitTriangles" but I still havent figured out the difference between using the "rpg" thingy and the "NoeMesh/NoeModel". I'll probably have this figured out by tomorrow but would be helpful if someone just gave me some pointers.
Thank you in advance for any help.