RenderbumpFlat (console command)

Description

This command renders a normal map from a high polygon model. The resulting normal map is intended for use on map geometry (walls, ceilings, floors, ect…).

Usage

At the console type…

renderbumpFlat [-size width height] [model]

Parameters

  • [width] - The width of the output image.
  • [height] - The height of the output image.
  • [model] - The model used to render the normal map.

Notes

If the image size is not specified, the default of 256 x 256 is used.

If the target resolution is larger than your current resolution, you will need to adjust the r_mode CVar and issue a vid_restart command to accommodate a larger image. Since this command renders in windowed mode it’s important that the desktop resolution provides enough screen real estate to display the entire window.

Models must be oriented towards a specific axis in order to be captured during the render process. Details are as follows…

  • .LWO - Negative Z Axis
  • .ASE - ???

A color map is also exported. The colors are determined by the base color of each polygon. For clarification, base color does not refer to vertex colors, procedural textures or texture maps but rather the color of a polygon when no texture is applied.