PDA

View Full Version : How do I smooth a mesh?


JNAS2006
14th Jan 2011, 07:21 AM
I have converted a pair of adult shoes to childrens, everything worked great, EXCEPT you can see every face on the shoe when viewing it in CTU, it's not smooth like the adult shoe. How do I fix this?

Deluxe Designs
14th Jan 2011, 04:34 PM
You should test it in game first to see if you have the same issue.
If that doesn't work then it might be that you haven't used a multiplier

MarkJS
14th Jan 2011, 05:14 PM
A screenshot would be useful as well.
Keep in mind that smoothing will increase the edges by x iterations, meaning more work for the game engine and gpu.
You should first of all test in the game, as the person above said.
Don't take for granted what third-part programs show you, as sometimes rarely the game's own engine render differently than they.

BloomsBase
14th Jan 2011, 05:21 PM
You can use Demon's alligne normals to smooth the shoes but the seam with the calve has specific settings.
you can use Wes H his merge tools(GEOM plugin) to fix the normals on the seams.(you import a child bottom or shoe mesh and copy the normals over to your custom shoemesh(and your fatmorph)

JNAS2006
14th Jan 2011, 06:17 PM
I tried to view them in game, but they kept crashing it :/ I am by NO means a mesher though so I have no clue where I went wrong. I just really want these boots for my sim kids.

These are CTU shots, the smooth boot is the original adult and the other is the child boot I was trying to convert.

http://i160.photobucket.com/albums/t165/NikkiAshley_06/Simsboots.jpg

BloomsBase
15th Jan 2011, 01:37 AM
I am afraid this is more difficult then you first thought.

The faces showing is due the fact you have autosmooth on in Milkshape.(turn it off in the groups tab.)
You might pull this off without the morphs since this is a child and a big boot mesh.

Start from scratch!!

*extract the adult mesh from CTU
*extract the adult boot normalmap in the meshtab(if there is one)
*extract a child shoemesh(if the adult had a normalmap take a childshoe that has a normalmap!)

Milkshape:
*Import the child shoemesh(turn off autosmooth first)
*import the adult shoemesh
*scale down the adult mesh to child size
*fix the seams altho this might not be necesarry with a boot.
*duplicate the meshcomments from the child mesh and past these in the adult scaled mesh comments.
*change the(i think) FLVitems from 7 into 6(its one of the first 3 lines, just change the 7 into a 6
*delete the child shoemesh
*export the mesh.
You need to repeat all the above steps for the lod2 and also the lod3 so you have a total of 3 meshes.

In CTU:
*Clone the same child shoe you used earlier to get the child mesh from(if the adult has a normalmap then you need the child shoe with a normalmap!)
*Edit a new design in the texturetab
*attache the 3 custom meshes to the package(lod1/2 and 3 boxes)
*Add the normalmap if there is one
*Change the meshname in the meshtab, click commit when done.
*Open a 2nd version of CTU and go to the adult boot
*add a new desigh in the texturetab
*copy and past the base/specular/mask and overlay texture links from the adult to the child.(link back to the original basegame textures instead of including them!!) You click a texture link and choose edit/right click to copy.
Do not relink the skintone textures!


This is by far the easiest way without the use of the fatmorph
Good luck ;)

JNAS2006
16th Jan 2011, 03:08 AM
I redid the entire project, got everything packaged up and tried it in the game. Once again the game crashed as soon as I clicked on the shoes :( I don't understand where I'm messing up

BloomsBase
17th Jan 2011, 08:11 AM
If the game crashes with outfits/shoes or accesoires in CAS its 99% due a corrupt or missing skeleton.
Did you follow my steps?

Is your package based on a child shoe?
Did you import a child shoe first in Milkshape before importing the adult shoe?
Did you fix the comments?

JNAS2006
17th Jan 2011, 05:18 PM
If the game crashes with outfits/shoes or accesoires in CAS its 99% due a corrupt or missing skeleton.
Did you follow my steps?

Is your package based on a child shoe?
Did you import a child shoe first in Milkshape before importing the adult shoe?
Did you fix the comments?

I imported the childrens tennis shoe first, then the boot. I did change the comments, but I changed one back because it held the boot textures while the other kept showing the childs texture on the boot in CTU. Other than that the only thing I did that you didn't mention is to clone the boot again and delete the left boot from one and the right boot from the other so I could line them up with the childrens shoe, then I regroupd the 2 boots into one mesh again.

BloomsBase
17th Jan 2011, 06:47 PM
Dont duplicate the boot and mirror it, you mess up the boneassignements and the duplicate will cause display problems in CAS.

Tick the option ''scale from origine'' before you scale the boots to child size, much easier.(think the value is arround 0.64 or 0.67)
hit control z when they dont match, play with the values till your satisfied.

Dont change texture links in the commentbox(only if you want to link the normalmap to the basegame file wich is TGI reference 01)
The other textures are not used but will be overruled by the ones you add or link in CTU.

You prolly forgot a few steps so i updated my previous post with All the steps needed.
Plz, follow that order.


Note,
You can NOT update a existing package with new meshes, you need to start from scratch!!(this also crashes your game)

JNAS2006
18th Jan 2011, 05:56 AM
does the original child mesh have to pair up with the boot? I used the bare foot mesh so I could fit it inside the boot. I get everything to the point where it looks perfect, then check the back and find that the ankle is sticking out slightly. If I move the boot back to fix that the toe sticks out *sigh*

BloomsBase
18th Jan 2011, 10:46 PM
Thats not a problem, if it comes a bit close then its ok.
Its not like the barefoot will be there if the child wears the boot.