gerra6 Posted December 18, 2012 Author Posted December 18, 2012 Clothing Bodytype Converter V.4.2 Has Been Released
gregathit Posted December 19, 2012 Posted December 19, 2012 Ok, this is probably a stupid question (or me doing something wrong) but I am trying to build a lattice that converts the DMRA body to a HGEC-GM body. I make the lattice and everything seems fine. I import in a clothing item that is fairly skimpy and has most of the body revealed. I select the clothing and body it comes with and hit ctrl+J to join all the parts together and then run the assign script. The butt shrinks pretty much dead on but the breasts do move at all. They don't shrink or even reshape them selves in the slightest bit. Is that intended? Do I need to delete the body that comes with clothing and just use the GM one that is with the lattice? I just knew females were going to be difficult to work with... That is why I started with males first. The conversions for them work flawlessly!
gerra6 Posted December 19, 2012 Author Posted December 19, 2012 Ok' date=' this is probably a stupid question (or me doing something wrong) but I am trying to build a lattice that converts the DMRA body to a HGEC-GM body. I make the lattice and everything seems fine. I import in a clothing item that is fairly skimpy and has most of the body revealed. I select the clothing and body it comes with and hit ctrl+J to join all the parts together and then run the assign script. The butt shrinks pretty much dead on but the breasts do move at all. They don't shrink or even reshape them selves in the slightest bit. Is that intended? Do I need to delete the body that comes with clothing and just use the GM one that is with the lattice? I just knew females were going to be difficult to work with... That is why I started with males first. The conversions for them work flawlessly! [/quote'] Hmm...the female should work fine. Post the blend and I'll take a look.
gregathit Posted December 19, 2012 Posted December 19, 2012 Hmm...the female should work fine. Post the blend and I'll take a look. Like I said I am probably doing something stupid. The blend file has the outfit imported but hasn't had the apply lattice to mesh script run so you can see what the outfit looks like. When I run the script it shrinks the butt area but does nothing to the breasts at all. Also, I was forced to turn off the BB butt button when creating the lattice as it generates a rather large amount of errors. DMRAtoHGECGM3b-withoutfit.7z
gerra6 Posted December 19, 2012 Author Posted December 19, 2012 Like I said I am probably doing something stupid. Nah' date=' it looks like I managed to break the search algorithm when I fixed the object transform code. Moral of the story: Don't use the += operator to add vectors in Blender's sometimes quirky implementation of Python. The blend file has the outfit imported but hasn't had the apply lattice to mesh script run so you can see what the outfit looks like. When I run the script it shrinks the butt area but does nothing to the breasts at all. Yep. The lattice itself is pretty flat chested. It's barely transforming the upper body at all. Also' date=' I was forced to turn off the BB butt button when creating the lattice as it generates a rather large amount of errors. [/quote'] OK...the big problem you were having was a bug in the Lattice Generator. That said, if you're seeing BB errors, there's a good chance that the BB Weightpainting is bad. If the source mesh is a Setbody Reloaded mesh, the weightpainting is *usually* pretty good. However, there are some bad apples in that bunch. My python/Blender scripting skills still pretty rudimentary back when I was finalizing the 1.20 release. It looks like this is one of the bad meshes. Let me show you what I mean. Do you see how the selected vertices are separated into two islands? The Breast algorithm (and all of the vertex group algorithms) are powerful but fragile. They are at their best when dealing with vertex groups that can be iterated cleanly from the outside to the inside. Separate islands break the algorithm completely. I should mention that I spent about a week experimenting with solutions to compensate for bad vertex groups, but in the end I realized that there are an almost infinite number of ways to screw up vertex groups. So instead I released the Automated BB Weightpainter so that we could just fix the root of the problem rather than waste time on kludges and work-arounds. So the first step for cleaning this mesh is re-doing the weightpainting. Tab into edit mode, select a single vertex at the center of *either* the left or the right nipple, and run the Generate BB Weighting 1.1 script. Settings: Default is probably fine for the most part. However, I would set the OP3 Area % to something in th 40-50% range for the GM3 mesh and 30% for the DMRA mesh. This is to compensate for the fact that the GM3 mesh has far more vertices in the nipples. And the results For good measure, I went ahead and repainted the buttocks as well. This allows us to use the OP3 bones for the nipple lattice transformation and the buttock bones for the buttock lattice transformation. There is a reason for this: You'll notice that I disabled both the Breast and the Buttock search Why the hell did I do that? Well, since I just re-weightpainted the meshes, I know that OP1, OP3 and Buttock groups are reliable I've attached the updated blend file. The lattice looks pretty good, but I'm not liking what it did to the camisole. There is something about that conversion from DMRA to GM3b that gets pretty ugly. I'll take another look tomorrow. DMRAtoHGECGM3b-withoutfit.7z
gregathit Posted December 19, 2012 Posted December 19, 2012 Got it. I will revert to the previous version on the lattice tool. I am wondering if the tool does better enlarging things than shrinking them. I will play around with this a bit later. Don't bother wasting any time with DMRA to GM3b as very few things are actually created as DMRA. Most start out as HGEC so I can use those to enlarge to GM3b. The things that are created as DMRA or using Speedbusters body I will just have to spend time learning my way through using edit mode and sculpting mode. With this tool doing the bulk of the work, it then is just a matter of cleaning things up a bit and that is far EASIER than doing it from scratch! Thanks for all your help!
gerra6 Posted December 19, 2012 Author Posted December 19, 2012 Got it. I will revert to the previous version on the lattice tool. No need to revert. Update. The problem should be fixed in 4.2b I am wondering if the tool does better enlarging things than shrinking them. I will play around with this a bit later. Lattices, by their nature, are better at growing meshes than shrinking them. The shrinking is causing a crashing of lattice nodes to the x-axis. That in turn is giving us that nasty fabric pucker. There are two settings that should help. Disable "left only" and "right only". This will generate a single lattice and should reduce node crashing. Limit node search distance. Try a number between .1 and .5. I have a suspicion that we'll see better results with smaller numbers on shrinking lattices.
gerra6 Posted December 19, 2012 Author Posted December 19, 2012 Clothing Bodytype Converter V.4.2.b Has Been Released
gregathit Posted December 20, 2012 Posted December 20, 2012 Well, after using the complex menu and playing with the options I have it working quite a bit better. I still have to delete the body on the really skimpy stuff as it still distorts the breasts pretty badly. The good news is that is easily and quickly done! Now that I have a working lattice I need to tackle the BBB weight painting part (some of the outfits clip horribly when those knockers start a bouncing). I don't know why, but weight painting scares the unholy crap out of me. I am sure I will screw things up rather badly and be forced to post in your BBB weight painting thread so I can demonstrate how much of a noob I am. I can't thank you enough for this tool! I am pretty sure I would have chucked blender if not for this!
121break Posted December 20, 2012 Posted December 20, 2012 Oh MAN!....This "Tool" is so far beyond my capabilities! I can hardly wait to kick back with a case of beer and just COMPLETELY thrash may game. That's what Backups are for I used to play games for fun. Now I try to figure out how talented people modify them....then I try to modify the mod..... This should occupy me for days! Thank you
Yanazake Posted December 25, 2012 Posted December 25, 2012 Say, this doesn't force vertex to be in the same position, it makes a similar shape, right? Would it work with a oblivion -> skyrim conversion? Just wondering.
gregathit Posted December 25, 2012 Posted December 25, 2012 Say' date=' this doesn't force vertex to be in the same position, it makes a similar shape, right? Would it work with a oblivion -> skyrim conversion? Just wondering. [/quote'] Yes, it will convert any armor to any body you want. NOTE: if you are converting from oblivion to skyrim you will need the pose plugin to get the pose correct first.
gerra6 Posted December 26, 2012 Author Posted December 26, 2012 Say' date=' this doesn't force vertex to be in the same position, it makes a similar shape, right? Would it work with a oblivion -> skyrim conversion? Just wondering. [/quote'] Yes, it will convert any armor to any body you want. NOTE: if you are converting from oblivion to skyrim you will need the pose plugin to get the pose correct first. I should probably mention that the Pose Converter is in an alpha state, and doesn't have its own thread yet. The latest public version can be found here To convert between Oblivion, Fallout, and Skyrim poses, import the mesh, delete the skeleton, import a complete skeleton parented to the mesh(es), select the skeleton and run Pose Converter. When you see the menu, select "Oblivion to Skyrim". This will add a pose animation that allows you to switch between Oblivion, Skyrim, and Fallout poses. Note: the alpha version of the tool is only compatible with Oblivion skeletons at the moment.
xartom Posted December 27, 2012 Posted December 27, 2012 This tool has been very handy, don't know much about blender aside from import/export and small alterations to the mesh, so just enough to be able to convert stuff with this script. Great work.
gerra6 Posted December 27, 2012 Author Posted December 27, 2012 This tool has been very handy' date=' don't know much about blender aside from import/export and small alterations to the mesh, so just enough to be able to convert stuff with this script. Great work. [/quote'] Glad to hear you're getting good results.
FastestDogInTheDistrict Posted December 31, 2012 Posted December 31, 2012 This tool sounds very interesting! As an example, following the directions in the OP, this tool could be used to quickly & simply take a Vanilla Skyrim outfit/armour and morph it to fit, say, CBBE. Is my understanding correct?
gregathit Posted December 31, 2012 Posted December 31, 2012 This tool sounds very interesting! As an example' date=' following the directions in the OP, this tool could be used to quickly & simply take a Vanilla Skyrim outfit/armour and morph it to fit, say, CBBE. Is my understanding correct? [/quote'] Yes, that is exactly right. I am not too sure how well Skyrim meshes work with this right now however. I know it works damn good for converting between oblivion bodies. Gerra6 will have to answer whether or not it works for skyrim stuff yet.
gerra6 Posted December 31, 2012 Author Posted December 31, 2012 This tool sounds very interesting! As an example' date=' following the directions in the OP, this tool could be used to quickly & simply take a Vanilla Skyrim outfit/armour and morph it to fit, say, CBBE. Is my understanding correct? [/quote'] It should work fine. I know that several people have used it to convert armors between various body types and morphs for Skyrim. The one thing to keep in mind is that the arm position in the default Skyrim pose is not optimal for lattices. This is generally not a problem, but depending on the meshes you may encounter a bit of distortion a that will need to be manually adjusted. I'm working on a Skyrim compatibility upgrade for the pose converter that will allow you to automatically adjust the Skyrim poses for conversion work and then convert them back to vanilla.
FastestDogInTheDistrict Posted January 1, 2013 Posted January 1, 2013 This tool sounds very interesting! As an example' date=' following the directions in the OP, this tool could be used to quickly & simply take a Vanilla Skyrim outfit/armour and morph it to fit, say, CBBE. Is my understanding correct? [/quote'] It should work fine. I know that several people have used it to convert armors between various body types and morphs for Skyrim. The one thing to keep in mind is that the arm position in the default Skyrim pose is not optimal for lattices. This is generally not a problem, but depending on the meshes you may encounter a bit of distortion a that will need to be manually adjusted. I'm working on a Skyrim compatibility upgrade for the pose converter that will allow you to automatically adjust the Skyrim poses for conversion work and then convert them back to vanilla. Sounds promising indeed! SO - I could using this tool to, in effect, "wash" a clothing piece through Blender (import - morph - export) & export it as an .obj and/or .nif file for further work in 3dsMax & NifSkope, yes? *hope*hope*hope* (Manually morphing the mesh to a new body type was where my efforts ground to a screeching, baffling, & ignominious halt the last time I tried the Nightasy tutorial series. If this tool could do most of the heavy lifting for me for this key step...!)
gregathit Posted January 1, 2013 Posted January 1, 2013 Yes, FastestDog. That is exactly what the lattice tool is for.
gerra6 Posted January 1, 2013 Author Posted January 1, 2013 Sounds promising indeed! SO - I could using this tool to' date=' in effect, "wash" a clothing piece through Blender (import - morph - export) & export it as an .obj and/or .nif file for further work in 3dsMax & NifSkope, yes? *hope*hope*hope* (Manually morphing the mesh to a new body type was where my efforts ground to a screeching, baffling, & ignominious halt the last time I tried the Nightasy tutorial series. If this tool could do most of the heavy lifting for me for this key step...!) [/quote'] Yep. The idea behind the tool is to automate the generation of lattices that are optimized to convert one body style mesh into another. Depending on the speed of your modding rig and the quality of the desired lattice, it may take several minutes to generate a lattice. Fortunately, once you have a good lattice that produces the results that you want, applying them to meshes is all but instantaneous. Just save the blend file with the lattice, import the meshes that you want to convert, and run the "apply lattice to mesh" script. The lattice itself can be reused again and again. The basic idea is that once you have generated a lattice that you like, it can then be applied to any clothing fit to the first body style to convert it into a reasonable approximation of clothing fitted for the second body style. Now, depending on the quality of the lattice, the differences between the body types, and the clothing itself, this conversion will generally take care of about 80% - 95% of the work for you. It won't completely eliminate the need for manual touch-ups, but it handles most of them.
Nepro Posted January 2, 2013 Posted January 2, 2013 I am getting this error. Btw is there some tutorial out there? I am kinda inept with Blender and has to reply on trail and error method. I want to DMRA-fy some non-DMRA clothes and armors.
gerra6 Posted January 2, 2013 Author Posted January 2, 2013 I am getting this error. Btw is there some tutorial out there? I am kinda inept with Blender and has to reply on trail and error method. I want to DMRA-fy some non-DMRA clothes and armors. It looks like you were running the tool with an entire clothing nif selected, including the skeleton. The tool is a bit touchy about what can be selected when you run it. In general, when using the lattice generator, you want exactly two meshes to be selected, the mesh that you are converting from, and the mesh that you are converting to. I know they are a bit wordy, but take a look at the instructions and examples on the first page. Don't worry if the "explanation of Options" doesn't make much sense yet...that section should start to click once you've used the tool a few times. The first step to generating a good lattice is to import two base bodies. You'll need the base body of the clothes that you are converting from, and the base body that you are converting to. Unless you know what you are doing and are trying something experimental, I recommend against attempting to generate lattices on the clothing directly. Your goal will be to generate a lattice that turns the non-dmra body into a dmra body. Once you have that, you can use that lattice on clothing by selecting that clothing and running the "Apply Lattices to Mesh" script. Start out with outfits that separate the upper and lower bodies into separate nifs. Full body outfits require a couple of extra steps. For tutorials, the first Blender tutorial I read was this one http://oblivion.nexusmods.com/mods/34355 Elements of it are very out of date, and it does several things the hard way, but it's a pretty good place to start for just figuring your way around Blender and Nifs.
gregathit Posted January 2, 2013 Posted January 2, 2013 Actually, I found that doing full bodies works quite well. I always combine outfits for my personal game since I never use the esm\esp files that clothing and armors come with. It cuts down on what I have to enter into the CS. The only thing I have noticed is the lattice generator does better job (requiring only very little if any hand touch-ups) if you are "increasing" the size, than if you are "shrinking" it.
Yanazake Posted January 9, 2013 Posted January 9, 2013 Say' date=' this doesn't force vertex to be in the same position, it makes a similar shape, right? Would it work with a oblivion -> skyrim conversion? Just wondering. [/quote'] Yes, it will convert any armor to any body you want. NOTE: if you are converting from oblivion to skyrim you will need the pose plugin to get the pose correct first. I should probably mention that the Pose Converter is in an alpha state, and doesn't have its own thread yet. The latest public version can be found here To convert between Oblivion, Fallout, and Skyrim poses, import the mesh, delete the skeleton, import a complete skeleton parented to the mesh(es), select the skeleton and run Pose Converter. When you see the menu, select "Oblivion to Skyrim". This will add a pose animation that allows you to switch between Oblivion, Skyrim, and Fallout poses. Note: the alpha version of the tool is only compatible with Oblivion skeletons at the moment. Hmm, this would cut down a crapload of work... I even remember seeing in the Nexus a blender file with "a oblivion skeleton in skyrim pose, for those converting armors from oblivion to skyrim". Anyway, I'm starting to think on NOT using this right now, since I might have to run it on both _0 and _1 bodies and edit the _1 too anyway. Might as well stick with the versions I made with the Unp bodyslide and just edit 'em both to keep the shape. This might work well, on the other hand, for the male body I was going to try later. [let's say, I'll try to convert a skyrim male body to an "AA female body" from oblivion...]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.