Hey folks, here is a tool you can use to increase the poly count of models.
(Note: sbep wrote a excellent step-by-step guide for how to apply the shiny effect to a model. It's a good place to start for beginners. )
The most powerful way to use this app is via the .INI file it comes with. It has a command line interface but the CLI only recognizes a handful of the options that the INI does.
(Early versions of this app had a shortcut which you could use to drag and drop to do conversions. I'm avoiding that mechanism now, as while it can be convenient sometimes the ambiguity of the output file makes the confusion it causes ultimately not worth it to people who are just learning to use it.)
For people who are unfamiliar with .INI files, here are a few tips:
- An .INI file is just a text file. You can treat it as thought it were a .TXT file. Open it with Notepad or your favorite text editor. (Word is going to fight you, better to keep it simple.)
- Every line that starts with a # is a comment: the program will ignore it entirely. I use comments to leave notes and to store common file paths and such.
- Options are specified like so: "option = value", only one per line. Most options can only be specified once. If you do it more than that I think it only uses the first one. (One option in my INI can be specified multiple times: "geosetID".)
- [Sections] are denoted with square brackets. Everything after a [Section] line until the next section line is in the section. They are kind of like folders for options. The important thing to remember about sections is that the program expects options in specific sections.
- Every option you can specify to this program is listed in the INI file it comes with. Almost all are commented out by default.
Using the ini file, then, is a matter of uncommenting the options you want the program to use.
1) Open the INI file and find the line that starts with "#inputFile =". Remove the # and replace the default path with a path to the specific model that you want to hi-res. Maybe it's a one you've modified already, or maybe it's fresh out of the MPQ, doesn't matter. Here is an example of what the result might look like (notice that my model file has "orig_" at the front--I do that so that I always have a copy of the original model that doesn't get trashed when I experiment): inputFile = c:\wow\data\character\nightelf\female\orig_nightelffemale.m2
2) Next we need to specify the file we want to create using the outputFile option. It's a good idea to give it an intermediate name so that we don't have to destroy it when we make the final file: outputFile = c:\wow\data\character\nightelf\female\nightelffemale_hires.m2
3) At the same time we can export an OBJ file for 3dsMax or other modelling tool. We do that with the objOutputFile option: objOutputFile = c:\wow\data\character\nightelf\female\nightelffemale_hires.obj
4) Uncomment the bIncreasePolyCount option. This is one of a number of special options that I call "operations". They specify an action to perform on the file. Most of the other options further down in the INI file control details of how the operations perform. You can specify more than one of these at a time (but I don't guarantee every combination will work). bIncreasePolyCount = true
5) Save the INI file (you can leave it open) and run TPModelTweaker.exe. A "dos box" will pop up and the program will start telling you what it is up to. If you typed in any of the paths wrong it will tell you something along the lines of "Error opening that file". Those errors almost always mean the path is wrong.
6) Import the OBJ file into the 3D editor of your choice, do your editing, and export a modified OBJ. This tool exports geosets as groups, as well as normals and texture coordinates, so the options are a bit different from GMES. Here's how they should roughly look in Max.
7) Now that we have an edited NightElfFemale_HiRes.obj, we want to import it back in. To do that we need to specify the M2 file that matches the OBJ as well as the OBJ. This is a very important point--both of those files are needed. Why? Because OBJ files only contain a small portion of the information--just some vertex information--that M2 files contain. This next step is basically just about merging the modified vertex information in the OBJ in with the M2. Here are the changes that need to be made to the INI file: inputFile = c:\wow\data\character\nightelf\female\nightelffemale_hires.m2 outputFile = c:\wow\data\character\nightelf\female\nightelffemale.m2 objInputFile = c:\wow\data\character\nightelf\female\nightelffemale_hires.obj #bIncreasePolyCount = true
8) Save your INI file changes and run TPModelTweaker.exe again to create NightElfFemale.m2. That's it! As you get more comfortable with the process you can explore the other features and options listed in the INI file.
- Currently, it only works on character models. - To save resources, by default it only hi-reses the base geosets of each model: face, body, arms, hands, legs, feet. Hair, gloves, dress, capes, tabards, boots, etc are -not- increased. - You can run it multiple times on the same model, but if you do it more than that you run the risk of exceeding the number of poly's of a M2 file and it will probably crash either this tool or the game.
Here is a picture of what it does:
The poly count of a model is increased by 4 and the vert count is increased by some other number (it depends on the geometry). The inserted vertexes are placed right at the midpoints of each line segment, which means that really it's hard to tell that a model has even been subdivided, at least until it is modified. (The way to tell is that there is a tiny seam inbetween geosets that have been subdivided and those that havent, so if you put on a dress you should see a small seam at the character's waist.)
I'm not sure exactly how big you can make an M2 file, but at least one limit is that the tri indexes are counted with a 16-bit number, and so you can have at most 65535/3 = 21845 tris. Though it could be much less than that. _________________ Skins: Links:
Last edited by on Sat Jan 09, 2010 5:01 pm, edited 5 times in total.
Trollpaxton wrote: I messed around with the BloodElf a little bit, and in the process discovered the wonderful Taper tool. I made her breasts and hips a bit bigger, and then her ass even bigger. Pretty curvy now. It's not a very good edit by any means but it amused me so I'll post it anyway.
http://www.mediafire.com/?yztwytjmzog The cape on the model got a big rift on it, and it's hovering far away from the ass, the ass is also pointy, which looks un-nautral, when using a robe they are kinda blowed up in the bottom robe part, so it needs fixin'. ;)
I've never been able to get any of the Hi-res stuff to work. As I've reported in the past, I've always just gotten the black screen. I tested this new patch and it seems to work. My NE Warrior is visible and playable,a nd I can't find any glitches or errors.
Can only do one run through on most races (except human and nelf it seems) even with severe limiting on what it subdivides.
If you go ahead and do it anyway using the file GMES error'd on creating after injection it will not load in game. (Blackscreen at char creation for example) (Usually creates "valid" obj or m2's even on an error)
Dwarf, Belf, Draenei. I had better luck with Draenei and was able to get a run through on a small edit to actually load in game.
Limiting subdivision to breasts for Dwarf, Bloodelf then smoothing out the rough edge on a single pass creates a bad model due to GMES's choking on extraction.
forra wrote: Niennya wrote: forra wrote: Have y'all used this tool successfully with blood elf female models? I get the black screen with blood elf, but not with night elf or human. Perhaps someone can post or PM a working .ini for BEf? Well, Seskins got it working, so, maybe your computer aren't made for B elf. And are you back at model editing?
My computer? I really want it to work... Got a nice model made that runs in wowmodelviewer, but gives me nothin' in game!
And not really. I just do a couple personal edits that I'm sure no one else would be interested in. No time for anything else! ._. PM me and i can test it ingame. To see if it's your computer or not.
I messed around with the BloodElf a little bit, and in the process discovered the wonderful Taper tool. I made her breasts and hips a bit bigger, and then her ass even bigger. Pretty curvy now. It's not a very good edit by any means but it amused me so I'll post it anyway.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum