Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
MapMagic World Generator
MapMagic World Generator
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Denis Pahunov
  • MapMagic World GeneratorMapMagic World Generator
  • Wiki
    • Objectsgenerators
  • Adjust

Last edited by Denis Pahunov Apr 12, 2020
Page history

Adjust

Scatters objects in the terrain area, randomly creating new object positions. Usually it's the first generator that starts the objects nodes chain.

Unlike Random generator, it virtually places objects in an ordered grid, and then offsets their positions at random. It is much faster than the Random node and mostly suits the most cases. However Random still might be needed for some "true random" scattering.

Properties:

  • Seed: a number used to initialize pseudo-random noise generator. If two generators use equal seed numbers the resulting pattern will be the same.

  • Height: moves object along Y (vertical) axis. The value is in world units. Height Height: -10, 0, 10, 20

  • Rotation: object rotation along Y (vertical) axis, in degrees
    Rotation Rotation: 0, 10, 45, 360

  • Scale: changes the size of objects (3 axes uniformly) Scale Scale: 0.5, 1, 2, 4

  • Random Range: switches generator interface to range mode - instead of using the same value for all the objects, the value is selected for each at random, using the defined range minimum and maximum.

With range mode enabled the node adjustments will look like:

HeightRange Height Range: 0 — 0, -10 — 10, -10 — 20, 0 — 30

RotationRange Rotation Range: 0 — 0, 0 —10, 0 — 45, 0 — 360

ScaleRange Scale Range: 0.5 — 1, 1 — 2, 0.5 — 2, 0.5 — 4

  • Seed (when Random Range enabled): since random generator is used to select the range, seed value is exposed to initialize it. Different seed value will make the same objects take different range values. If two Adjust generators use equal seed numbers, ranges and inputs the resulting adjustment will be the same.

  • Size Factor: multiplies the changes applied by this generator depending on the initial object size (from previous adjustments). For example, if the object’s size is 2 then all of the adjustment values will be doubled if the factor is equal to 1. This is useful for proportional object changes: if the object should be lowered to half of it’s height, for instance. When the value is 0 all of the objects are adjusted the same regardless of their size.

    In other words: the bigger the object's size - the bigger the adjustment.

    SizeFactorGraph

    SizeFactor Size Factor: 0 (all objects are raised the same), 0.5, 1, 2, 10 (the bigger the object - the higher it is)

  • Relativity: when the “Relative” type is selected all of the adjustment changes are applied to the existing object’s height, rotation and size. The “Absolute” type resets the old values and then places (and scales) the object as if it was placed on zero level, having no rotation and having a scale of 1.

    Relativity1 Original graph with different object sizes

    Relativity2 Relative mode: each object size is multiplied twice

    Relativity3 Absolute mode: each object size is set to 2, no matter of it's previous size

Clone repository
  • Batch
    • Biomes
    • Combined
    • Objects
    • Splines
    • temp
    • temp1
  • BiomesGenerators
    • BiomesSet
    • Description
    • Function
    • Whittaker
  • Brush
    • Resolution
  • Combine
    • Combined
    • temp
    • temp1
  • MM1
    • Creating a custom generator
View All Pages