Documentation
Русский
  • Gem RTS v1 Documentation
  • Foundational Knowledge
    • Game local files and Player Profile locations
    • Game resource architecture
      • Packages
      • Package file structure
    • Basic knowledge about configuration files
      • Include instruction
      • Define instruction
      • Mod instruction
  • Mod Development
    • Creating mod
    • Advanced package configuration
    • Creating Settings templates
  • Editor
    • Camera control in the Editor
    • Useful Editor shortcuts and Console commands
    • Map Editor
      • Creating a new map
      • Scene Editor
      • Entity Editor
      • Landscape Editor
        • Heights Editor
        • Polygons Editor
        • Terrains Editor
        • Color Editor
        • Flags Editor
        • Material Editor
        • Grass Editor
        • Foliage Editor
      • Water Editor
      • Specifics of Map Editing
        • Creating destroyed vehicle entities for map entourage
        • Creating terrain folds
          • Creating Ground Surface relief
          • Rock and cliff entities
        • Stone entities
        • Entity for water sound effects
        • Building entities
      • Creating a minimap
    • Mission Editor
      • Mission Properties Editor
    • FX Editor
    • Environment Editor
      • Basic knowledge about HDR
      • Creating environment preset
      • Setting Environment preset parameters
    • Debug Tools
      • Console
      • Debug Processes Window
      • Render Layer List Window
    • Simulation Mode
  • Textures and Materials
    • Physically Based Rendering
      • Texture compression formats in GEM RTS
      • PBR parameters
      • Texture Conversion in Gem RTS
      • Texture conversion to PBR materials using Nvidia Texture Exporter
  • Modeling
    • 3ds Max Plugin
    • Vehicle Model Setup Pipeline
      • Bone hierarchy in vehicle models
        • Body
        • Turret
        • Engine
        • Gun
        • Secondary bones
        • Transmission
          • Сhassis mechanisms
  • Localization
    • Variable strings in localization
    • Adding a new localization language
  • Game settings
    • Movement on slopes
    • Configuration of movement types for human units
    • Configuring entity interaction with wind
    • Sensor
    • User control sound
Powered by GitBook
On this page
  • Interface elements description
  • Brush functionality
  • Polygons brush operation
  • Setting brush parameters
  • Editing Polygons
  • Fixing the width of the polygon strip
  • Usage example
  1. Editor
  2. Map Editor
  3. Landscape Editor

Polygons Editor

Last updated 11 months ago

The Polygon Editor is part of the Land Editor group. It provides a simple tool for modifying the polygonal mesh of the terrain surface.

Interface elements description

Element
Description

Brush

The main tool for creating and editing polygons on the terrain surface

Level

Determines the fineness of the polygonal mesh. Select a value from 0 to 5 in the dropdown menu

Level Up

Doubles the base size of the terrain surface polygon with each click

Wireframe Checkbox

Enables the display of the polygonal mesh, making it easier to control the polygon editing process

Use the Level Up function only when absolutely necessary, as it changes the base size of the polygon. Each click doubles the base size of the polygon. This operation is irreversible.

Brush functionality

  • Adding/removing polygons

  • Splitting/merging the polygonal mesh

Splitting polygons increases their number, which affects game performance.

When splitting polygons, ensure the mesh remains intact. Avoid splitting where a polygon vertex lands on the edge of a neighboring polygon, as this can cause holes in the mesh when editing vertex heights.

Polygons brush operation

Setting brush parameters

  • Brush size is adjusted using Numpad Plus (+) and Numpad Minus (-) keys.

  • Set the polygon fineness using the Level parameter.

Editing Polygons

  • Adding polygons and adjusting polygonal mesh fineness - move the mouse while holding the left mouse button (LMB).

  • Removing polygons - move the mouse while holding the right mouse button (RMB).

Fixing the width of the polygon strip

The editor allows you to fix the width of the growing or deleting polygon strip to the brush diameter by adding key combinations

  • Shift+X: fixes the strip width relative to the X-axis

  • Shift+Y: fixes the strip width relative to the Y-axis

Algorithm for growing/deleting a polygon strip of fixed width

  1. Adjust the brush size based on the width of the polygon strip to be deleted or grown

  2. Hold down LMB/RMB to grow/delete

  3. Without releasing the mouse button, consecutively hold down the Shift and X/Y keys to fix the polygon strip width

  4. Move the mouse to draw the desired length of the strip

Usage example

The image illustrates how the editor can be utilized to modify the terrain surface by adjusting the mesh splitting level to achieve optimal results.

It is recommended to use polygon splitting for detailing the terrain and creating transitions between materials.

Example of drawing a polygon strip of fixed width