HellRaiZer
08-07-2003, 04:27 AM
Hello...
Its my first time around here, so i don't know if this is the correct forum to post this kind of questions.
Here it is. I want to make a plug-in to export to my own custom format. I found how i can extract vertex (x, y, z) and polygon (numVerts, vertex indices) information, but i have a problem with UVs and surface info.
I can't find a connection between VMaps, Texture info, surfaces and polygons. Can somebody tell me a way to extract that kind of info???
So far i was able to find the surface index for a given polygon, but from here, how can i find UVs for that polygon, and texture's filename accociated with a specific surface (just color map, not reflection textures or anything like that. Just color texture.) And by texture i mean, its filename.
This will be a modeler plug in.
Thanks in advance, and forgive my English.
HellRaiZer
Its my first time around here, so i don't know if this is the correct forum to post this kind of questions.
Here it is. I want to make a plug-in to export to my own custom format. I found how i can extract vertex (x, y, z) and polygon (numVerts, vertex indices) information, but i have a problem with UVs and surface info.
I can't find a connection between VMaps, Texture info, surfaces and polygons. Can somebody tell me a way to extract that kind of info???
So far i was able to find the surface index for a given polygon, but from here, how can i find UVs for that polygon, and texture's filename accociated with a specific surface (just color map, not reflection textures or anything like that. Just color texture.) And by texture i mean, its filename.
This will be a modeler plug in.
Thanks in advance, and forgive my English.
HellRaiZer