Difference between revisions of "Tutorials:TS3 Meshing FAQ"

From SimsWiki
Jump to: navigation, search
(Textures)
(Textures)
Line 28: Line 28:
 
<br clear="all" \>
 
<br clear="all" \>
 
==Textures==
 
==Textures==
For more information on the dds files in your package please see the [[Sims_3:0x00B2D882]] for a more detailed explanation of what job they perform.
+
For more information on the dds files in your package please see the [[Sims_3:0x00B2D882|Packed File Types]] for a more detailed explanation of what job they perform.
  
 
===Why is my mesh so shiny?===
 
===Why is my mesh so shiny?===

Revision as of 13:56, 8 May 2010

Tutorials by Category

CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference 

Contents

General

Information Overload! Where do I start?

It is always best to start small with a project, just to get an idea of the process of creating. Most tutorials start with a simple table. Why? Because it consists of boxes. Easiest to make and easiest to map. Start with the most comprehensive tutorial, it covers everything from getting your tools setup, to meshing, uvmapping, and texturing ins/outs.

Which Tools do I need?


Meshes

Why is my mesh invisible?

Invisibleobject.JPG
If your mesh appears to have taken odd shadings, or all you can see is the ground shadow, then you have mixed up the group order of your objects in Milkshape. In ts3 the order of the groups is very important for the game to know which texture properties to apply to it. You will need to make note of the order of the groups and which mesh is in what group when you first import your mesh.

Quick fix: In Milkshape use the Up/Down buttons in the group tab to move the groups to the proper order.


Why did my object disappear when a sim used it?

DisappearingBed.jpg
Each object in TS3 has at least one joint that it is assigned to, but some have more than one. Objects that animate when a sim interacts with them will have the object disappear if the joint is not assigned or reassigned improperly.

To fix this you will need to know what joint the original mesh was assigned to. If you did not make note of it then you may need to reimport the original mesh into Milkshape to find it.

Quick fix: Select the mesh part to assign to a joint, Select the joints tab, scroll to find the joint, then click assign.


Textures

For more information on the dds files in your package please see the Packed File Types for a more detailed explanation of what job they perform.

Why is my mesh so shiny?

TextureShiny.jpg
Does your mesh take on a very milky shiny look in game? This is because the alpha layer of your specular is white instead of black. Change it to all black and it will lose the milky shine.
  • Specular - black alpha
  • Multiplier - black alpha
  • Mask - white alpha


Why does one part of the texture fade?

TextureFade.jpg
Wondering why the image is faded on one part of your mesh and not another when they share the same channel? One channel is faded? Well take a look at your mask, you have RGB values that are not pure. Make sure each one is 255 for each respective color, if they are slightly off or even largely off, your texture will have a faded look to it. R(255,0,0) G(0,255,0) B(0,0,255)

This could be useful too! So don't forget it.

My texture is Distorted

TextureTiling.JPG
The tiling needs to be adjusted. In TS3 you can't simply take your original 256x256 image and change it to 512x512 without adjusting some other values too, otherwise the game will not render the new image properly. If you want to change the image size of your object

Quick fix: In the package select OBJD/Materials/MaterialBlock/TypeCodes. Here is listed the preset pattern for A, B, C, and D(if applicable). Change the values to correspond to the tiling you want using the handy Sims_3:Catalog_Resource/StringTable to find the right ones. ie: ControlCode 0x3c is Pattern A, Unknown 1 is X tiling and Unknown 2 is Y tiling.


My texture is Blurry

TextureBlurry.jpg
You have created a larger image than the original clone had so you need to edit some values in your mesh before recompiling. You will need to edit the .mtlsrc of the blocks that are responsible for your texture. To find them use ObjTool and select Model Info. The blocks for your material will be the group with the most vertices, and underneath it will show you which blocks. Edit those blocks in a text editor, finding the two lines that list MaskWidth and MaskHeight. Change these to whatever your new image size is.


Mask Width/Height Values:

  • 00000080 is 128
  • 00000100 is 256
  • 00000200 is 512
  • 00000400 is 1024

TextureWidth.jpg

Shadows

My shadow doesn't match my object

Shadowsa.jpg
Uvmapblob.jpg
If the shadow on your new object doesn't quite match with your mesh, you will need to remap the shadow mesh. All meshes are mapped to a standard image blob. This is one texture with multiple shapes and variances of shading to give a darker or lighter ground shadow or wall shadow.

This is no longer a default texture pulled in the cloner, so if you need it you will need to untick the defaults only box when cloning. You can also save this image to reuse later, since it doesn't need to be included in your package you just need it to remap your shadow mesh to.


My outdoor shadow is from another object

Outdoorshadow.jpg
You didn't change the sunshadow mesh! An object has four meshes, one for high detail and one for low detail plus a sunshadow to match each respectively. When you edit the mesh you need to create a new low poly version to use as your sunshadow so that if used outdoors it will cast the proper shadow.
  • MLOD 00000001 High detail mesh
  • MLOD 10000001 High detail sunshadow
  • MODL 00000001 Low detail mesh
  • MLOD 10000001 Low detail sunshadow


If all else fails

But I know I did all of the above right!? If you really did fix any issues you may have had above and the same problem persists, did you remember to empty your caches?


If that still doesn't fix then you can post a help question in Meshing

Tutorials by Category

CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox