Contrary to reports, MTS is NOT compromised, and it IS safe to download from here. For more information, see this thread.
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 15th Mar 2006 at 3:04 PM Last edited by demon432 : 23rd Mar 2006 at 11:59 AM. Reason: Update version
Default TESTERS WANTED: new GMDC-oriented plugins for MilkShape 1.77 and above
ATTENTION!!! This plugins was compiled for MilkShape 1.77 and above. Older versions are not supported!
ExtendedManualEdit is extended version of classic MilkShape's Manual Edit.
This version was oriented on GMDC meshes (only one UV and one normal per vertex supported) and allow manually edition (per vertex) of XYZ coords, UV map coords, vertex normal coords, all 4 bones assignments and their weights. Additionally "show selected only" and show only selected bone assigned vertexes added. All configuration stored into registry on exit and restored on next restarts!
Mini instruction attached.

Changelog:
1.05b - Initial public release;
1.06b - Normals editing added (thanks to Wes_H);
1.06c - Change of verex selection state cause to change texture coordinate
editor selection also (thanks to Wes_H).

msAlignNormals is helper plugin, which allow manual per-vertex based smoothig and renormalizing operation. Istruction attached.

Please post notes and Your minds about this realisation and interface style here.
Attached files:
File Type: rar  msAlignNormals.rar (22.6 KB, 23071 downloads) - View custom content
File Type: rar  ExtendedManualEdit_v106c.rar (18.6 KB, 14118 downloads)
Advertisement
Alchemist
#2 Old 15th Mar 2006 at 10:29 PM
Well, I have tried it and it works.
And looks very nice, too.
I will report to you here if I uncover any anomolies in it's performance.
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Alchemist
#3 Old 15th Mar 2006 at 10:38 PM
Well, so far I like it more every time I use it.
One difficulty that you might help overcome would be to help edit the normals, too.
These are difficult, because in the new MilkShape SDK interface, there are three normals per triangle, regardless of shared vertex status.
I think by selecting and copying values from different areas, some of the shadowing problems could be helped.
Nice work, anyway.
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Lab Assistant
#4 Old 17th Mar 2006 at 10:54 AM
Demon

I like your tool very much, this type of tool is what I'm waiting for. You should post this tool to Milkshape website too, instead of just here it is a universal tool.

Anyway, there is a bug I want to report to you. Might be you forgot about this. When editing any vertices that have few UV map coordinates (UV Map coordinates share 1 geometry vertice), your tool only recognize 1 UV map coordinate and resulting the lost of the another UV map coordinates. I've checked in Milkshape, every vertices that has several UV coordinates will represents in different vertices.

Another thing you should add three more column of XYZ normals for every vertices as per suggestion by Wes. Make them editable. Your tool will be a perfect tool when you remove the bug and add the feature. Anyway I give 5 stars. Its really amaze me.

Thanks.
Test Subject
Original Poster
#5 Old 17th Mar 2006 at 2:38 PM
Quote: Originally posted by cevic
Demon
Anyway, there is a bug I want to report to you. Might be you forgot about this. When editing any vertices that have few UV map coordinates (UV Map coordinates share 1 geometry vertice), your tool only recognize 1 UV map coordinate and resulting the lost of the another UV map coordinates. I've checked in Milkshape, every vertices that has several UV coordinates will represents in different vertices.


I build this editor as GMDC-oriented. GMDC format ant UniMeshTool by Wes_h
support only one UV and one normal per geometric vertex. Into new MilkShape API this cause all normals and UVs for all triangles corners, connected to some vertex, are equivalent. My editor read first occurence of UV for current vertex and show it, and after change UV value new values assigned to all connected triangles corners. Of course, this method are not universal, but worked for GMDC export tools and allow avoid unpredictable lost of multi-assigned UV coords on export operation. May be You see another way?

Normals edition (I do this now) support will be like UV edition - one normal per vertex with duplicating new value to all connected corners. Or I'm wrong?
Forum Resident
#6 Old 17th Mar 2006 at 10:04 PM
its so kool
i had edges darkening problem with my meshes
i heard it can fix it
i will fix them as i find time
thankyou
Alchemist
#7 Old 18th Mar 2006 at 12:27 AM
Quote: Originally posted by cevic
When editing any vertices that have few UV map coordinates (UV Map coordinates share 1 geometry vertice), your tool only recognize 1 UV map coordinate and resulting the lost of the another UV map coordinates. I've checked in Milkshape, every vertices that has several UV coordinates will represents in different vertices.


Welded vertices that have different UV coordinates are not a good thing for Sims2 meshes. That is partly why I have consistently discouraged welding except under controlled circumstances.
When this happens (one vertice, two UV coordinates) the exporter effectively 'unwelds' them by creating a second vertex with the second set of UV coordinates.
While this corrects the texturing issue, the original second normal was lost when the weld occurred, so both vertices share the same normal. This is sometimes a big issue at the seams that have hard turns, because the shared normal makes the shading incorrect on both sides of the seam (shadow issues).
Demon is up against a tough issue trying to correct that condition, because there is a fundamental architectural difference between the way MilkShape can hold a mesh model and what a GMDC can hold [in a GMDC, there are equal numbers of vertices, normals, UVs and, optionally bone assignment/weighting sets and morph maps sets].
You might think about undoing the welding on these joints, because the exporter undoes some of them anyway (putting the vertice count back where it was), and leaves you with a less-than-perfect rendition of what you are trying to make.
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Instructor
#8 Old 22nd Mar 2006 at 2:28 PM
Oooh this may be exactly what I needed... I've been using the Poser/Mesh Tool technique for clothing meshes, and it totally hoses the normals around the bottom edges of, well, pretty much everything... I can clean them up if I Smooth All in Milkshape, but that brings out the seams. Hopefully this will give me another option.

Thanks!

Be sure to stop by Warlokk's Tower Workshop to see my latest creations!
Need help with the Bodyshape Sets? Bodyshape How-To Tutorial updated 11-18-06
Test Subject
Original Poster
#9 Old 22nd Mar 2006 at 5:24 PM
Default New normal-specific plugin added.
Quote: Originally posted by Warlokk
Oooh this may be exactly what I needed... I've been using the Poser/Mesh Tool technique for clothing meshes, and it totally hoses the normals around the bottom edges of, well, pretty much everything... I can clean them up if I Smooth All in Milkshape, but that brings out the seams. Hopefully this will give me another option.

Now I add my new normals-specific plugin msAlignNormals. Please try it - this allow to save lot of time in most cases.
Test Subject
#10 Old 22nd Mar 2006 at 6:16 PM Last edited by 0O_Andie_O0 : 22nd Mar 2006 at 6:21 PM.
Cool!Thank you! You guys are truly heroes!But it would be better if someone can write a tutorial of how to use this plugin with screenshots. It really takes time to figure it out. I also wonder how to make multiple bone assignment and change the weighting.Thx again!:D
Alchemist
#11 Old 23rd Mar 2006 at 4:29 AM
These are both very nice pieces of work, demon.
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Alchemist
#12 Old 23rd Mar 2006 at 6:16 AM
I was using the extended manual editor, and I was trying to alter the selected state of some vertices to visualize them.
I was able to do make the state changes, but it appears that setting the msFlag to eSelected (==1) does not change the visual display state on screen (which is what I wanted to do).
I can tell that your editor is changing the flag, because my BoneTool (which looks for bit0) displayed the correct vertices, even though they are not highlighted onscreen.
Can you try also setting eSelected2 (==2) when the select state is changed and see if it updates the display? This would be most useful to me.
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Alchemist
#13 Old 23rd Mar 2006 at 9:31 PM
That works better.
Thanks for the nice tool!
<* Wes *>

If you like to say what you think, be sure you know which to do first.
Lab Assistant
#14 Old 24th Mar 2006 at 10:51 AM
Demon
Thanks to your tool, your new editable normals really works, the body mesh now no longer have the shadow problem with your tool.
Scholar
#15 Old 25th Mar 2006 at 8:45 AM Last edited by Dr Pixel : 25th Mar 2006 at 8:52 AM.
Thanks for this great set of tools!

As luck would have it, I happened to be working on a mesh were both of them came in very handy.

I am trying to convert the Maid's outfit into a separate top, but ran into two problems.

First, when making a separate top or bottom mesh, the vertices at the joining area around the waist MUST align perfectly with the positions of an original Maxis separate top/bottom or the new mesh will not work right with other top and bottom meshes.

I was having trouble alinging them perfectly, but your Manual Edit tool solved this easily.

Here is what I did, for those wanting a tutorial -

1} I extracted a Maxis top GMDC for a reference, and imported it with Unimesh
2} I renamed the two groups, adding an "X" in front of each name, to keep these reference groups separate from my own mesh groups. I export this as a wavefront .obj file
3} I deleted everything, then opened the mesh I am working on
4} I now import the .obj file I just saved
5} I hide both "morph" groups, and set the 3d view to "wireframe" - I find it handier to do most of my selecting in the 3d window

6} You can see that I got the vertices pretty close to the Maxis reference, but not quite exact. So, I select only one pair of vertices and open the Extended Manual Edit tool

7} I am interested in aligning the x, y, and z co-ordinates of my own mesh with those of the reference - my mesh co-ordinates are on the top - I can tell because the one on the bottom has no bone assignments, it shows -1 for the bone.

8} I copy the x, y, and z from the lower vertex into the upper one and click [accept]

9} The two vertices now align perfectly! I repeat for each pair of vertices around the waist
10} I now hide both these groups, and repeat the whole operation on the "morph" groups

Result: My new mesh now works right in the game, it aligns perfectly with all the separate bottom meshes with no gaps or animation problems!

NOTE: I know some of you don't like to bother with the "fat" morph - but if you are doing separate tops and bottoms, it is important that you do keep the fat morph and edit it properly - otherwise your mesh will not be compatible with other tops and bottoms in the game.

In the next post I will show how I used the "Align Normals" tool to fix another problem with this same mesh
Screenshots
Scholar
#16 Old 25th Mar 2006 at 8:59 AM
I had another problem with this same mesh - the Maid mesh has a bow sticking out a little bit on the back, which I want to remove.

I was able to get rid of the bow by snapping the vertices together and aligning them with the rest of the back, but this area still has the "normals" of the bow showing - this will make a weird shadow on my skins.

So, I select all the vertices surrounding this area - then I use the "Align Normals" tool.

This doesn't affect the rest of the normals, but it does get rid of those "bow" shadows!
Screenshots
Scholar
#17 Old 6th Apr 2006 at 1:48 PM
Wow, amazing! I have no other words Well done!

@Dr. Pixel: Is the shirt up for download somewhere?

Please visit WickedNoukFamily Forum for my creations.
Can't take requests, I'm completely swamped with unfinished projects! :O
Scholar
#18 Old 7th Apr 2006 at 12:33 AM
Quote: Originally posted by Nouk
@Dr. Pixel: Is the shirt up for download somewhere?


You can find it here:
http://www.modthesims2.com/showthread.php?t=145643

and also on my Blarneystone site - same mesh, different skins.
Instructor
#19 Old 8th Apr 2006 at 11:31 AM
A little late in testing those - thank you so much for these tools, they are a great complement for Wes's Unimesh plugins and very user-friendly! The normals editing in particular is a wonderful feature and it works flawlessly; now adding polys won't imply having to reassign everything after a weld/unweld/smooth all, and a selective smoothing is finally easily doable! I also think the possibility of precisely editing the uv-coordinates is very useful, it will spare me the pain of making the mesh go through LithUnwrap in many cases. Well done!! :D

Marvine and Beosboxboy at InSIMenator.net and Gay Sims Club 2
Instructor
#20 Old 23rd Apr 2006 at 5:18 AM Last edited by Warlokk : 23rd Apr 2006 at 5:31 AM.
I just wanted to chime in that these work great... I've been able to eliminate ALL weird shadow/normal issues in my meshes, and everything looks great!

... except one tiny, annoying detail: the dividing line between top and bottom separates. Not a gap, just slightly misaligned normals along the join. I thought I had that licked, but it's still a problem. I'm thinking of trying a manual edit of those vertices along the top edge of the mesh, and making them match with a default Maxis mesh, since I do not modify them in any way... unfortunately there's no simple copy-paste method I can see, so it's going to be a killer with the sheer number of meshes I'm working with (14 Bottom Separate meshes x 4 sizes, just for the bottoms).

If anyone has any suggestions I'd love to hear them... I also played around with the built-in SimPE mesh importer, but I can't get it to work at all, the whole mesh is displaced slightly and there's no morph support, and I can't find any tuturials at all... so I'm still using Mesh Tool for this part, since I need the bump maps.

Here's a couple shots, one of the 32" shorts, the other is 38" Capri pants. As you can see, it's minor, but it's really bugging me...
Screenshots
Scholar
#21 Old 23rd Apr 2006 at 6:20 AM Last edited by Dr Pixel : 23rd Apr 2006 at 6:29 AM.
Although I didn't show it in my example above, the Extended Manual Edit tool does in fact allow you to copy and paste the "normals" and the uv_co-ordinates info from one mesh group to another just as I did with the x, y, and z.

It helped a lot with my tops and bottoms, although they are still not perfect.

I used it on the vertices around the joining area only, maybe it would be better to also do the next "ring" of vertices above (or below) the jpoining area too.

Also check that your material definitions are an exact match with one from a Maxis top/bottom

========================

DOH! I forgot, it's been so long since I use the MeshTool...

When you import your mesh back into the GMDC from the .obj file, you could just un-check the "import Normals" box, and it will keep the original normals of the mesh, which will save all that editing....
Instructor
#22 Old 23rd Apr 2006 at 6:57 AM Last edited by Warlokk : 23rd Apr 2006 at 7:02 AM.
Wow... I can't believe I never knew that feature was there... I just bypassed all the normal-fixing I was doing in Milkshape to a mesh I magnet-ized in Poser to get my sizes, and pulled the .obj exported from Poser right in to Mesh Tool... and it's perfect. One stupid checkbox, and I just cut my production time to 1/3...
Of course I have to re-do the ones I've done so far, but now that'll take just a few minutes each... thank you Doc!

Be sure to stop by Warlokk's Tower Workshop to see my latest creations!
Need help with the Bodyshape Sets? Bodyshape How-To Tutorial updated 11-18-06
Test Subject
#23 Old 25th Apr 2006 at 10:21 AM
Quote: Originally posted by Dr Pixel
Thanks for this great set of tools!

Here is what I did, for those wanting a tutorial -......


Thank you!
Test Subject
#24 Old 4th May 2006 at 2:35 PM
This is just great! Some Maxis necklines are so stupid, and now it's so easy to fix them. ^^

Never, under any circumstance, not even once in a while, is it appropriate to wear socks with your sandals.
Field Researcher
#25 Old 5th May 2006 at 9:30 PM
Thank you, Demon, for the tools! And Dr Pixel for the visual tutorials! I just happen to use both plugins and they are a great help :D
Page 1 of 4
Back to top