Rice said:So many open source plugins are available, you can take anyone and modify it a little bit to dump what you want. Need no more than 5 lines of code.
Rice said:You can do with just 2 lines.
ofstream outputfile("c:\\vertex-output.txt"); // Open the file
......
outputfile << v.x << ", " << v.y << ", " << v.z << ", " << v.norm.x << ", " << v.norm.y << ", " << v.norm.z << ", " << "\n"; // output vertex data to the opened file
.......
Of course you need to figure out where to put each line. Good luck.
sketzh said:Is that really all it needs.. damn.. thats not much =)
BTW: is there a special way to compile the file so that it turns up as a DLL ?? I have only done exe's at school...
Rice said:It IS real that you only need these two lines. And you don't need to build an EXE, just add these two lines to a plugin, and build it, and then use this plugin to play the games, all vertex data will be dump into the file.
Not use these two lines to make an EXE, but ADD two lines to an existing plugin project.
sketzh said:To make the plugin work I have make a new build. And as I recall it all plugins are DLL's right?
My question is just: is there some special stuff to set up to build as a DLL?
travkliewer said:I would very much like to do the same thing sketzh is trying to do. I'm currently trying to develop an extensive zelda encyclopedia and true polygon models of characters and enimies would incredabuly inhance my project. I don't know very much about programming so once someone finds out I'm hoping that maybe they could share their findings with the public. I'm really just throwing my thougts into the subject looking for a response. Thank you very much.
Rice said:lol, you happened to pick the one with problems.