Starting to Model for TDM: Difference between revisions
Springheel (talk | contribs) |
Springheel (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
Most modelers on the team use Lightwave or Blender. Anything that can save in either .lwo (prefered) or .ase format is acceptable, however. | Most modelers on the team use Lightwave or Blender. Anything that can save in either .lwo (prefered) or .ase format is acceptable, however. | ||
== Making the Model == | == Making the Model == | ||
You will need to make, for each individual object: | You will need to make, for each individual object: | ||
* a highpoly model. | * a highpoly model. There's no poly limit to this--make it as detailed as possible. | ||
* a lowpoly version of the same size and basic shape (see dimensions below) | * a lowpoly version of the same size and basic shape (see dimensions below). | ||
The detailed version is used, by Doom 3 or another tool such as ORB to generate a normalmap with all the | The detailed version is used, by Doom 3, or another tool such as ORB, to generate a normalmap with all the details on it. This normalmap is then used with the lowpoly model to fake higher detail. See [[Renderbump]] for more information on using D3 to generate normalmaps. | ||
Your model needs to be tripled before being used in game, or D3 will spit out tons of warning messages. | Your model needs to be tripled before being used in game, or D3 will spit out tons of warning messages. | ||
Line 16: | Line 15: | ||
== Model and Texture Dimensions == | == Model and Texture Dimensions == | ||
Aim for approximately 5000 polys for significant AI, and less than 1000 for most common objects. Generally, objects that might only be used once in a scene (like a well) can have higher polys | Aim for approximately 5000 polys for significant AI, and less than 1000 for most common objects. Generally, objects that might only be used once in a scene (like a well) can have higher polys, but objects that might appear many times (like lights or chairs) should have less than 500. Round objects (vases, plates, etc) should have a minimum of 8-10 sides (depending on the size of the object) to appear fairly smooth. Less important parts of an object (like the legs of a stool) can have fewer sides to keep polys down. | ||
Texture sizes go in powers of two: 2, 16, 32, 64, 128, 256, 512, 1024, 2048, much like monitor resolutions. D3 will automatically rescale textures that are not in powers of two, which could stretch your texture and waste processing time. | Texture sizes go in powers of two: 2, 16, 32, 64, 128, 256, 512, 1024, 2048, much like monitor resolutions. D3 will automatically rescale textures that are not in powers of two, which could stretch your texture and waste processing time. | ||
== Naming Conventions == | == Naming Conventions == | ||
Line 29: | Line 27: | ||
Models should be saved in the models/darkmod tree. See [[Model Folder Structure]] for specific information about where to put things. | Models should be saved in the models/darkmod tree. See [[Model Folder Structure]] for specific information about where to put things. | ||
== Grid Alignment and Origin == | |||
Please make sure your models are grid-aligned (the bottom of the object rests on a grid line in your modelling software). If they don't, it can be difficult to get the model to sit on the floor or other surfaces in the editor. | |||
Re: Origins. D3 uses the origin of the model to determine physics for movement--moveable objects will rotate around the origin when they are bouncing around. Any model that will likely be made into a moveable object (basically any unattached object smaller than a chair) should have its origin where its center of gravity would be. | |||
Large objects that are not likely to be moveables, like desks or wardrobes, and have their origin at the bottom of the object, for easy placement on the floor. | |||
Objects that might be designed to swing or rotate (like a hanging sign) should have their origin at the point of rotation. |
Revision as of 16:08, 8 July 2007
Modeling Software
Most modelers on the team use Lightwave or Blender. Anything that can save in either .lwo (prefered) or .ase format is acceptable, however.
Making the Model
You will need to make, for each individual object:
- a highpoly model. There's no poly limit to this--make it as detailed as possible.
- a lowpoly version of the same size and basic shape (see dimensions below).
The detailed version is used, by Doom 3, or another tool such as ORB, to generate a normalmap with all the details on it. This normalmap is then used with the lowpoly model to fake higher detail. See Renderbump for more information on using D3 to generate normalmaps.
Your model needs to be tripled before being used in game, or D3 will spit out tons of warning messages.
Model and Texture Dimensions
Aim for approximately 5000 polys for significant AI, and less than 1000 for most common objects. Generally, objects that might only be used once in a scene (like a well) can have higher polys, but objects that might appear many times (like lights or chairs) should have less than 500. Round objects (vases, plates, etc) should have a minimum of 8-10 sides (depending on the size of the object) to appear fairly smooth. Less important parts of an object (like the legs of a stool) can have fewer sides to keep polys down.
Texture sizes go in powers of two: 2, 16, 32, 64, 128, 256, 512, 1024, 2048, much like monitor resolutions. D3 will automatically rescale textures that are not in powers of two, which could stretch your texture and waste processing time.
Naming Conventions
Please give your models a distinctive name: instead of "kstatue1.lwo", call it "statue_knight_kneeling.lwo". The first word should inform the mapper what the object is, and then descriptive words can be used afterwards (not "small_statue" and "big_statue", but "statue_small" and "statue_big"). That will keep similar objects grouped together in the model list.
Where to Save your Model and Textures
Models should be saved in the models/darkmod tree. See Model Folder Structure for specific information about where to put things.
Grid Alignment and Origin
Please make sure your models are grid-aligned (the bottom of the object rests on a grid line in your modelling software). If they don't, it can be difficult to get the model to sit on the floor or other surfaces in the editor.
Re: Origins. D3 uses the origin of the model to determine physics for movement--moveable objects will rotate around the origin when they are bouncing around. Any model that will likely be made into a moveable object (basically any unattached object smaller than a chair) should have its origin where its center of gravity would be.
Large objects that are not likely to be moveables, like desks or wardrobes, and have their origin at the bottom of the object, for easy placement on the floor.
Objects that might be designed to swing or rotate (like a hanging sign) should have their origin at the point of rotation.