Modeling the mesh in Blender

From KSP 2 Modding Wiki
Revision as of 23:28, 23 February 2024 by Safarte (talk | contribs) (Cleanup)

This page does not aim at teaching you the basics of 3D modelling in Blender, you can find plenty of resources on the internet to help you in this area. This page aims at providing you a few guidelines to help you in your part making journey. Those are not hard rules, just little tips that might help you have an easier time with KSP2 modding.

UV Unwrapping

UV unwrapping is the process of mapping parts of your 3D mesh to a flat "UV map" which will tell what part of the model a pixel on a texture corresponds to. As with modelling, there are a lot of resources online about UV unwrapping in Blender but here are a few steps you can follow to quickly unwrap a part's model:

  1. Mark "hard" edges as Seams, this means that the automatic UV unwrapping algorithms will treat those edges as "borders" for islands of faces in the UV map.
    1. Press Tab to enter Edit Mode.
    2. Click Select > Select Sharp Edges (the angle should be 30°).
    3. Press Ctrl+E > Mark Seams.
    4. Manually remove excess seams: try to have only one seam for each series of continuous faces: Ctrl+E > Clear Seams.
  2. Press A to select the entire mesh.
  3. Click UV (on the right menu) > Smart UV project, with a margin of 0.003.
  4. Click UV (on the left menu) > Pack islands, with a margin of 0.003.

The main thing to keep in mind when UV unwrapping is that you want to avoid faces overlapping in the UV map and you want the map to be as dense as possible to make full use of your textures' resolution.

Material

We recommend assigning the same single material to all objects in your mesh and giving this material a relevant name. This will make things cleaner when importing the mesh in a texturing software such as Substance Painter.

Transformations & Modifiers

Make sure to apply all transformations to your mesh by selecting it and pressing Ctrl+A > All Transforms.

Also make sure to apply all Boolean modifiers, you can leave Array and Mirror modifiers not applied (this means however that the mirrored/arrayed objects will share the same texture).

Miscellaneous

If you’re making an engine, put an empty single arrow at the world origin facing in the direction your engine will fire, then move it along the axis of the engine so that it’s at the exit of the engine. Name this object thrustTransform, and keep in mind that size does not matter.

Useful links